From a4996e1c7ee83d64262630e54e0c3280a8610969 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 18 Apr 2023 08:09:20 +0000 Subject: [PATCH 1/2] docs: Update comments in Connectivity Test protos PiperOrigin-RevId: 525049130 Source-Link: https://github.com/googleapis/googleapis/commit/7b605f61dd9e3d0a4249edcafb9caddecb68a114 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d1c83de290cbbd36e9ce390948c5bda4a1f7cdce Copy-Tag: eyJwIjoiamF2YS1uZXR3b3JrLW1hbmFnZW1lbnQvLk93bEJvdC55YW1sIiwiaCI6ImQxYzgzZGUyOTBjYmJkMzZlOWNlMzkwOTQ4YzViZGE0YTFmN2NkY2UifQ== --- .../v1/ReachabilityServiceProto.java | 256 -- .../networkmanagement/v1/TestOuterClass.java | 179 -- .../networkmanagement/v1/TraceProto.java | 519 ---- .../v1beta1/LatencyDistributionOrBuilder.java | 89 - .../v1beta1/ReachabilityServiceProto.java | 257 -- .../v1beta1/TestOuterClass.java | 287 -- .../networkmanagement/v1beta1/TraceProto.java | 568 ---- .../v1/ReachabilityServiceClient.java | 0 .../v1/ReachabilityServiceSettings.java | 1 + .../networkmanagement/v1/gapic_metadata.json | 0 .../networkmanagement/v1/package-info.java | 0 ...rpcReachabilityServiceCallableFactory.java | 0 .../v1/stub/GrpcReachabilityServiceStub.java | 1 + ...sonReachabilityServiceCallableFactory.java | 0 .../stub/HttpJsonReachabilityServiceStub.java | 1 + .../v1/stub/ReachabilityServiceStub.java | 0 .../stub/ReachabilityServiceStubSettings.java | 0 .../v1/MockReachabilityService.java | 0 .../v1/MockReachabilityServiceImpl.java | 0 ...ReachabilityServiceClientHttpJsonTest.java | 0 .../v1/ReachabilityServiceClientTest.java | 0 .../v1/ReachabilityServiceGrpc.java | 734 ++--- .../cloud/networkmanagement/v1/AbortInfo.java | 653 ++--- .../v1/AbortInfoOrBuilder.java | 51 +- .../v1/CloudSQLInstanceInfo.java | 690 ++--- .../v1/CloudSQLInstanceInfoOrBuilder.java | 72 +- .../v1/ConnectivityTest.java | 1616 ++++------- .../v1/ConnectivityTestOrBuilder.java | 199 +- .../v1/CreateConnectivityTestRequest.java | 578 ++-- ...reateConnectivityTestRequestOrBuilder.java | 56 +- .../v1/DeleteConnectivityTestRequest.java | 363 +-- ...eleteConnectivityTestRequestOrBuilder.java | 27 +- .../networkmanagement/v1/DeliverInfo.java | 480 ++- .../v1/DeliverInfoOrBuilder.java | 33 +- .../cloud/networkmanagement/v1/DropInfo.java | 581 ++-- .../v1/DropInfoOrBuilder.java | 33 +- .../cloud/networkmanagement/v1/Endpoint.java | 882 +++--- .../networkmanagement/v1/EndpointInfo.java | 681 ++--- .../v1/EndpointInfoOrBuilder.java | 69 +- .../v1/EndpointOrBuilder.java | 89 +- .../networkmanagement/v1/FirewallInfo.java | 1106 +++---- .../v1/FirewallInfoOrBuilder.java | 123 +- .../networkmanagement/v1/ForwardInfo.java | 487 ++-- .../v1/ForwardInfoOrBuilder.java | 33 +- .../v1/ForwardingRuleInfo.java | 762 ++--- .../v1/ForwardingRuleInfoOrBuilder.java | 81 +- .../networkmanagement/v1/GKEMasterInfo.java | 543 ++-- .../v1/GKEMasterInfoOrBuilder.java | 54 +- .../v1/GetConnectivityTestRequest.java | 351 +-- .../GetConnectivityTestRequestOrBuilder.java | 27 +- .../networkmanagement/v1/InstanceInfo.java | 904 +++--- .../v1/InstanceInfoOrBuilder.java | 111 +- .../v1/ListConnectivityTestsRequest.java | 614 ++-- ...ListConnectivityTestsRequestOrBuilder.java | 57 +- .../v1/ListConnectivityTestsResponse.java | 616 ++-- ...istConnectivityTestsResponseOrBuilder.java | 63 +- .../v1/LoadBalancerBackend.java | 772 ++--- .../v1/LoadBalancerBackendOrBuilder.java | 89 +- .../v1/LoadBalancerInfo.java | 912 ++---- .../v1/LoadBalancerInfoOrBuilder.java | 71 +- .../networkmanagement/v1/NetworkInfo.java | 469 ++- .../v1/NetworkInfoOrBuilder.java | 45 +- .../v1/OperationMetadata.java | 754 ++--- .../v1/OperationMetadataOrBuilder.java | 73 +- .../v1/ReachabilityDetails.java | 735 ++--- .../v1/ReachabilityDetailsOrBuilder.java | 58 +- .../v1/ReachabilityServiceProto.java | 228 ++ .../v1/RerunConnectivityTestRequest.java | 363 +-- ...RerunConnectivityTestRequestOrBuilder.java | 27 +- .../cloud/networkmanagement/v1/RouteInfo.java | 1100 +++---- .../v1/RouteInfoOrBuilder.java | 96 +- .../cloud/networkmanagement/v1/Step.java | 2210 +++++--------- .../networkmanagement/v1/StepOrBuilder.java | 168 +- .../networkmanagement/v1/TestOuterClass.java | 142 + .../cloud/networkmanagement/v1/Trace.java | 500 ++-- .../networkmanagement/v1/TraceOrBuilder.java | 44 +- .../networkmanagement/v1/TraceProto.java | 422 +++ .../v1/UpdateConnectivityTestRequest.java | 562 ++-- ...pdateConnectivityTestRequestOrBuilder.java | 55 +- .../networkmanagement/v1/VpnGatewayInfo.java | 687 ++--- .../v1/VpnGatewayInfoOrBuilder.java | 72 +- .../networkmanagement/v1/VpnTunnelInfo.java | 975 +++---- .../v1/VpnTunnelInfoOrBuilder.java | 96 +- .../v1/connectivity_test.proto | 17 +- .../networkmanagement/v1/reachability.proto | 0 .../cloud/networkmanagement/v1/trace.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConnectivityTest.java | 0 .../AsyncCreateConnectivityTestLRO.java | 0 .../SyncCreateConnectivityTest.java | 0 ...ivityTestStringStringConnectivitytest.java | 0 .../AsyncDeleteConnectivityTest.java | 0 .../AsyncDeleteConnectivityTestLRO.java | 0 .../SyncDeleteConnectivityTest.java | 0 .../SyncDeleteConnectivityTestString.java | 0 .../AsyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTestString.java | 0 .../AsyncListConnectivityTests.java | 0 .../AsyncListConnectivityTestsPaged.java | 0 .../SyncListConnectivityTests.java | 0 .../SyncListConnectivityTestsString.java | 0 .../AsyncRerunConnectivityTest.java | 0 .../AsyncRerunConnectivityTestLRO.java | 0 .../SyncRerunConnectivityTest.java | 0 .../AsyncUpdateConnectivityTest.java | 0 .../AsyncUpdateConnectivityTestLRO.java | 0 .../SyncUpdateConnectivityTest.java | 0 ...ectivityTestFieldmaskConnectivitytest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../v1beta1/ReachabilityServiceClient.java | 0 .../v1beta1/ReachabilityServiceSettings.java | 1 + .../v1beta1/gapic_metadata.json | 0 .../v1beta1/package-info.java | 0 ...rpcReachabilityServiceCallableFactory.java | 0 .../stub/GrpcReachabilityServiceStub.java | 1 + ...sonReachabilityServiceCallableFactory.java | 0 .../stub/HttpJsonReachabilityServiceStub.java | 1 + .../v1beta1/stub/ReachabilityServiceStub.java | 0 .../stub/ReachabilityServiceStubSettings.java | 0 .../v1beta1/MockReachabilityService.java | 0 .../v1beta1/MockReachabilityServiceImpl.java | 0 ...ReachabilityServiceClientHttpJsonTest.java | 0 .../ReachabilityServiceClientTest.java | 0 .../v1beta1/ReachabilityServiceGrpc.java | 738 ++--- .../networkmanagement/v1beta1/AbortInfo.java | 663 ++--- .../v1beta1/AbortInfoOrBuilder.java | 51 +- .../v1beta1/CloudFunctionInfo.java | 518 ++-- .../v1beta1/CloudFunctionInfoOrBuilder.java | 48 +- .../v1beta1/CloudSQLInstanceInfo.java | 713 ++--- .../CloudSQLInstanceInfoOrBuilder.java | 72 +- .../v1beta1/ConnectivityTest.java | 1777 ++++-------- .../v1beta1/ConnectivityTestOrBuilder.java | 219 +- .../CreateConnectivityTestRequest.java | 604 ++-- ...reateConnectivityTestRequestOrBuilder.java | 56 +- .../DeleteConnectivityTestRequest.java | 376 +-- ...eleteConnectivityTestRequestOrBuilder.java | 27 +- .../v1beta1/DeliverInfo.java | 504 ++-- .../v1beta1/DeliverInfoOrBuilder.java | 33 +- .../networkmanagement/v1beta1/DropInfo.java | 629 ++-- .../v1beta1/DropInfoOrBuilder.java | 33 +- .../networkmanagement/v1beta1/Endpoint.java | 1484 ++++------ .../v1beta1/EndpointInfo.java | 756 ++--- .../v1beta1/EndpointInfoOrBuilder.java | 78 +- .../v1beta1/EndpointOrBuilder.java | 112 +- .../v1beta1/FirewallInfo.java | 1119 +++---- .../v1beta1/FirewallInfoOrBuilder.java | 125 +- .../v1beta1/ForwardInfo.java | 490 ++-- .../v1beta1/ForwardInfoOrBuilder.java | 33 +- .../v1beta1/ForwardingRuleInfo.java | 772 ++--- .../v1beta1/ForwardingRuleInfoOrBuilder.java | 81 +- .../v1beta1/GKEMasterInfo.java | 546 ++-- .../v1beta1/GKEMasterInfoOrBuilder.java | 54 +- .../v1beta1/GetConnectivityTestRequest.java | 363 +-- .../GetConnectivityTestRequestOrBuilder.java | 27 +- .../v1beta1/InstanceInfo.java | 899 +++--- .../v1beta1/InstanceInfoOrBuilder.java | 103 +- .../v1beta1/LatencyDistribution.java | 562 ++-- .../v1beta1/LatencyDistributionOrBuilder.java | 53 + .../v1beta1/LatencyPercentile.java | 338 +-- .../v1beta1/LatencyPercentileOrBuilder.java | 24 +- .../v1beta1/ListConnectivityTestsRequest.java | 624 ++-- ...ListConnectivityTestsRequestOrBuilder.java | 57 +- .../ListConnectivityTestsResponse.java | 649 ++--- ...istConnectivityTestsResponseOrBuilder.java | 60 +- .../v1beta1/LoadBalancerBackend.java | 794 ++--- .../v1beta1/LoadBalancerBackendOrBuilder.java | 89 +- .../v1beta1/LoadBalancerInfo.java | 1001 +++---- .../v1beta1/LoadBalancerInfoOrBuilder.java | 80 +- .../v1beta1/NetworkInfo.java | 472 ++- .../v1beta1/NetworkInfoOrBuilder.java | 45 +- .../v1beta1/OperationMetadata.java | 764 ++--- .../v1beta1/OperationMetadataOrBuilder.java | 73 +- .../v1beta1/ProbingDetails.java | 1588 ++++------ .../v1beta1/ProbingDetailsOrBuilder.java | 103 +- .../v1beta1/ReachabilityDetails.java | 756 ++--- .../v1beta1/ReachabilityDetailsOrBuilder.java | 58 +- .../v1beta1/ReachabilityServiceProto.java | 229 ++ .../v1beta1/RerunConnectivityTestRequest.java | 373 +-- ...RerunConnectivityTestRequestOrBuilder.java | 27 +- .../networkmanagement/v1beta1/RouteInfo.java | 1117 +++---- .../v1beta1/RouteInfoOrBuilder.java | 96 +- .../cloud/networkmanagement/v1beta1/Step.java | 2566 +++++------------ .../v1beta1/StepOrBuilder.java | 196 +- .../v1beta1/TestOuterClass.java | 231 ++ .../networkmanagement/v1beta1/Trace.java | 520 ++-- .../v1beta1/TraceOrBuilder.java | 44 +- .../networkmanagement/v1beta1/TraceProto.java | 466 +++ .../UpdateConnectivityTestRequest.java | 588 ++-- ...pdateConnectivityTestRequestOrBuilder.java | 55 +- .../v1beta1/VpcConnectorInfo.java | 472 ++- .../v1beta1/VpcConnectorInfoOrBuilder.java | 45 +- .../v1beta1/VpnGatewayInfo.java | 690 ++--- .../v1beta1/VpnGatewayInfoOrBuilder.java | 72 +- .../v1beta1/VpnTunnelInfo.java | 1003 +++---- .../v1beta1/VpnTunnelInfoOrBuilder.java | 102 +- .../v1beta1/connectivity_test.proto | 8 +- .../v1beta1/reachability.proto | 0 .../networkmanagement/v1beta1/trace.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConnectivityTest.java | 0 .../AsyncCreateConnectivityTestLRO.java | 0 .../SyncCreateConnectivityTest.java | 0 .../AsyncDeleteConnectivityTest.java | 0 .../AsyncDeleteConnectivityTestLRO.java | 0 .../SyncDeleteConnectivityTest.java | 0 .../AsyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../AsyncListConnectivityTests.java | 0 .../AsyncListConnectivityTestsPaged.java | 0 .../SyncListConnectivityTests.java | 0 .../AsyncRerunConnectivityTest.java | 0 .../AsyncRerunConnectivityTestLRO.java | 0 .../SyncRerunConnectivityTest.java | 0 .../AsyncUpdateConnectivityTest.java | 0 .../AsyncUpdateConnectivityTestLRO.java | 0 .../SyncUpdateConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 224 files changed, 21083 insertions(+), 37832 deletions(-) delete mode 100644 java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java delete mode 100644 java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java delete mode 100644 java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java delete mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java delete mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java delete mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java delete mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java (99%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java (99%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceCallableFactory.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java (99%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityService.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityServiceImpl.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientHttpJsonTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java (55%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java (79%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java (65%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java (65%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java (63%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java (55%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java (61%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java (60%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java (79%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java (72%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java (78%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java (61%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java (63%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java (64%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java (55%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java (72%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java (78%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java (73%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java (72%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java (59%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java (72%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java (75%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java (75%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java (81%) create mode 100644 owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java (63%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java (55%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java (73%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java (76%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java (76%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java (90%) create mode 100644 owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Trace.java (77%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java (61%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java (57%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java (73%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto (95%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java (99%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java (99%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java (99%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java (54%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java (62%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java (78%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java (63%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java (65%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java (61%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java (56%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java (62%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java (61%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java (72%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java (76%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java (73%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java (76%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java (62%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java (63%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java (63%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java (56%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java (73%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java (60%) create mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java (66%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java (54%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java (78%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java (67%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java (60%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java (75%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java (69%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java (80%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java (61%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java (56%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java (73%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java (76%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java (74%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java (90%) create mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Trace.java (77%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java (59%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java (57%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java (68%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java (59%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java (70%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java (71%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java (72%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto (98%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {java-network-management => owl-bot-staging/java-network-management/v1beta1}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java deleted file mode 100644 index 807df54c5552..000000000000 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java +++ /dev/null @@ -1,256 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1/reachability.proto - -package com.google.cloud.networkmanagement.v1; - -public final class ReachabilityServiceProto { - private ReachabilityServiceProto() {} - - 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_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/networkmanagement/v1/reac" - + "hability.proto\022!google.cloud.networkmana" - + "gement.v1\032\034google/api/annotations.proto\032" - + "\027google/api/client.proto\032\037google/api/fie" - + "ld_behavior.proto\0329google/cloud/networkm" - + "anagement/v1/connectivity_test.proto\032#go" - + "ogle/longrunning/operations.proto\032 googl" - + "e/protobuf/field_mask.proto\032\037google/prot" - + "obuf/timestamp.proto\"|\n\034ListConnectivity" - + "TestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpag" - + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" - + "er\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\225\001\n\035ListConne" - + "ctivityTestsResponse\022F\n\tresources\030\001 \003(\0132" - + "3.google.cloud.networkmanagement.v1.Conn" - + "ectivityTest\022\027\n\017next_page_token\030\002 \001(\t\022\023\n" - + "\013unreachable\030\003 \003(\t\"/\n\032GetConnectivityTes" - + "tRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateCo" - + "nnectivityTestRequest\022\023\n\006parent\030\001 \001(\tB\003\340" - + "A\002\022\024\n\007test_id\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001" - + "(\01323.google.cloud.networkmanagement.v1.C" - + "onnectivityTestB\003\340A\002\"\241\001\n\035UpdateConnectiv" - + "ityTestRequest\0224\n\013update_mask\030\001 \001(\0132\032.go" - + "ogle.protobuf.FieldMaskB\003\340A\002\022J\n\010resource" - + "\030\002 \001(\01323.google.cloud.networkmanagement." - + "v1.ConnectivityTestB\003\340A\002\"2\n\035DeleteConnec" - + "tivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034" - + "RerunConnectivityTestRequest\022\021\n\004name\030\001 \001" - + "(\tB\003\340A\002\"\326\001\n\021OperationMetadata\022/\n\013create_" - + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022," - + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rst" - + "atus_detail\030\005 \001(\t\022\030\n\020cancel_requested\030\006 " - + "\001(\010\022\023\n\013api_version\030\007 \001(\t2\226\r\n\023Reachabilit" - + "yService\022\347\001\n\025ListConnectivityTests\022?.goo" - + "gle.cloud.networkmanagement.v1.ListConne" - + "ctivityTestsRequest\032@.google.cloud.netwo" - + "rkmanagement.v1.ListConnectivityTestsRes" - + "ponse\"K\202\323\344\223\002<\022:/v1/{parent=projects/*/lo" - + "cations/global}/connectivityTests\332A\006pare" - + "nt\022\324\001\n\023GetConnectivityTest\022=.google.clou" - + "d.networkmanagement.v1.GetConnectivityTe" - + "stRequest\0323.google.cloud.networkmanageme" - + "nt.v1.ConnectivityTest\"I\202\323\344\223\002<\022:/v1/{nam" - + "e=projects/*/locations/global/connectivi" - + "tyTests/*}\332A\004name\022\254\002\n\026CreateConnectivity" - + "Test\022@.google.cloud.networkmanagement.v1" - + ".CreateConnectivityTestRequest\032\035.google." - + "longrunning.Operation\"\260\001\202\323\344\223\002F\":/v1/{par" - + "ent=projects/*/locations/global}/connect" - + "ivityTests:\010resource\332A\027parent,test_id,re" - + "source\312AG\n2google.cloud.networkmanagemen" - + "t.v1.ConnectivityTest\022\021OperationMetadata" - + "\022\262\002\n\026UpdateConnectivityTest\022@.google.clo" - + "ud.networkmanagement.v1.UpdateConnectivi" - + "tyTestRequest\032\035.google.longrunning.Opera" - + "tion\"\266\001\202\323\344\223\002O2C/v1/{resource.name=projec" - + "ts/*/locations/global/connectivityTests/" - + "*}:\010resource\332A\024update_mask,resource\312AG\n2" - + "google.cloud.networkmanagement.v1.Connec" - + "tivityTest\022\021OperationMetadata\022\217\002\n\025RerunC" - + "onnectivityTest\022?.google.cloud.networkma" - + "nagement.v1.RerunConnectivityTestRequest" - + "\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002E" - + "\"@/v1/{name=projects/*/locations/global/" - + "connectivityTests/*}:rerun:\001*\312AG\n2google" - + ".cloud.networkmanagement.v1.Connectivity" - + "Test\022\021OperationMetadata\022\361\001\n\026DeleteConnec" - + "tivityTest\022@.google.cloud.networkmanagem" - + "ent.v1.DeleteConnectivityTestRequest\032\035.g" - + "oogle.longrunning.Operation\"v\202\323\344\223\002<*:/v1" - + "/{name=projects/*/locations/global/conne" - + "ctivityTests/*}\332A\004name\312A*\n\025google.protob" - + "uf.Empty\022\021OperationMetadata\032T\312A networkm" - + "anagement.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformB\207\002\n%co" - + "m.google.cloud.networkmanagement.v1B\030Rea" - + "chabilityServiceProtoP\001ZScloud.google.co" - + "m/go/networkmanagement/apiv1/networkmana" - + "gementpb;networkmanagementpb\252\002!Google.Cl" - + "oud.NetworkManagement.V1\312\002!Google\\Cloud\\" - + "NetworkManagement\\V1\352\002$Google::Cloud::Ne" - + "tworkManagement::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor, - new java.lang.String[] { - "Resources", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Parent", "TestId", "Resource", - }); - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Resource", - }); - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusDetail", - "CancelRequested", - "ApiVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java deleted file mode 100644 index fb586d38fe1e..000000000000 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1/connectivity_test.proto - -package com.google.cloud.networkmanagement.v1; - -public final class TestOuterClass { - private TestOuterClass() {} - - 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_networkmanagement_v1_ConnectivityTest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/networkmanagement/v1/conn" - + "ectivity_test.proto\022!google.cloud.networ" - + "kmanagement.v1\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032-goog" - + "le/cloud/networkmanagement/v1/trace.prot" - + "o\032\037google/protobuf/timestamp.proto\032\027goog" - + "le/rpc/status.proto\"\307\005\n\020ConnectivityTest" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t" - + "\022@\n\006source\030\003 \001(\0132+.google.cloud.networkm" - + "anagement.v1.EndpointB\003\340A\002\022E\n\013destinatio" - + "n\030\004 \001(\0132+.google.cloud.networkmanagement" - + ".v1.EndpointB\003\340A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020r" - + "elated_projects\030\006 \003(\t\022\031\n\014display_name\030\007 " - + "\001(\tB\003\340A\003\022O\n\006labels\030\010 \003(\0132?.google.cloud." - + "networkmanagement.v1.ConnectivityTest.La" - + "belsEntry\0224\n\013create_time\030\n \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\013" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022Y\n" - + "\024reachability_details\030\014 \001(\01326.google.clo" - + "ud.networkmanagement.v1.ReachabilityDeta" - + "ilsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement." - + "googleapis.com/ConnectivityTest\022 - * Representative latency percentiles. - * - * - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * - */ - java.util.List - getLatencyPercentilesList(); - /** - * - * - *
-   * Representative latency percentiles.
-   * 
- * - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * - */ - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index); - /** - * - * - *
-   * Representative latency percentiles.
-   * 
- * - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * - */ - int getLatencyPercentilesCount(); - /** - * - * - *
-   * Representative latency percentiles.
-   * 
- * - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * - */ - java.util.List - getLatencyPercentilesOrBuilderList(); - /** - * - * - *
-   * Representative latency percentiles.
-   * 
- * - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * - */ - com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder - getLatencyPercentilesOrBuilder(int index); -} diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java deleted file mode 100644 index 629716269bad..000000000000 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1beta1/reachability.proto - -package com.google.cloud.networkmanagement.v1beta1; - -public final class ReachabilityServiceProto { - private ReachabilityServiceProto() {} - - 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_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/networkmanagement/v1beta1" - + "/reachability.proto\022&google.cloud.networ" - + "kmanagement.v1beta1\032\034google/api/annotati" - + "ons.proto\032\027google/api/client.proto\032\037goog" - + "le/api/field_behavior.proto\032>google/clou" - + "d/networkmanagement/v1beta1/connectivity" - + "_test.proto\032#google/longrunning/operatio" - + "ns.proto\032 google/protobuf/field_mask.pro" - + "to\032\037google/protobuf/timestamp.proto\"|\n\034L" - + "istConnectivityTestsRequest\022\023\n\006parent\030\001 " - + "\001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(" - + "\t\"\232\001\n\035ListConnectivityTestsResponse\022K\n\tr" - + "esources\030\001 \003(\01328.google.cloud.networkman" - + "agement.v1beta1.ConnectivityTest\022\027\n\017next" - + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"/" - + "\n\032GetConnectivityTestRequest\022\021\n\004name\030\001 \001" - + "(\tB\003\340A\002\"\233\001\n\035CreateConnectivityTestReques" - + "t\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007test_id\030\002 \001(\tB" - + "\003\340A\002\022O\n\010resource\030\003 \001(\01328.google.cloud.ne" - + "tworkmanagement.v1beta1.ConnectivityTest" - + "B\003\340A\002\"\246\001\n\035UpdateConnectivityTestRequest\022" - + "4\n\013update_mask\030\001 \001(\0132\032.google.protobuf.F" - + "ieldMaskB\003\340A\002\022O\n\010resource\030\002 \001(\01328.google" - + ".cloud.networkmanagement.v1beta1.Connect" - + "ivityTestB\003\340A\002\"2\n\035DeleteConnectivityTest" - + "Request\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034RerunConne" - + "ctivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\326\001" - + "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013" - + "2\032.google.protobuf.Timestamp\022,\n\010end_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta" - + "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai" - + "l\030\005 \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013api" - + "_version\030\007 \001(\t2\243\r\n\023ReachabilityService\022\355" - + "\001\n\025ListConnectivityTests\022D.google.cloud." - + "networkmanagement.v1beta1.ListConnectivi" - + "tyTestsRequest\032E.google.cloud.networkman" - + "agement.v1beta1.ListConnectivityTestsRes" - + "ponse\"G\202\323\344\223\002A\022?/v1beta1/{parent=projects" - + "/*/locations/global}/connectivityTests\022\334" - + "\001\n\023GetConnectivityTest\022B.google.cloud.ne" - + "tworkmanagement.v1beta1.GetConnectivityT" - + "estRequest\0328.google.cloud.networkmanagem" - + "ent.v1beta1.ConnectivityTest\"G\202\323\344\223\002A\022?/v" - + "1beta1/{name=projects/*/locations/global" - + "/connectivityTests/*}\022\241\002\n\026CreateConnecti" - + "vityTest\022E.google.cloud.networkmanagemen" - + "t.v1beta1.CreateConnectivityTestRequest\032" - + "\035.google.longrunning.Operation\"\240\001\202\323\344\223\002K\"" - + "?/v1beta1/{parent=projects/*/locations/g" - + "lobal}/connectivityTests:\010resource\312AL\n7g" - + "oogle.cloud.networkmanagement.v1beta1.Co" - + "nnectivityTest\022\021OperationMetadata\022\252\002\n\026Up" - + "dateConnectivityTest\022E.google.cloud.netw" - + "orkmanagement.v1beta1.UpdateConnectivity" - + "TestRequest\032\035.google.longrunning.Operati" - + "on\"\251\001\202\323\344\223\002T2H/v1beta1/{resource.name=pro" - + "jects/*/locations/global/connectivityTes" - + "ts/*}:\010resource\312AL\n7google.cloud.network" - + "management.v1beta1.ConnectivityTest\022\021Ope" - + "rationMetadata\022\236\002\n\025RerunConnectivityTest" - + "\022D.google.cloud.networkmanagement.v1beta" - + "1.RerunConnectivityTestRequest\032\035.google." - + "longrunning.Operation\"\237\001\202\323\344\223\002J\"E/v1beta1" - + "/{name=projects/*/locations/global/conne" - + "ctivityTests/*}:rerun:\001*\312AL\n7google.clou" - + "d.networkmanagement.v1beta1.Connectivity" - + "Test\022\021OperationMetadata\022\364\001\n\026DeleteConnec" - + "tivityTest\022E.google.cloud.networkmanagem" - + "ent.v1beta1.DeleteConnectivityTestReques" - + "t\032\035.google.longrunning.Operation\"t\202\323\344\223\002A" - + "*?/v1beta1/{name=projects/*/locations/gl" - + "obal/connectivityTests/*}\312A*\n\025google.pro" - + "tobuf.Empty\022\021OperationMetadata\032T\312A netwo" - + "rkmanagement.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\240\002\n" - + "*com.google.cloud.networkmanagement.v1be" - + "ta1B\030ReachabilityServiceProtoP\001ZXcloud.g" - + "oogle.com/go/networkmanagement/apiv1beta" - + "1/networkmanagementpb;networkmanagementp" - + "b\252\002&Google.Cloud.NetworkManagement.V1Bet" - + "a1\312\002&Google\\Cloud\\NetworkManagement\\V1be" - + "ta1\352\002)Google::Cloud::NetworkManagement::" - + "V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor, - new java.lang.String[] { - "Resources", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Parent", "TestId", "Resource", - }); - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Resource", - }); - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusDetail", - "CancelRequested", - "ApiVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java deleted file mode 100644 index f3ae0762d4b8..000000000000 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java +++ /dev/null @@ -1,287 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto - -package com.google.cloud.networkmanagement.v1beta1; - -public final class TestOuterClass { - private TestOuterClass() {} - - 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_networkmanagement_v1beta1_ConnectivityTest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_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/networkmanagement/v1beta1" - + "/connectivity_test.proto\022&google.cloud.n" - + "etworkmanagement.v1beta1\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\0322google/cloud/networkmanagement/v1b" - + "eta1/trace.proto\032\037google/protobuf/timest" - + "amp.proto\032\027google/rpc/status.proto\"\261\006\n\020C" - + "onnectivityTest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013de" - + "scription\030\002 \001(\t\022E\n\006source\030\003 \001(\01320.google" - + ".cloud.networkmanagement.v1beta1.Endpoin" - + "tB\003\340A\002\022J\n\013destination\030\004 \001(\01320.google.clo" - + "ud.networkmanagement.v1beta1.EndpointB\003\340" - + "A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020related_projects" - + "\030\006 \003(\t\022\031\n\014display_name\030\007 \001(\tB\003\340A\003\022T\n\006lab" - + "els\030\010 \003(\0132D.google.cloud.networkmanageme" - + "nt.v1beta1.ConnectivityTest.LabelsEntry\022" - + "4\n\013create_time\030\n \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\022^\n\024reachabil" - + "ity_details\030\014 \001(\0132;.google.cloud.network" - + "management.v1beta1.ReachabilityDetailsB\003" - + "\340A\003\022T\n\017probing_details\030\016 \001(\01326.google.cl" - + "oud.networkmanagement.v1beta1.ProbingDet" - + "ailsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement" - + ".googleapis.com/ConnectivityTest\022 * The Reachability service in the Google Cloud Network Management API provides * services that analyze the reachability within a single Google Virtual Private @@ -41,351 +24,237 @@ private ReachabilityServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.networkmanagement.v1.ReachabilityService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> - getListConnectivityTestsMethod; + private static volatile io.grpc.MethodDescriptor getListConnectivityTestsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListConnectivityTests", requestType = com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, responseType = com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> - getListConnectivityTestsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> - getListConnectivityTestsMethod; - if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) - == null) { + public static io.grpc.MethodDescriptor getListConnectivityTestsMethod() { + io.grpc.MethodDescriptor getListConnectivityTestsMethod; + if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) { synchronized (ReachabilityServiceGrpc.class) { - if ((getListConnectivityTestsMethod = - ReachabilityServiceGrpc.getListConnectivityTestsMethod) - == null) { - ReachabilityServiceGrpc.getListConnectivityTestsMethod = - getListConnectivityTestsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListConnectivityTests")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests")) - .build(); + if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) { + ReachabilityServiceGrpc.getListConnectivityTestsMethod = getListConnectivityTestsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectivityTests")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests")) + .build(); } } } return getListConnectivityTestsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1.ConnectivityTest> - getGetConnectivityTestMethod; + private static volatile io.grpc.MethodDescriptor getGetConnectivityTestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetConnectivityTest", requestType = com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, responseType = com.google.cloud.networkmanagement.v1.ConnectivityTest.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1.ConnectivityTest> - getGetConnectivityTestMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1.ConnectivityTest> - getGetConnectivityTestMethod; - if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) - == null) { + public static io.grpc.MethodDescriptor getGetConnectivityTestMethod() { + io.grpc.MethodDescriptor getGetConnectivityTestMethod; + if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) { synchronized (ReachabilityServiceGrpc.class) { - if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) - == null) { - ReachabilityServiceGrpc.getGetConnectivityTestMethod = - getGetConnectivityTestMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetConnectivityTest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.ConnectivityTest - .getDefaultInstance())) - .setSchemaDescriptor( - new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest")) - .build(); + if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) { + ReachabilityServiceGrpc.getGetConnectivityTestMethod = getGetConnectivityTestMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectivityTest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance())) + .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest")) + .build(); } } } return getGetConnectivityTestMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, - com.google.longrunning.Operation> - getCreateConnectivityTestMethod; + private static volatile io.grpc.MethodDescriptor getCreateConnectivityTestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateConnectivityTest", requestType = com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, - com.google.longrunning.Operation> - getCreateConnectivityTestMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, - com.google.longrunning.Operation> - getCreateConnectivityTestMethod; - if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) - == null) { + public static io.grpc.MethodDescriptor getCreateConnectivityTestMethod() { + io.grpc.MethodDescriptor getCreateConnectivityTestMethod; + if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) { synchronized (ReachabilityServiceGrpc.class) { - if ((getCreateConnectivityTestMethod = - ReachabilityServiceGrpc.getCreateConnectivityTestMethod) - == null) { - ReachabilityServiceGrpc.getCreateConnectivityTestMethod = - getCreateConnectivityTestMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest")) - .build(); + if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) { + ReachabilityServiceGrpc.getCreateConnectivityTestMethod = getCreateConnectivityTestMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest")) + .build(); } } } return getCreateConnectivityTestMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation> - getUpdateConnectivityTestMethod; + private static volatile io.grpc.MethodDescriptor getUpdateConnectivityTestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateConnectivityTest", requestType = com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation> - getUpdateConnectivityTestMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation> - getUpdateConnectivityTestMethod; - if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) - == null) { + public static io.grpc.MethodDescriptor getUpdateConnectivityTestMethod() { + io.grpc.MethodDescriptor getUpdateConnectivityTestMethod; + if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) { synchronized (ReachabilityServiceGrpc.class) { - if ((getUpdateConnectivityTestMethod = - ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) - == null) { - ReachabilityServiceGrpc.getUpdateConnectivityTestMethod = - getUpdateConnectivityTestMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest")) - .build(); + if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) { + ReachabilityServiceGrpc.getUpdateConnectivityTestMethod = getUpdateConnectivityTestMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest")) + .build(); } } } return getUpdateConnectivityTestMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, - com.google.longrunning.Operation> - getRerunConnectivityTestMethod; + private static volatile io.grpc.MethodDescriptor getRerunConnectivityTestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RerunConnectivityTest", requestType = com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, - com.google.longrunning.Operation> - getRerunConnectivityTestMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, - com.google.longrunning.Operation> - getRerunConnectivityTestMethod; - if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) - == null) { + public static io.grpc.MethodDescriptor getRerunConnectivityTestMethod() { + io.grpc.MethodDescriptor getRerunConnectivityTestMethod; + if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) { synchronized (ReachabilityServiceGrpc.class) { - if ((getRerunConnectivityTestMethod = - ReachabilityServiceGrpc.getRerunConnectivityTestMethod) - == null) { - ReachabilityServiceGrpc.getRerunConnectivityTestMethod = - getRerunConnectivityTestMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest")) - .build(); + if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) { + ReachabilityServiceGrpc.getRerunConnectivityTestMethod = getRerunConnectivityTestMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest")) + .build(); } } } return getRerunConnectivityTestMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation> - getDeleteConnectivityTestMethod; + private static volatile io.grpc.MethodDescriptor getDeleteConnectivityTestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteConnectivityTest", requestType = com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation> - getDeleteConnectivityTestMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation> - getDeleteConnectivityTestMethod; - if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) - == null) { + public static io.grpc.MethodDescriptor getDeleteConnectivityTestMethod() { + io.grpc.MethodDescriptor getDeleteConnectivityTestMethod; + if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) { synchronized (ReachabilityServiceGrpc.class) { - if ((getDeleteConnectivityTestMethod = - ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) - == null) { - ReachabilityServiceGrpc.getDeleteConnectivityTestMethod = - getDeleteConnectivityTestMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest")) - .build(); + if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) { + ReachabilityServiceGrpc.getDeleteConnectivityTestMethod = getDeleteConnectivityTestMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest")) + .build(); } } } return getDeleteConnectivityTestMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static ReachabilityServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ReachabilityServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ReachabilityServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ReachabilityServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ReachabilityServiceStub(channel, callOptions); + } + }; return ReachabilityServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static ReachabilityServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static ReachabilityServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ReachabilityServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ReachabilityServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ReachabilityServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ReachabilityServiceBlockingStub(channel, callOptions); + } + }; return ReachabilityServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ReachabilityServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ReachabilityServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ReachabilityServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ReachabilityServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ReachabilityServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ReachabilityServiceFutureStub(channel, callOptions); + } + }; return ReachabilityServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -399,39 +268,26 @@ public ReachabilityServiceFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - default void listConnectivityTests( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConnectivityTestsMethod(), responseObserver); + default void listConnectivityTests(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectivityTestsMethod(), responseObserver); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - default void getConnectivityTest( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectivityTestMethod(), responseObserver); + default void getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -446,16 +302,12 @@ default void getConnectivityTest(
      * see the Connectivity Test documentation.
      * 
*/ - default void createConnectivityTest( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, + default void createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -471,16 +323,12 @@ default void createConnectivityTest(
      * in `ConnectivityTest` for for more details.
      * 
*/ - default void updateConnectivityTest( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, + default void updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -494,31 +342,24 @@ default void updateConnectivityTest(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - default void rerunConnectivityTest( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, + default void rerunConnectivityTest(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRerunConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRerunConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - default void deleteConnectivityTest( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, + default void deleteConnectivityTest(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectivityTestMethod(), responseObserver); } } /** * Base class for the server implementation of the service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -529,18 +370,16 @@ default void deleteConnectivityTest(
    * to troubleshoot connectivity issues.
    * 
*/ - public abstract static class ReachabilityServiceImplBase + public static abstract class ReachabilityServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return ReachabilityServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -553,7 +392,8 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class ReachabilityServiceStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private ReachabilityServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private ReachabilityServiceStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -564,43 +404,28 @@ protected ReachabilityServiceStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public void listConnectivityTests( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> - responseObserver) { + public void listConnectivityTests(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public void getConnectivityTest( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -615,18 +440,13 @@ public void getConnectivityTest(
      * see the Connectivity Test documentation.
      * 
*/ - public void createConnectivityTest( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, + public void createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -642,18 +462,13 @@ public void createConnectivityTest(
      * in `ConnectivityTest` for for more details.
      * 
*/ - public void updateConnectivityTest( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, + public void updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -667,35 +482,26 @@ public void updateConnectivityTest(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public void rerunConnectivityTest( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, + public void rerunConnectivityTest(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public void deleteConnectivityTest( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, + public void deleteConnectivityTest(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -720,35 +526,26 @@ protected ReachabilityServiceBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - listConnectivityTests( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse listConnectivityTests(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectivityTestsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.cloud.networkmanagement.v1.ConnectivityTest getConnectivityTest( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { + public com.google.cloud.networkmanagement.v1.ConnectivityTest getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -763,15 +560,12 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest getConnectivityTes
      * see the Connectivity Test documentation.
      * 
*/ - public com.google.longrunning.Operation createConnectivityTest( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) { + public com.google.longrunning.Operation createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -787,15 +581,12 @@ public com.google.longrunning.Operation createConnectivityTest(
      * in `ConnectivityTest` for for more details.
      * 
*/ - public com.google.longrunning.Operation updateConnectivityTest( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) { + public com.google.longrunning.Operation updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -809,21 +600,17 @@ public com.google.longrunning.Operation updateConnectivityTest(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public com.google.longrunning.Operation rerunConnectivityTest( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) { + public com.google.longrunning.Operation rerunConnectivityTest(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRerunConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.longrunning.Operation deleteConnectivityTest( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { + public com.google.longrunning.Operation deleteConnectivityTest(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectivityTestMethod(), getCallOptions(), request); } @@ -831,7 +618,6 @@ public com.google.longrunning.Operation deleteConnectivityTest( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -856,38 +642,28 @@ protected ReachabilityServiceFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> - listConnectivityTests( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listConnectivityTests( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.networkmanagement.v1.ConnectivityTest> - getConnectivityTest( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture getConnectivityTest( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -902,16 +678,13 @@ protected ReachabilityServiceFutureStub build(
      * see the Connectivity Test documentation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createConnectivityTest( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture createConnectivityTest( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -927,16 +700,13 @@ protected ReachabilityServiceFutureStub build(
      * in `ConnectivityTest` for for more details.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateConnectivityTest( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateConnectivityTest( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -950,23 +720,19 @@ protected ReachabilityServiceFutureStub build(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - rerunConnectivityTest( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture rerunConnectivityTest( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteConnectivityTest( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteConnectivityTest( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request); } @@ -979,11 +745,11 @@ protected ReachabilityServiceFutureStub build( private static final int METHODID_RERUN_CONNECTIVITY_TEST = 4; private static final int METHODID_DELETE_CONNECTIVITY_TEST = 5; - 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 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; @@ -997,36 +763,27 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_CONNECTIVITY_TESTS: - serviceImpl.listConnectivityTests( - (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>) - responseObserver); + serviceImpl.listConnectivityTests((com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CONNECTIVITY_TEST: - serviceImpl.getConnectivityTest( - (com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getConnectivityTest((com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CONNECTIVITY_TEST: - serviceImpl.createConnectivityTest( - (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) request, + serviceImpl.createConnectivityTest((com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONNECTIVITY_TEST: - serviceImpl.updateConnectivityTest( - (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) request, + serviceImpl.updateConnectivityTest((com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RERUN_CONNECTIVITY_TEST: - serviceImpl.rerunConnectivityTest( - (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) request, + serviceImpl.rerunConnectivityTest((com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTIVITY_TEST: - serviceImpl.deleteConnectivityTest( - (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) request, + serviceImpl.deleteConnectivityTest((com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1048,49 +805,52 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListConnectivityTestsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>( - service, METHODID_LIST_CONNECTIVITY_TESTS))) + getListConnectivityTestsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>( + service, METHODID_LIST_CONNECTIVITY_TESTS))) .addMethod( - getGetConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1.ConnectivityTest>( - service, METHODID_GET_CONNECTIVITY_TEST))) + getGetConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, + com.google.cloud.networkmanagement.v1.ConnectivityTest>( + service, METHODID_GET_CONNECTIVITY_TEST))) .addMethod( - getCreateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CONNECTIVITY_TEST))) + getCreateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CONNECTIVITY_TEST))) .addMethod( - getUpdateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_CONNECTIVITY_TEST))) + getUpdateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CONNECTIVITY_TEST))) .addMethod( - getRerunConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_RERUN_CONNECTIVITY_TEST))) + getRerunConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_RERUN_CONNECTIVITY_TEST))) .addMethod( - getDeleteConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_CONNECTIVITY_TEST))) + getDeleteConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_CONNECTIVITY_TEST))) .build(); } - private abstract static class ReachabilityServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class ReachabilityServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ReachabilityServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -1132,17 +892,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ReachabilityServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) - .addMethod(getListConnectivityTestsMethod()) - .addMethod(getGetConnectivityTestMethod()) - .addMethod(getCreateConnectivityTestMethod()) - .addMethod(getUpdateConnectivityTestMethod()) - .addMethod(getRerunConnectivityTestMethod()) - .addMethod(getDeleteConnectivityTestMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) + .addMethod(getListConnectivityTestsMethod()) + .addMethod(getGetConnectivityTestMethod()) + .addMethod(getCreateConnectivityTestMethod()) + .addMethod(getUpdateConnectivityTestMethod()) + .addMethod(getRerunConnectivityTestMethod()) + .addMethod(getDeleteConnectivityTestMethod()) + .build(); } } } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java index 6e275ce0fed1..d9bb6ce89efc 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Details of the final state "abort" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.AbortInfo} */ -public final class AbortInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AbortInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.AbortInfo) AbortInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AbortInfo.newBuilder() to construct. private AbortInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AbortInfo() { cause_ = 0; resourceUri_ = ""; @@ -45,43 +27,39 @@ private AbortInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AbortInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.AbortInfo.class, - com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1.AbortInfo.class, com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); } /** - * - * *
    * Abort cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.AbortInfo.Cause} */ - public enum Cause implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Cause is unspecified.
      * 
@@ -90,8 +68,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ CAUSE_UNSPECIFIED(0), /** - * - * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -104,8 +80,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_NETWORK(1),
     /**
-     *
-     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -114,8 +88,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN_IP(2), /** - * - * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -125,8 +97,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_PROJECT(3),
     /**
-     *
-     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -136,8 +106,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     PERMISSION_DENIED(4),
     /**
-     *
-     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -147,8 +115,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_SOURCE_LOCATION(5),
     /**
-     *
-     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -161,8 +127,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     INVALID_ARGUMENT(6),
     /**
-     *
-     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -172,8 +136,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_EXTERNAL_IP(7),
     /**
-     *
-     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -183,8 +145,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNINTENDED_DESTINATION(8),
     /**
-     *
-     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -194,8 +154,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRACE_TOO_LONG(9),
     /**
-     *
-     *
      * 
      * Aborted due to internal server error.
      * 
@@ -204,8 +162,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ INTERNAL_ERROR(10), /** - * - * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -214,8 +170,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ SOURCE_ENDPOINT_NOT_FOUND(11), /** - * - * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -224,8 +178,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ MISMATCHED_SOURCE_NETWORK(12), /** - * - * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -234,8 +186,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ DESTINATION_ENDPOINT_NOT_FOUND(13), /** - * - * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -245,8 +195,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     MISMATCHED_DESTINATION_NETWORK(14),
     /**
-     *
-     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -258,8 +206,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Cause is unspecified.
      * 
@@ -268,8 +214,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -282,8 +226,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_NETWORK_VALUE = 1;
     /**
-     *
-     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -292,8 +234,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_IP_VALUE = 2; /** - * - * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -303,8 +243,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_PROJECT_VALUE = 3;
     /**
-     *
-     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -314,8 +252,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PERMISSION_DENIED_VALUE = 4;
     /**
-     *
-     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -325,8 +261,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_SOURCE_LOCATION_VALUE = 5;
     /**
-     *
-     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -339,8 +273,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INVALID_ARGUMENT_VALUE = 6;
     /**
-     *
-     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -350,8 +282,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_EXTERNAL_IP_VALUE = 7;
     /**
-     *
-     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -361,8 +291,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNINTENDED_DESTINATION_VALUE = 8;
     /**
-     *
-     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -372,8 +300,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRACE_TOO_LONG_VALUE = 9;
     /**
-     *
-     *
      * 
      * Aborted due to internal server error.
      * 
@@ -382,8 +308,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNAL_ERROR_VALUE = 10; /** - * - * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -392,8 +316,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_ENDPOINT_NOT_FOUND_VALUE = 11; /** - * - * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -402,8 +324,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MISMATCHED_SOURCE_NETWORK_VALUE = 12; /** - * - * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -412,8 +332,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESTINATION_ENDPOINT_NOT_FOUND_VALUE = 13; /** - * - * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -423,8 +341,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
     /**
-     *
-     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -433,6 +349,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSUPPORTED_VALUE = 15; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -457,75 +374,62 @@ public static Cause valueOf(int value) { */ public static Cause forNumber(int value) { switch (value) { - case 0: - return CAUSE_UNSPECIFIED; - case 1: - return UNKNOWN_NETWORK; - case 2: - return UNKNOWN_IP; - case 3: - return UNKNOWN_PROJECT; - case 4: - return PERMISSION_DENIED; - case 5: - return NO_SOURCE_LOCATION; - case 6: - return INVALID_ARGUMENT; - case 7: - return NO_EXTERNAL_IP; - case 8: - return UNINTENDED_DESTINATION; - case 9: - return TRACE_TOO_LONG; - case 10: - return INTERNAL_ERROR; - case 11: - return SOURCE_ENDPOINT_NOT_FOUND; - case 12: - return MISMATCHED_SOURCE_NETWORK; - case 13: - return DESTINATION_ENDPOINT_NOT_FOUND; - case 14: - return MISMATCHED_DESTINATION_NETWORK; - case 15: - return UNSUPPORTED; - default: - return null; + case 0: return CAUSE_UNSPECIFIED; + case 1: return UNKNOWN_NETWORK; + case 2: return UNKNOWN_IP; + case 3: return UNKNOWN_PROJECT; + case 4: return PERMISSION_DENIED; + case 5: return NO_SOURCE_LOCATION; + case 6: return INVALID_ARGUMENT; + case 7: return NO_EXTERNAL_IP; + case 8: return UNINTENDED_DESTINATION; + case 9: return TRACE_TOO_LONG; + case 10: return INTERNAL_ERROR; + case 11: return SOURCE_ENDPOINT_NOT_FOUND; + case 12: return MISMATCHED_SOURCE_NETWORK; + case 13: return DESTINATION_ENDPOINT_NOT_FOUND; + case 14: return MISMATCHED_DESTINATION_NETWORK; + case 15: return UNSUPPORTED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Cause findValueByNumber(int number) { - return Cause.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Cause> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Cause findValueByNumber(int number) { + return Cause.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.networkmanagement.v1.AbortInfo.getDescriptor().getEnumTypes().get(0); } private static final Cause[] VALUES = values(); - public static Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Cause 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; @@ -545,53 +449,38 @@ private Cause(int value) { public static final int CAUSE_FIELD_NUMBER = 1; private int cause_ = 0; /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return The cause. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = - com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -600,29 +489,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -631,12 +520,9 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList projectsMissingPermission_; /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -644,15 +530,13 @@ public com.google.protobuf.ByteString getResourceUriBytes() {
    * 
* * repeated string projects_missing_permission = 3; - * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList + getProjectsMissingPermissionList() { return projectsMissingPermission_; } /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -660,15 +544,12 @@ public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList()
    * 
* * repeated string projects_missing_permission = 3; - * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -676,7 +557,6 @@ public int getProjectsMissingPermissionCount() {
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -684,8 +564,6 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -693,16 +571,15 @@ public java.lang.String getProjectsMissingPermission(int index) {
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString + getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -714,17 +591,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (cause_ - != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (cause_ != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceUri_); } for (int i = 0; i < projectsMissingPermission_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, projectsMissingPermission_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, projectsMissingPermission_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -735,9 +611,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ - != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); + if (cause_ != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -758,18 +634,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.networkmanagement.v1.AbortInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.AbortInfo other = - (com.google.cloud.networkmanagement.v1.AbortInfo) obj; + com.google.cloud.networkmanagement.v1.AbortInfo other = (com.google.cloud.networkmanagement.v1.AbortInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; - if (!getProjectsMissingPermissionList().equals(other.getProjectsMissingPermissionList())) - return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; + if (!getProjectsMissingPermissionList() + .equals(other.getProjectsMissingPermissionList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -794,136 +670,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.AbortInfo 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.networkmanagement.v1.AbortInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.AbortInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.AbortInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.AbortInfo 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.networkmanagement.v1.AbortInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.AbortInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "abort" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.AbortInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.AbortInfo) com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.AbortInfo.class, - com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1.AbortInfo.class, com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.AbortInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -936,9 +806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; } @java.lang.Override @@ -957,18 +827,14 @@ public com.google.cloud.networkmanagement.v1.AbortInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo buildPartial() { - com.google.cloud.networkmanagement.v1.AbortInfo result = - new com.google.cloud.networkmanagement.v1.AbortInfo(this); + com.google.cloud.networkmanagement.v1.AbortInfo result = new com.google.cloud.networkmanagement.v1.AbortInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.AbortInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.AbortInfo result) { if (((bitField0_ & 0x00000004) != 0)) { projectsMissingPermission_ = projectsMissingPermission_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -990,39 +856,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.AbortInfo resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.AbortInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.AbortInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.AbortInfo)other); } else { super.mergeFrom(other); return this; @@ -1030,8 +895,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.AbortInfo other) { - if (other == com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) return this; if (other.cause_ != 0) { setCauseValue(other.getCauseValue()); } @@ -1076,32 +940,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureProjectsMissingPermissionIsMutable(); - projectsMissingPermission_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureProjectsMissingPermissionIsMutable(); + projectsMissingPermission_.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) { @@ -1111,34 +971,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int cause_ = 0; /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1149,33 +1001,24 @@ public Builder setCauseValue(int value) { return this; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = - com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED : result; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @param value The cause to set. * @return This builder for chaining. */ @@ -1189,14 +1032,11 @@ public Builder setCause(com.google.cloud.networkmanagement.v1.AbortInfo.Cause va return this; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return This builder for chaining. */ public Builder clearCause() { @@ -1208,20 +1048,18 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1230,21 +1068,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1252,35 +1089,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1290,21 +1120,17 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = value; bitField0_ |= 0x00000002; @@ -1312,19 +1138,14 @@ public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList projectsMissingPermission_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList projectsMissingPermission_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureProjectsMissingPermissionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - projectsMissingPermission_ = - new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); + projectsMissingPermission_ = new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1332,15 +1153,13 @@ private void ensureProjectsMissingPermissionIsMutable() {
      * 
* * repeated string projects_missing_permission = 3; - * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList + getProjectsMissingPermissionList() { return projectsMissingPermission_.getUnmodifiableView(); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1348,15 +1167,12 @@ public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList()
      * 
* * repeated string projects_missing_permission = 3; - * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1364,7 +1180,6 @@ public int getProjectsMissingPermissionCount() {
      * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -1372,8 +1187,6 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1381,16 +1194,14 @@ public java.lang.String getProjectsMissingPermission(int index) {
      * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString + getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1398,23 +1209,19 @@ public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int inde
      * 
* * repeated string projects_missing_permission = 3; - * * @param index The index to set the value at. * @param value The projectsMissingPermission to set. * @return This builder for chaining. */ - public Builder setProjectsMissingPermission(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectsMissingPermission( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1422,22 +1229,18 @@ public Builder setProjectsMissingPermission(int index, java.lang.String value) {
      * 
* * repeated string projects_missing_permission = 3; - * * @param value The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermission(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addProjectsMissingPermission( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1445,19 +1248,18 @@ public Builder addProjectsMissingPermission(java.lang.String value) {
      * 
* * repeated string projects_missing_permission = 3; - * * @param values The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addAllProjectsMissingPermission(java.lang.Iterable values) { + public Builder addAllProjectsMissingPermission( + java.lang.Iterable values) { ensureProjectsMissingPermissionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projectsMissingPermission_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, projectsMissingPermission_); onChanged(); return this; } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1465,7 +1267,6 @@ public Builder addAllProjectsMissingPermission(java.lang.Iterable
      *
      * repeated string projects_missing_permission = 3;
-     *
      * @return This builder for chaining.
      */
     public Builder clearProjectsMissingPermission() {
@@ -1475,8 +1276,6 @@ public Builder clearProjectsMissingPermission() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1484,23 +1283,21 @@ public Builder clearProjectsMissingPermission() {
      * 
* * repeated string projects_missing_permission = 3; - * * @param value The bytes of the projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermissionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addProjectsMissingPermissionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1510,12 +1307,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.AbortInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.AbortInfo) private static final com.google.cloud.networkmanagement.v1.AbortInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.AbortInfo(); } @@ -1524,27 +1321,27 @@ public static com.google.cloud.networkmanagement.v1.AbortInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbortInfo 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 AbortInfo 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; @@ -1559,4 +1356,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.AbortInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java index 9c3c6469e585..bf1dd1501aad 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface AbortInfoOrBuilder - extends +public interface AbortInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.AbortInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; - * * @return The cause. */ com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause(); /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -83,13 +54,11 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @return A list containing the projectsMissingPermission. */ - java.util.List getProjectsMissingPermissionList(); + java.util.List + getProjectsMissingPermissionList(); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -97,13 +66,10 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @return The count of projectsMissingPermission. */ int getProjectsMissingPermissionCount(); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -111,14 +77,11 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ java.lang.String getProjectsMissingPermission(int index); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -126,9 +89,9 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index); + com.google.protobuf.ByteString + getProjectsMissingPermissionBytes(int index); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java index a4ceef61b523..e0a343678008 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CloudSQLInstanceInfo} */ -public final class CloudSQLInstanceInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudSQLInstanceInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) CloudSQLInstanceInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudSQLInstanceInfo.newBuilder() to construct. private CloudSQLInstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudSQLInstanceInfo() { displayName_ = ""; uri_ = ""; @@ -48,43 +30,38 @@ private CloudSQLInstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudSQLInstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -93,29 +70,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -124,18 +101,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -144,29 +117,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -175,19 +148,15 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ @java.lang.Override @@ -196,30 +165,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -228,18 +197,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ @java.lang.Override @@ -248,29 +213,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -279,18 +244,14 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ @java.lang.Override @@ -299,29 +260,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -330,18 +291,14 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } public static final int REGION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The region. */ @java.lang.Override @@ -350,29 +307,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -381,7 +338,6 @@ public com.google.protobuf.ByteString getRegionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +349,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -447,20 +404,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.networkmanagement.v1.CloudSQLInstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo other = - (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; - if (!getRegion().equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo other = (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -490,136 +452,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo 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.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CloudSQLInstanceInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -634,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override @@ -655,11 +610,8 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo result = - new com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo result = new com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -690,39 +642,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.CloudSQLInstanc public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo)other); } else { super.mergeFrom(other); return this; @@ -730,8 +681,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -788,49 +738,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: - { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: - { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + 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) { @@ -840,25 +783,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -867,21 +807,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -889,35 +828,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -927,21 +859,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -951,20 +879,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -973,21 +899,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -995,35 +920,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1033,21 +951,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1057,21 +971,19 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1080,22 +992,21 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1103,37 +1014,30 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1143,22 +1047,18 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1168,20 +1068,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1190,21 +1088,20 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1212,35 +1109,28 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } internalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1250,21 +1140,17 @@ public Builder clearInternalIp() { return this; } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000008; @@ -1274,20 +1160,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1296,21 +1180,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1318,35 +1201,28 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } externalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1356,21 +1232,17 @@ public Builder clearExternalIp() { return this; } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000010; @@ -1380,20 +1252,18 @@ public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object region_ = ""; /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1402,21 +1272,20 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -1424,35 +1293,28 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1462,30 +1324,26 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1495,12 +1353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) private static final com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo(); } @@ -1509,27 +1367,27 @@ public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSQLInstanceInfo 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 CloudSQLInstanceInfo 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; @@ -1544,4 +1402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java index d1dd06ea032b..38e36f394a0c 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java @@ -1,177 +1,131 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface CloudSQLInstanceInfoOrBuilder - extends +public interface CloudSQLInstanceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java index 36ff2afe1a4c..c6605e9cff20 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * A Connectivity Test for a network reachability analysis.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ConnectivityTest} */ -public final class ConnectivityTest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConnectivityTest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ConnectivityTest) ConnectivityTestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConnectivityTest.newBuilder() to construct. private ConnectivityTest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConnectivityTest() { name_ = ""; description_ = ""; @@ -47,55 +29,51 @@ private ConnectivityTest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConnectivityTest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetLabels(); 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.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ConnectivityTest.class, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -104,30 +82,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -136,19 +114,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -157,30 +131,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; } } /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -191,8 +165,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int SOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1.Endpoint source_; /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -213,10 +185,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -224,8 +193,6 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -246,21 +213,14 @@ public boolean hasSource() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint getSource() { - return source_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; } /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -281,22 +241,16 @@ public com.google.cloud.networkmanagement.v1.Endpoint getSource() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilder() { - return source_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; } public static final int DESTINATION_FIELD_NUMBER = 4; private com.google.cloud.networkmanagement.v1.Endpoint destination_; /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -314,10 +268,7 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ @java.lang.Override @@ -325,8 +276,6 @@ public boolean hasDestination() { return destination_ != null; } /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -344,21 +293,14 @@ public boolean hasDestination() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint getDestination() { - return destination_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; } /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -376,30 +318,22 @@ public com.google.cloud.networkmanagement.v1.Endpoint getDestination() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrBuilder() { - return destination_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; } public static final int PROTOCOL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The protocol. */ @java.lang.Override @@ -408,29 +342,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -439,49 +373,40 @@ public com.google.protobuf.ByteString getProtocolBytes() { } public static final int RELATED_PROJECTS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList relatedProjects_; /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList + getRelatedProjectsList() { return relatedProjects_; } /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -489,35 +414,29 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString + getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } public static final int DISPLAY_NAME_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ @java.lang.Override @@ -526,29 +445,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -557,34 +476,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LABELS_FIELD_NUMBER = 8; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -592,21 +509,20 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -618,8 +534,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -627,19 +541,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -647,11 +559,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -661,15 +573,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int CREATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -677,15 +585,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -693,14 +597,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -710,15 +611,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -726,15 +623,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -742,14 +635,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -759,18 +649,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int REACHABILITY_DETAILS_FIELD_NUMBER = 12; private com.google.cloud.networkmanagement.v1.ReachabilityDetails reachabilityDetails_; /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the reachabilityDetails field is set. */ @java.lang.Override @@ -778,49 +663,34 @@ public boolean hasReachabilityDetails() { return reachabilityDetails_ != null; } /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The reachabilityDetails. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails getReachabilityDetails() { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder - getReachabilityDetailsOrBuilder() { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { + return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -832,7 +702,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -854,8 +725,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } @@ -881,10 +756,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSource()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDestination()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, protocol_); @@ -900,25 +777,27 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, displayName_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } if (reachabilityDetails_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(12, getReachabilityDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getReachabilityDetails()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -928,39 +807,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.ConnectivityTest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ConnectivityTest other = - (com.google.cloud.networkmanagement.v1.ConnectivityTest) obj; + com.google.cloud.networkmanagement.v1.ConnectivityTest other = (com.google.cloud.networkmanagement.v1.ConnectivityTest) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination().equals(other.getDestination())) return false; - } - if (!getProtocol().equals(other.getProtocol())) return false; - if (!getRelatedProjectsList().equals(other.getRelatedProjectsList())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDestination() + .equals(other.getDestination())) return false; + } + if (!getProtocol() + .equals(other.getProtocol())) return false; + if (!getRelatedProjectsList() + .equals(other.getRelatedProjectsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (hasReachabilityDetails() != other.hasReachabilityDetails()) return false; if (hasReachabilityDetails()) { - if (!getReachabilityDetails().equals(other.getReachabilityDetails())) return false; + if (!getReachabilityDetails() + .equals(other.getReachabilityDetails())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1015,156 +904,151 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest 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.networkmanagement.v1.ConnectivityTest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.ConnectivityTest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ConnectivityTest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Connectivity Test for a network reachability analysis.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ConnectivityTest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ConnectivityTest) com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 8: return internalGetMutableLabels(); 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.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ConnectivityTest.class, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ConnectivityTest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1205,9 +1089,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; } @java.lang.Override @@ -1226,18 +1110,14 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTest buildPartial() { - com.google.cloud.networkmanagement.v1.ConnectivityTest result = - new com.google.cloud.networkmanagement.v1.ConnectivityTest(this); + com.google.cloud.networkmanagement.v1.ConnectivityTest result = new com.google.cloud.networkmanagement.v1.ConnectivityTest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.ConnectivityTest result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.ConnectivityTest result) { if (((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = relatedProjects_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); @@ -1254,11 +1134,14 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ConnectivityTes result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.source_ = sourceBuilder_ == null ? source_ : sourceBuilder_.build(); + result.source_ = sourceBuilder_ == null + ? source_ + : sourceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.destination_ = - destinationBuilder_ == null ? destination_ : destinationBuilder_.build(); + result.destination_ = destinationBuilder_ == null + ? destination_ + : destinationBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.protocol_ = protocol_; @@ -1271,16 +1154,19 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ConnectivityTes result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.reachabilityDetails_ = - reachabilityDetailsBuilder_ == null - ? reachabilityDetails_ - : reachabilityDetailsBuilder_.build(); + result.reachabilityDetails_ = reachabilityDetailsBuilder_ == null + ? reachabilityDetails_ + : reachabilityDetailsBuilder_.build(); } } @@ -1288,39 +1174,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ConnectivityTes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ConnectivityTest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ConnectivityTest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ConnectivityTest)other); } else { super.mergeFrom(other); return this; @@ -1328,8 +1213,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ConnectivityTest other) { - if (other == com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1366,7 +1250,8 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ConnectivityTest bitField0_ |= 0x00000040; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000080; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -1403,87 +1288,82 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getSourceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - protocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelatedProjectsIsMutable(); - relatedProjects_.add(s); - break; - } // case 50 - case 58: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: - { - input.readMessage( - getReachabilityDetailsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - 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: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getSourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getDestinationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + protocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelatedProjectsIsMutable(); + relatedProjects_.add(s); + break; + } // case 50 + case 58: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: { + input.readMessage( + getReachabilityDetailsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + 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) { @@ -1493,26 +1373,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -1521,22 +1398,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -1544,37 +1420,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1584,22 +1453,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -1609,21 +1474,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1632,22 +1495,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1655,37 +1517,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @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_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1695,22 +1550,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @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_ |= 0x00000002; @@ -1720,13 +1571,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.networkmanagement.v1.Endpoint source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, - com.google.cloud.networkmanagement.v1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1.EndpointOrBuilder> - sourceBuilder_; + com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> sourceBuilder_; /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1747,18 +1593,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1779,24 +1620,17 @@ public boolean hasSource() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.networkmanagement.v1.Endpoint getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1817,9 +1651,7 @@ public com.google.cloud.networkmanagement.v1.Endpoint getSource() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.networkmanagement.v1.Endpoint value) { if (sourceBuilder_ == null) { @@ -1835,8 +1667,6 @@ public Builder setSource(com.google.cloud.networkmanagement.v1.Endpoint value) { return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1857,9 +1687,7 @@ public Builder setSource(com.google.cloud.networkmanagement.v1.Endpoint value) {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.networkmanagement.v1.Endpoint.Builder builderForValue) { @@ -1873,8 +1701,6 @@ public Builder setSource( return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1895,15 +1721,13 @@ public Builder setSource(
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.networkmanagement.v1.Endpoint value) { if (sourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && source_ != null - && source_ != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + source_ != null && + source_ != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { getSourceBuilder().mergeFrom(value); } else { source_ = value; @@ -1916,8 +1740,6 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1.Endpoint value) return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1938,9 +1760,7 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1.Endpoint value)
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1953,8 +1773,6 @@ public Builder clearSource() { return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1975,9 +1793,7 @@ public Builder clearSource() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getSourceBuilder() { bitField0_ |= 0x00000004; @@ -1985,8 +1801,6 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getSourceBuilder() return getSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -2007,22 +1821,17 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getSourceBuilder()
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; } } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -2043,22 +1852,17 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, - com.google.cloud.networkmanagement.v1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, - com.google.cloud.networkmanagement.v1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; @@ -2066,13 +1870,8 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde private com.google.cloud.networkmanagement.v1.Endpoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, - com.google.cloud.networkmanagement.v1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1.EndpointOrBuilder> - destinationBuilder_; + com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> destinationBuilder_; /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2090,18 +1889,13 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ public boolean hasDestination() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2119,24 +1913,17 @@ public boolean hasDestination() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ public com.google.cloud.networkmanagement.v1.Endpoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; } else { return destinationBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2154,9 +1941,7 @@ public com.google.cloud.networkmanagement.v1.Endpoint getDestination() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestination(com.google.cloud.networkmanagement.v1.Endpoint value) { if (destinationBuilder_ == null) { @@ -2172,8 +1957,6 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1.Endpoint val return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2191,9 +1974,7 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1.Endpoint val
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestination( com.google.cloud.networkmanagement.v1.Endpoint.Builder builderForValue) { @@ -2207,8 +1988,6 @@ public Builder setDestination( return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2226,16 +2005,13 @@ public Builder setDestination(
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDestination(com.google.cloud.networkmanagement.v1.Endpoint value) { if (destinationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && destination_ != null - && destination_ - != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + destination_ != null && + destination_ != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { getDestinationBuilder().mergeFrom(value); } else { destination_ = value; @@ -2248,8 +2024,6 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1.Endpoint v return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2267,9 +2041,7 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1.Endpoint v
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestination() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2282,8 +2054,6 @@ public Builder clearDestination() { return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2301,9 +2071,7 @@ public Builder clearDestination() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getDestinationBuilder() { bitField0_ |= 0x00000008; @@ -2311,8 +2079,6 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getDestinationBuil return getDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2330,22 +2096,17 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getDestinationBuil
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null - ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? + com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; } } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2363,22 +2124,17 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrB
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, - com.google.cloud.networkmanagement.v1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, - com.google.cloud.networkmanagement.v1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( - getDestination(), getParentForChildren(), isClean()); + destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( + getDestination(), + getParentForChildren(), + isClean()); destination_ = null; } return destinationBuilder_; @@ -2386,20 +2142,18 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrB private java.lang.Object protocol_ = ""; /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -2408,21 +2162,20 @@ public java.lang.String getProtocol() { } } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -2430,35 +2183,28 @@ public com.google.protobuf.ByteString getProtocolBytes() { } } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocol( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } protocol_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -2468,21 +2214,17 @@ public Builder clearProtocol() { return this; } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000010; @@ -2490,55 +2232,45 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList relatedProjects_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList relatedProjects_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRelatedProjectsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = new com.google.protobuf.LazyStringArrayList(relatedProjects_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList + getRelatedProjectsList() { return relatedProjects_.getUnmodifiableView(); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -2546,95 +2278,81 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString + getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param index The index to set the value at. * @param value The relatedProjects to set. * @return This builder for chaining. */ - public Builder setRelatedProjects(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelatedProjects( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRelatedProjectsIsMutable(); relatedProjects_.set(index, value); onChanged(); return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param value The relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjects(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelatedProjects( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); onChanged(); return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param values The relatedProjects to add. * @return This builder for chaining. */ - public Builder addAllRelatedProjects(java.lang.Iterable values) { + public Builder addAllRelatedProjects( + java.lang.Iterable values) { ensureRelatedProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedProjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relatedProjects_); onChanged(); return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @return This builder for chaining. */ public Builder clearRelatedProjects() { @@ -2644,22 +2362,18 @@ public Builder clearRelatedProjects() { return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param value The bytes of the relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelatedProjectsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); @@ -2669,20 +2383,18 @@ public Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2691,21 +2403,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2713,35 +2424,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2751,21 +2455,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000040; @@ -2773,19 +2473,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { 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(); @@ -2794,13 +2496,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2808,21 +2507,20 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2834,8 +2532,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2843,19 +2539,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2863,133 +2557,112 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - 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_ |= 0x00000080; return this; } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3005,17 +2678,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3026,21 +2696,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3053,15 +2719,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3074,15 +2736,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -3090,48 +2748,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3139,58 +2785,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3206,17 +2833,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3227,21 +2851,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3254,15 +2874,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3275,15 +2891,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3291,48 +2903,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3340,67 +2940,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.networkmanagement.v1.ReachabilityDetails reachabilityDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ReachabilityDetails, - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, - com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> - reachabilityDetailsBuilder_; + com.google.cloud.networkmanagement.v1.ReachabilityDetails, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> reachabilityDetailsBuilder_; /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the reachabilityDetails field is set. */ public boolean hasReachabilityDetails() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The reachabilityDetails. */ public com.google.cloud.networkmanagement.v1.ReachabilityDetails getReachabilityDetails() { if (reachabilityDetailsBuilder_ == null) { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } else { return reachabilityDetailsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setReachabilityDetails( - com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { + public Builder setReachabilityDetails(com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3414,17 +2994,13 @@ public Builder setReachabilityDetails( return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setReachabilityDetails( com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder builderForValue) { @@ -3438,25 +3014,19 @@ public Builder setReachabilityDetails( return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeReachabilityDetails( - com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { + public Builder mergeReachabilityDetails(com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && reachabilityDetails_ != null - && reachabilityDetails_ - != com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + reachabilityDetails_ != null && + reachabilityDetails_ != com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) { getReachabilityDetailsBuilder().mergeFrom(value); } else { reachabilityDetails_ = value; @@ -3469,17 +3039,13 @@ public Builder mergeReachabilityDetails( return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearReachabilityDetails() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3492,79 +3058,61 @@ public Builder clearReachabilityDetails() { return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder - getReachabilityDetailsBuilder() { + public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder getReachabilityDetailsBuilder() { bitField0_ |= 0x00000400; onChanged(); return getReachabilityDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder - getReachabilityDetailsOrBuilder() { + public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { if (reachabilityDetailsBuilder_ != null) { return reachabilityDetailsBuilder_.getMessageOrBuilder(); } else { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + return reachabilityDetails_ == null ? + com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ReachabilityDetails, - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, - com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> + com.google.cloud.networkmanagement.v1.ReachabilityDetails, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> getReachabilityDetailsFieldBuilder() { if (reachabilityDetailsBuilder_ == null) { - reachabilityDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ReachabilityDetails, - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, - com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder>( - getReachabilityDetails(), getParentForChildren(), isClean()); + reachabilityDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ReachabilityDetails, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder>( + getReachabilityDetails(), + getParentForChildren(), + isClean()); reachabilityDetails_ = null; } return reachabilityDetailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3574,12 +3122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ConnectivityTest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ConnectivityTest) private static final com.google.cloud.networkmanagement.v1.ConnectivityTest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ConnectivityTest(); } @@ -3588,27 +3136,27 @@ public static com.google.cloud.networkmanagement.v1.ConnectivityTest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectivityTest 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 ConnectivityTest 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; @@ -3623,4 +3171,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.ConnectivityTest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java similarity index 79% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java index 1e9ece8090aa..b27d6791fa26 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java @@ -1,85 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; -public interface ConnectivityTestOrBuilder - extends +public interface ConnectivityTestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ConnectivityTest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -100,16 +72,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -130,16 +97,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.networkmanagement.v1.Endpoint getSource(); /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -160,15 +122,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilder(); /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -186,16 +144,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ boolean hasDestination(); /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -213,16 +166,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ com.google.cloud.networkmanagement.v1.Endpoint getDestination(); /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -240,120 +188,96 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrBuilder(); /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The protocol. */ java.lang.String getProtocol(); /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The bytes for protocol. */ - com.google.protobuf.ByteString getProtocolBytes(); + com.google.protobuf.ByteString + getProtocolBytes(); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return A list containing the relatedProjects. */ - java.util.List getRelatedProjectsList(); + java.util.List + getRelatedProjectsList(); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return The count of relatedProjects. */ int getRelatedProjectsCount(); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ java.lang.String getRelatedProjects(int index); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - com.google.protobuf.ByteString getRelatedProjectsBytes(int index); + com.google.protobuf.ByteString + getRelatedProjectsBytes(int index); /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -362,31 +286,30 @@ public interface ConnectivityTestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -394,142 +317,104 @@ public interface ConnectivityTestOrBuilder * map<string, string> labels = 8; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the reachabilityDetails field is set. */ boolean hasReachabilityDetails(); /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The reachabilityDetails. */ com.google.cloud.networkmanagement.v1.ReachabilityDetails getReachabilityDetails(); /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder - getReachabilityDetailsOrBuilder(); + com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java similarity index 65% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java index 91f610857a1b..3c4744eb62bd 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Request for the `CreateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CreateConnectivityTestRequest} */ -public final class CreateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) CreateConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConnectivityTestRequest.newBuilder() to construct. private CreateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConnectivityTestRequest() { parent_ = ""; testId_ = ""; @@ -44,44 +26,39 @@ private CreateConnectivityTestRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,12 +99,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object testId_ = ""; /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -139,7 +113,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The testId. */ @java.lang.Override @@ -148,15 +121,14 @@ public java.lang.String getTestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; } } /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -168,15 +140,16 @@ public java.lang.String getTestId() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for testId. */ @java.lang.Override - public com.google.protobuf.ByteString getTestIdBytes() { + public com.google.protobuf.ByteString + getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); testId_ = b; return b; } else { @@ -187,16 +160,11 @@ public com.google.protobuf.ByteString getTestIdBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ @java.lang.Override @@ -204,44 +172,30 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, testId_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -289,19 +245,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.networkmanagement.v1.CreateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTestId().equals(other.getTestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTestId() + .equals(other.getTestId())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -328,138 +286,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `CreateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CreateConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -475,16 +424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override @@ -498,17 +445,13 @@ public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest build @java.lang.Override public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -517,7 +460,9 @@ private void buildPartial0( result.testId_ = testId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null + ? resource_ + : resourceBuilder_.build(); } } @@ -525,51 +470,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -609,31 +549,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - testId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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: { + testId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getResourceFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -643,26 +581,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -671,22 +606,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -694,37 +628,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - 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. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -734,22 +661,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - 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; @@ -759,8 +682,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object testId_ = ""; /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -772,13 +693,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The testId. */ public java.lang.String getTestId() { java.lang.Object ref = testId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; @@ -787,8 +708,6 @@ public java.lang.String getTestId() { } } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -800,14 +719,15 @@ public java.lang.String getTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for testId. */ - public com.google.protobuf.ByteString getTestIdBytes() { + public com.google.protobuf.ByteString + getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); testId_ = b; return b; } else { @@ -815,8 +735,6 @@ public com.google.protobuf.ByteString getTestIdBytes() { } } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -828,22 +746,18 @@ public com.google.protobuf.ByteString getTestIdBytes() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The testId to set. * @return This builder for chaining. */ - public Builder setTestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } testId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -855,7 +769,6 @@ public Builder setTestId(java.lang.String value) {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTestId() { @@ -865,8 +778,6 @@ public Builder clearTestId() { return this; } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -878,14 +789,12 @@ public Builder clearTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for testId to set. * @return This builder for chaining. */ - public Builder setTestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); testId_ = value; bitField0_ |= 0x00000002; @@ -895,58 +804,39 @@ public Builder setTestIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> - resourceBuilder_; + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> resourceBuilder_; /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -962,15 +852,11 @@ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTes return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource( com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder builderForValue) { @@ -984,22 +870,17 @@ public Builder setResource( return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && resource_ != null - && resource_ - != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + resource_ != null && + resource_ != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1012,15 +893,11 @@ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityT return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1033,15 +910,11 @@ public Builder clearResource() { return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourceBuilder() { bitField0_ |= 0x00000004; @@ -1049,55 +922,43 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,43 +968,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectivityTestRequest 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 CreateConnectivityTestRequest 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; @@ -1155,8 +1014,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java similarity index 65% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java index dfd758e290a7..b6ff2a6f0fa0 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface CreateConnectivityTestRequestOrBuilder - extends +public interface CreateConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -64,13 +41,10 @@ public interface CreateConnectivityTestRequestOrBuilder
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The testId. */ java.lang.String getTestId(); /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -82,49 +56,35 @@ public interface CreateConnectivityTestRequestOrBuilder
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for testId. */ - com.google.protobuf.ByteString getTestIdBytes(); + com.google.protobuf.ByteString + getTestIdBytes(); /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ com.google.cloud.networkmanagement.v1.ConnectivityTest getResource(); /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java similarity index 63% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java index 11609437e0eb..f694c1d088b8 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Request for the `DeleteConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest} */ -public final class DeleteConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) DeleteConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConnectivityTestRequest.newBuilder() to construct. private DeleteConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +134,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.networkmanagement.v1.DeleteConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,138 +162,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `DeleteConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,16 +294,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override @@ -349,17 +315,13 @@ public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest build @java.lang.Override public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -370,51 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +403,17 @@ 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) { @@ -468,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -496,22 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -519,37 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -559,31 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectivityTestRequest 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 DeleteConnectivityTestRequest 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; @@ -641,8 +579,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java similarity index 55% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java index 07a2d1482174..0edb384a98a5 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface DeleteConnectivityTestRequestOrBuilder - extends +public interface DeleteConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java index bb8e900e20b3..c83395dee15d 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Details of the final state "deliver" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeliverInfo} */ -public final class DeliverInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeliverInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.DeliverInfo) DeliverInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeliverInfo.newBuilder() to construct. private DeliverInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeliverInfo() { target_ = 0; resourceUri_ = ""; @@ -44,43 +26,39 @@ private DeliverInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeliverInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeliverInfo.class, - com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DeliverInfo.class, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); } /** - * - * *
    * Deliver target types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.DeliverInfo.Target} */ - public enum Target implements com.google.protobuf.ProtocolMessageEnum { + public enum Target + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Target not specified.
      * 
@@ -89,8 +67,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ TARGET_UNSPECIFIED(0), /** - * - * *
      * Target is a Compute Engine instance.
      * 
@@ -99,8 +75,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE(1), /** - * - * *
      * Target is the internet.
      * 
@@ -109,8 +83,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ INTERNET(2), /** - * - * *
      * Target is a Google API.
      * 
@@ -119,8 +91,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_API(3), /** - * - * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -129,8 +99,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ GKE_MASTER(4), /** - * - * *
      * Target is a Cloud SQL instance.
      * 
@@ -142,8 +110,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Target not specified.
      * 
@@ -152,8 +118,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Target is a Compute Engine instance.
      * 
@@ -162,8 +126,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_VALUE = 1; /** - * - * *
      * Target is the internet.
      * 
@@ -172,8 +134,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNET_VALUE = 2; /** - * - * *
      * Target is a Google API.
      * 
@@ -182,8 +142,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_API_VALUE = 3; /** - * - * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -192,8 +150,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GKE_MASTER_VALUE = 4; /** - * - * *
      * Target is a Cloud SQL instance.
      * 
@@ -202,6 +158,7 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_SQL_INSTANCE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -226,57 +183,52 @@ public static Target valueOf(int value) { */ public static Target forNumber(int value) { switch (value) { - case 0: - return TARGET_UNSPECIFIED; - case 1: - return INSTANCE; - case 2: - return INTERNET; - case 3: - return GOOGLE_API; - case 4: - return GKE_MASTER; - case 5: - return CLOUD_SQL_INSTANCE; - default: - return null; + case 0: return TARGET_UNSPECIFIED; + case 1: return INSTANCE; + case 2: return INTERNET; + case 3: return GOOGLE_API; + case 4: return GKE_MASTER; + case 5: return CLOUD_SQL_INSTANCE; + 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< + Target> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Target findValueByNumber(int number) { + return Target.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Target findValueByNumber(int number) { - return Target.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.DeliverInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.DeliverInfo.getDescriptor().getEnumTypes().get(0); } private static final Target[] VALUES = values(); - public static Target valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Target 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; @@ -296,53 +248,38 @@ private Target(int value) { public static final int TARGET_FIELD_NUMBER = 1; private int target_ = 0; /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return The target. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = - com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -351,29 +288,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -382,7 +319,6 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,10 +330,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (target_ - != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (target_ != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -412,10 +347,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ - != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); + if (target_ != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -428,16 +362,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.networkmanagement.v1.DeliverInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.DeliverInfo other = - (com.google.cloud.networkmanagement.v1.DeliverInfo) obj; + com.google.cloud.networkmanagement.v1.DeliverInfo other = (com.google.cloud.networkmanagement.v1.DeliverInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -459,135 +393,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo 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.networkmanagement.v1.DeliverInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.DeliverInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "deliver" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeliverInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.DeliverInfo) com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeliverInfo.class, - com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DeliverInfo.class, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.DeliverInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -598,9 +526,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; } @java.lang.Override @@ -619,11 +547,8 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo buildPartial() { - com.google.cloud.networkmanagement.v1.DeliverInfo result = - new com.google.cloud.networkmanagement.v1.DeliverInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.DeliverInfo result = new com.google.cloud.networkmanagement.v1.DeliverInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -642,39 +567,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.DeliverInfo 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.networkmanagement.v1.DeliverInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.DeliverInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.DeliverInfo)other); } else { super.mergeFrom(other); return this; @@ -682,8 +606,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.DeliverInfo other) { - if (other == com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -718,25 +641,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = 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) { @@ -746,34 +666,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int target_ = 0; /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -784,33 +696,24 @@ public Builder setTargetValue(int value) { return this; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = - com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED : result; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @param value The target to set. * @return This builder for chaining. */ @@ -824,14 +727,11 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1.DeliverInfo.Targe return this; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -843,20 +743,18 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -865,21 +763,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -887,35 +784,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -925,30 +815,26 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -958,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.DeliverInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.DeliverInfo) private static final com.google.cloud.networkmanagement.v1.DeliverInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.DeliverInfo(); } @@ -972,27 +858,27 @@ public static com.google.cloud.networkmanagement.v1.DeliverInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeliverInfo 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 DeliverInfo 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; @@ -1007,4 +893,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.DeliverInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java similarity index 61% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java index 8dbd4a695493..150a4f1563a4 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface DeliverInfoOrBuilder - extends +public interface DeliverInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.DeliverInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; - * * @return The target. */ com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget(); /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java index 18e08359c12e..d1c25815d8f8 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Details of the final state "drop" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DropInfo} */ -public final class DropInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DropInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.DropInfo) DropInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DropInfo.newBuilder() to construct. private DropInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DropInfo() { cause_ = 0; resourceUri_ = ""; @@ -44,43 +26,39 @@ private DropInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DropInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DropInfo.class, - com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DropInfo.class, com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); } /** - * - * *
    * Drop cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.DropInfo.Cause} */ - public enum Cause implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Cause is unspecified.
      * 
@@ -89,8 +67,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ CAUSE_UNSPECIFIED(0), /** - * - * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -101,8 +77,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_EXTERNAL_ADDRESS(1),
     /**
-     *
-     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -112,8 +86,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FOREIGN_IP_DISALLOWED(2),
     /**
-     *
-     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -123,8 +95,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FIREWALL_RULE(3),
     /**
-     *
-     *
      * 
      * Dropped due to no routes.
      * 
@@ -133,8 +103,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ NO_ROUTE(4), /** - * - * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -143,8 +111,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_BLACKHOLE(5), /** - * - * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -155,8 +121,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     ROUTE_WRONG_NETWORK(6),
     /**
-     *
-     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -165,8 +129,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ PRIVATE_TRAFFIC_TO_INTERNET(7), /** - * - * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -176,8 +138,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     PRIVATE_GOOGLE_ACCESS_DISALLOWED(8),
     /**
-     *
-     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -188,8 +148,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_EXTERNAL_ADDRESS(9),
     /**
-     *
-     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -201,8 +159,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_INTERNAL_ADDRESS(10),
     /**
-     *
-     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -211,8 +167,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ FORWARDING_RULE_MISMATCH(11), /** - * - * *
      * Forwarding rule does not have backends configured.
      * 
@@ -221,8 +175,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ FORWARDING_RULE_NO_INSTANCES(12), /** - * - * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -234,8 +186,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK(13),
     /**
-     *
-     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -245,8 +195,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     INSTANCE_NOT_RUNNING(14),
     /**
-     *
-     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -258,8 +206,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRAFFIC_TYPE_BLOCKED(15),
     /**
-     *
-     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -271,8 +217,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     GKE_MASTER_UNAUTHORIZED_ACCESS(16),
     /**
-     *
-     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -284,8 +228,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS(17),
     /**
-     *
-     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -294,8 +236,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ DROPPED_INSIDE_GKE_SERVICE(18), /** - * - * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -304,8 +244,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ DROPPED_INSIDE_CLOUD_SQL_SERVICE(19), /** - * - * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -315,8 +253,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_MANAGED_SERVICE_NO_PEERING(20),
     /**
-     *
-     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -329,8 +265,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Cause is unspecified.
      * 
@@ -339,8 +273,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -351,8 +283,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_EXTERNAL_ADDRESS_VALUE = 1;
     /**
-     *
-     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -362,8 +292,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FOREIGN_IP_DISALLOWED_VALUE = 2;
     /**
-     *
-     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -373,8 +301,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FIREWALL_RULE_VALUE = 3;
     /**
-     *
-     *
      * 
      * Dropped due to no routes.
      * 
@@ -383,8 +309,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_ROUTE_VALUE = 4; /** - * - * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -393,8 +317,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_BLACKHOLE_VALUE = 5; /** - * - * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -405,8 +327,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROUTE_WRONG_NETWORK_VALUE = 6;
     /**
-     *
-     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -415,8 +335,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATE_TRAFFIC_TO_INTERNET_VALUE = 7; /** - * - * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -426,8 +344,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRIVATE_GOOGLE_ACCESS_DISALLOWED_VALUE = 8;
     /**
-     *
-     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -438,8 +354,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_EXTERNAL_ADDRESS_VALUE = 9;
     /**
-     *
-     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -451,8 +365,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_INTERNAL_ADDRESS_VALUE = 10;
     /**
-     *
-     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -461,8 +373,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORWARDING_RULE_MISMATCH_VALUE = 11; /** - * - * *
      * Forwarding rule does not have backends configured.
      * 
@@ -471,8 +381,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORWARDING_RULE_NO_INSTANCES_VALUE = 12; /** - * - * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -484,8 +392,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK_VALUE = 13;
     /**
-     *
-     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -495,8 +401,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INSTANCE_NOT_RUNNING_VALUE = 14;
     /**
-     *
-     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -508,8 +412,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRAFFIC_TYPE_BLOCKED_VALUE = 15;
     /**
-     *
-     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -521,8 +423,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_MASTER_UNAUTHORIZED_ACCESS_VALUE = 16;
     /**
-     *
-     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -534,8 +434,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS_VALUE = 17;
     /**
-     *
-     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -544,8 +442,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DROPPED_INSIDE_GKE_SERVICE_VALUE = 18; /** - * - * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -554,8 +450,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DROPPED_INSIDE_CLOUD_SQL_SERVICE_VALUE = 19; /** - * - * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -565,8 +459,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_MANAGED_SERVICE_NO_PEERING_VALUE = 20;
     /**
-     *
-     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -576,6 +468,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE = 21;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -600,87 +493,68 @@ public static Cause valueOf(int value) {
      */
     public static Cause forNumber(int value) {
       switch (value) {
-        case 0:
-          return CAUSE_UNSPECIFIED;
-        case 1:
-          return UNKNOWN_EXTERNAL_ADDRESS;
-        case 2:
-          return FOREIGN_IP_DISALLOWED;
-        case 3:
-          return FIREWALL_RULE;
-        case 4:
-          return NO_ROUTE;
-        case 5:
-          return ROUTE_BLACKHOLE;
-        case 6:
-          return ROUTE_WRONG_NETWORK;
-        case 7:
-          return PRIVATE_TRAFFIC_TO_INTERNET;
-        case 8:
-          return PRIVATE_GOOGLE_ACCESS_DISALLOWED;
-        case 9:
-          return NO_EXTERNAL_ADDRESS;
-        case 10:
-          return UNKNOWN_INTERNAL_ADDRESS;
-        case 11:
-          return FORWARDING_RULE_MISMATCH;
-        case 12:
-          return FORWARDING_RULE_NO_INSTANCES;
-        case 13:
-          return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK;
-        case 14:
-          return INSTANCE_NOT_RUNNING;
-        case 15:
-          return TRAFFIC_TYPE_BLOCKED;
-        case 16:
-          return GKE_MASTER_UNAUTHORIZED_ACCESS;
-        case 17:
-          return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS;
-        case 18:
-          return DROPPED_INSIDE_GKE_SERVICE;
-        case 19:
-          return DROPPED_INSIDE_CLOUD_SQL_SERVICE;
-        case 20:
-          return GOOGLE_MANAGED_SERVICE_NO_PEERING;
-        case 21:
-          return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS;
-        default:
-          return null;
+        case 0: return CAUSE_UNSPECIFIED;
+        case 1: return UNKNOWN_EXTERNAL_ADDRESS;
+        case 2: return FOREIGN_IP_DISALLOWED;
+        case 3: return FIREWALL_RULE;
+        case 4: return NO_ROUTE;
+        case 5: return ROUTE_BLACKHOLE;
+        case 6: return ROUTE_WRONG_NETWORK;
+        case 7: return PRIVATE_TRAFFIC_TO_INTERNET;
+        case 8: return PRIVATE_GOOGLE_ACCESS_DISALLOWED;
+        case 9: return NO_EXTERNAL_ADDRESS;
+        case 10: return UNKNOWN_INTERNAL_ADDRESS;
+        case 11: return FORWARDING_RULE_MISMATCH;
+        case 12: return FORWARDING_RULE_NO_INSTANCES;
+        case 13: return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK;
+        case 14: return INSTANCE_NOT_RUNNING;
+        case 15: return TRAFFIC_TYPE_BLOCKED;
+        case 16: return GKE_MASTER_UNAUTHORIZED_ACCESS;
+        case 17: return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS;
+        case 18: return DROPPED_INSIDE_GKE_SERVICE;
+        case 19: return DROPPED_INSIDE_CLOUD_SQL_SERVICE;
+        case 20: return GOOGLE_MANAGED_SERVICE_NO_PEERING;
+        case 21: return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Cause findValueByNumber(int number) {
-            return Cause.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Cause> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Cause findValueByNumber(int number) {
+              return Cause.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.networkmanagement.v1.DropInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Cause[] VALUES = values();
 
-    public static Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Cause 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;
@@ -700,53 +574,38 @@ private Cause(int value) {
   public static final int CAUSE_FIELD_NUMBER = 1;
   private int cause_ = 0;
   /**
-   *
-   *
    * 
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return The cause. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.DropInfo.Cause result = - com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -755,29 +614,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -786,7 +645,6 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -798,9 +656,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (cause_ - != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (cause_ != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -815,9 +673,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ - != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); + if (cause_ != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -830,16 +688,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.networkmanagement.v1.DropInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.DropInfo other = - (com.google.cloud.networkmanagement.v1.DropInfo) obj; + com.google.cloud.networkmanagement.v1.DropInfo other = (com.google.cloud.networkmanagement.v1.DropInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -860,136 +718,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DropInfo 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.networkmanagement.v1.DropInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.DropInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.DropInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DropInfo 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.networkmanagement.v1.DropInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.DropInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "drop" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DropInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.DropInfo) com.google.cloud.networkmanagement.v1.DropInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DropInfo.class, - com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DropInfo.class, com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.DropInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1000,9 +852,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; } @java.lang.Override @@ -1021,11 +873,8 @@ public com.google.cloud.networkmanagement.v1.DropInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo buildPartial() { - com.google.cloud.networkmanagement.v1.DropInfo result = - new com.google.cloud.networkmanagement.v1.DropInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.DropInfo result = new com.google.cloud.networkmanagement.v1.DropInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1044,39 +893,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.DropInfo 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.networkmanagement.v1.DropInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.DropInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.DropInfo)other); } else { super.mergeFrom(other); return this; @@ -1119,25 +967,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = 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) { @@ -1147,34 +992,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int cause_ = 0; /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1185,33 +1022,24 @@ public Builder setCauseValue(int value) { return this; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.DropInfo.Cause result = - com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED : result; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @param value The cause to set. * @return This builder for chaining. */ @@ -1225,14 +1053,11 @@ public Builder setCause(com.google.cloud.networkmanagement.v1.DropInfo.Cause val return this; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return This builder for chaining. */ public Builder clearCause() { @@ -1244,20 +1069,18 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1266,21 +1089,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1288,35 +1110,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1326,30 +1141,26 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -1359,12 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.DropInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.DropInfo) private static final com.google.cloud.networkmanagement.v1.DropInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.DropInfo(); } @@ -1373,27 +1184,27 @@ public static com.google.cloud.networkmanagement.v1.DropInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropInfo 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 DropInfo 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; @@ -1408,4 +1219,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.DropInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java similarity index 60% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java index bd2faa520585..7a77128e95b6 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface DropInfoOrBuilder - extends +public interface DropInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.DropInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; - * * @return The cause. */ com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause(); /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java index c2771670123b..2cc07d3fc60a 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Source or destination of the Connectivity Test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.Endpoint} */ -public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Endpoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.Endpoint) EndpointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Endpoint.newBuilder() to construct. private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Endpoint() { ipAddress_ = ""; instance_ = ""; @@ -49,33 +31,30 @@ private Endpoint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Endpoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.Endpoint.class, - com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1.Endpoint.class, com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); } /** - * - * *
    * The type definition of an endpoint's network. Use one of the
    * following choices:
@@ -83,10 +62,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1.Endpoint.NetworkType}
    */
-  public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum NetworkType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default type if unspecified.
      * 
@@ -95,10 +73,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ NETWORK_TYPE_UNSPECIFIED(0), /** - * - * *
-     * A network hosted within Google Cloud Platform.
+     * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
      * destination network.
      * 
@@ -107,10 +83,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ GCP_NETWORK(1), /** - * - * *
-     * A network hosted outside of Google Cloud Platform.
+     * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
      * provider.
      * 
@@ -122,8 +96,6 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default type if unspecified.
      * 
@@ -132,10 +104,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NETWORK_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
-     * A network hosted within Google Cloud Platform.
+     * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
      * destination network.
      * 
@@ -144,10 +114,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCP_NETWORK_VALUE = 1; /** - * - * *
-     * A network hosted outside of Google Cloud Platform.
+     * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
      * provider.
      * 
@@ -156,6 +124,7 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NON_GCP_NETWORK_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,49 +149,49 @@ public static NetworkType valueOf(int value) { */ public static NetworkType forNumber(int value) { switch (value) { - case 0: - return NETWORK_TYPE_UNSPECIFIED; - case 1: - return GCP_NETWORK; - case 2: - return NON_GCP_NETWORK; - default: - return null; + case 0: return NETWORK_TYPE_UNSPECIFIED; + case 1: return GCP_NETWORK; + case 2: return NON_GCP_NETWORK; + 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< + NetworkType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NetworkType findValueByNumber(int number) { + return NetworkType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NetworkType findValueByNumber(int number) { - return NetworkType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.networkmanagement.v1.Endpoint.getDescriptor().getEnumTypes().get(0); } private static final NetworkType[] VALUES = values(); - public static NetworkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static NetworkType 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; @@ -240,12 +209,9 @@ private NetworkType(int value) { } public static final int IP_ADDRESS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -253,7 +219,6 @@ private NetworkType(int value) {
    * 
* * string ip_address = 1; - * * @return The ipAddress. */ @java.lang.Override @@ -262,15 +227,14 @@ 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 the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -278,15 +242,16 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 1; - * * @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 { @@ -297,15 +262,12 @@ public com.google.protobuf.ByteString getIpAddressBytes() { public static final int PORT_FIELD_NUMBER = 2; private int port_ = 0; /** - * - * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -314,18 +276,14 @@ public int getPort() { } public static final int INSTANCE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object instance_ = ""; /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -334,29 +292,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -365,19 +323,15 @@ public com.google.protobuf.ByteString getInstanceBytes() { } public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object gkeMasterCluster_ = ""; /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The gkeMasterCluster. */ @java.lang.Override @@ -386,30 +340,30 @@ public java.lang.String getGkeMasterCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; } } /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The bytes for gkeMasterCluster. */ @java.lang.Override - public com.google.protobuf.ByteString getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString + getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -418,18 +372,14 @@ public com.google.protobuf.ByteString getGkeMasterClusterBytes() { } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object cloudSqlInstance_ = ""; /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The cloudSqlInstance. */ @java.lang.Override @@ -438,29 +388,29 @@ public java.lang.String getCloudSqlInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; } } /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The bytes for cloudSqlInstance. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString + getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -469,18 +419,14 @@ public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { } public static final int NETWORK_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @return The network. */ @java.lang.Override @@ -489,29 +435,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; } } /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @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 { @@ -522,8 +468,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int NETWORK_TYPE_FIELD_NUMBER = 5; private int networkType_ = 0; /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -531,16 +475,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override - public int getNetworkTypeValue() { + @java.lang.Override public int getNetworkTypeValue() { return networkType_; } /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -548,39 +488,30 @@ public int getNetworkTypeValue() {
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return The networkType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); - return result == null - ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType() { + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); + return result == null ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED : result; } public static final int PROJECT_ID_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The projectId. */ @java.lang.Override @@ -589,37 +520,37 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -628,7 +559,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -640,7 +570,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddress_); } @@ -653,9 +584,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, network_); } - if (networkType_ - != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED - .getNumber()) { + if (networkType_ != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { @@ -680,7 +609,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ipAddress_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instance_); @@ -688,10 +618,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, network_); } - if (networkType_ - != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, networkType_); + if (networkType_ != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, projectId_); @@ -710,22 +639,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.networkmanagement.v1.Endpoint)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.Endpoint other = - (com.google.cloud.networkmanagement.v1.Endpoint) obj; - - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (getPort() != other.getPort()) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false; - if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; + com.google.cloud.networkmanagement.v1.Endpoint other = (com.google.cloud.networkmanagement.v1.Endpoint) obj; + + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (getPort() + != other.getPort()) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getGkeMasterCluster() + .equals(other.getGkeMasterCluster())) return false; + if (!getCloudSqlInstance() + .equals(other.getCloudSqlInstance())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; if (networkType_ != other.networkType_) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -758,136 +693,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Endpoint 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.networkmanagement.v1.Endpoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.Endpoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.Endpoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.Endpoint 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.networkmanagement.v1.Endpoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.Endpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Source or destination of the Connectivity Test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.Endpoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.Endpoint) com.google.cloud.networkmanagement.v1.EndpointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.Endpoint.class, - com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1.Endpoint.class, com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.Endpoint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -904,9 +833,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; } @java.lang.Override @@ -925,11 +854,8 @@ public com.google.cloud.networkmanagement.v1.Endpoint build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint buildPartial() { - com.google.cloud.networkmanagement.v1.Endpoint result = - new com.google.cloud.networkmanagement.v1.Endpoint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.Endpoint result = new com.google.cloud.networkmanagement.v1.Endpoint(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -966,39 +892,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Endpoint 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.networkmanagement.v1.Endpoint) { - return mergeFrom((com.google.cloud.networkmanagement.v1.Endpoint) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.Endpoint)other); } else { super.mergeFrom(other); return this; @@ -1069,61 +994,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - port_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - instance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 40: - { - networkType_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 40 - case 50: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 58: - { - gkeMasterCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 58 - case 66: - { - cloudSqlInstance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + port_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + instance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 40: { + networkType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 40 + case 50: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 58: { + gkeMasterCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 58 + case 66: { + cloudSqlInstance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + 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) { @@ -1133,13 +1049,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object ipAddress_ = ""; /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1147,13 +1060,13 @@ public Builder mergeFrom(
      * 
* * string ip_address = 1; - * * @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; @@ -1162,8 +1075,6 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1171,14 +1082,15 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 1; - * * @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 { @@ -1186,8 +1098,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1195,22 +1105,18 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
      * 
* * string ip_address = 1; - * * @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_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1218,7 +1124,6 @@ public Builder setIpAddress(java.lang.String value) {
      * 
* * string ip_address = 1; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1228,8 +1133,6 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1237,14 +1140,12 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 1; - * * @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_ |= 0x00000001; @@ -1252,17 +1153,14 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { return this; } - private int port_; + private int port_ ; /** - * - * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -1270,35 +1168,29 @@ public int getPort() { return port_; } /** - * - * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; - * * @return This builder for chaining. */ public Builder clearPort() { @@ -1310,20 +1202,18 @@ public Builder clearPort() { private java.lang.Object instance_ = ""; /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1332,21 +1222,20 @@ public java.lang.String getInstance() { } } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1354,35 +1243,28 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstance( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instance_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { @@ -1392,21 +1274,17 @@ public Builder clearInstance() { return this; } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instance_ = value; bitField0_ |= 0x00000004; @@ -1416,21 +1294,19 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object gkeMasterCluster_ = ""; /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @return The gkeMasterCluster. */ public java.lang.String getGkeMasterCluster() { java.lang.Object ref = gkeMasterCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; @@ -1439,22 +1315,21 @@ public java.lang.String getGkeMasterCluster() { } } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @return The bytes for gkeMasterCluster. */ - public com.google.protobuf.ByteString getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString + getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -1462,37 +1337,30 @@ public com.google.protobuf.ByteString getGkeMasterClusterBytes() { } } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @param value The gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGkeMasterCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } gkeMasterCluster_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @return This builder for chaining. */ public Builder clearGkeMasterCluster() { @@ -1502,22 +1370,18 @@ public Builder clearGkeMasterCluster() { return this; } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @param value The bytes for gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGkeMasterClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gkeMasterCluster_ = value; bitField0_ |= 0x00000008; @@ -1527,20 +1391,18 @@ public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object cloudSqlInstance_ = ""; /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @return The cloudSqlInstance. */ public java.lang.String getCloudSqlInstance() { java.lang.Object ref = cloudSqlInstance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; @@ -1549,21 +1411,20 @@ public java.lang.String getCloudSqlInstance() { } } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @return The bytes for cloudSqlInstance. */ - public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString + getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -1571,35 +1432,28 @@ public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { } } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @param value The cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstance(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudSqlInstance( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cloudSqlInstance_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @return This builder for chaining. */ public Builder clearCloudSqlInstance() { @@ -1609,21 +1463,17 @@ public Builder clearCloudSqlInstance() { return this; } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @param value The bytes for cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudSqlInstanceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cloudSqlInstance_ = value; bitField0_ |= 0x00000010; @@ -1633,20 +1483,18 @@ public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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; @@ -1655,21 +1503,20 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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 { @@ -1677,35 +1524,28 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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; } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1715,21 +1555,17 @@ public Builder clearNetwork() { return this; } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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; @@ -1739,8 +1575,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private int networkType_ = 0; /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1748,16 +1582,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override - public int getNetworkTypeValue() { + @java.lang.Override public int getNetworkTypeValue() { return networkType_; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1765,7 +1595,6 @@ public int getNetworkTypeValue() {
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @param value The enum numeric value on the wire for networkType to set. * @return This builder for chaining. */ @@ -1776,8 +1605,6 @@ public Builder setNetworkTypeValue(int value) { return this; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1785,20 +1612,14 @@ public Builder setNetworkTypeValue(int value) {
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return The networkType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); - return result == null - ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); + return result == null ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1806,12 +1627,10 @@ public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @param value The networkType to set. * @return This builder for chaining. */ - public Builder setNetworkType( - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType value) { + public Builder setNetworkType(com.google.cloud.networkmanagement.v1.Endpoint.NetworkType value) { if (value == null) { throw new NullPointerException(); } @@ -1821,8 +1640,6 @@ public Builder setNetworkType( return this; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1830,7 +1647,6 @@ public Builder setNetworkType(
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return This builder for chaining. */ public Builder clearNetworkType() { @@ -1842,28 +1658,26 @@ public Builder clearNetworkType() { private java.lang.Object projectId_ = ""; /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1872,29 +1686,28 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1902,51 +1715,44 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1956,38 +1762,34 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1997,12 +1799,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.Endpoint) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.Endpoint) private static final com.google.cloud.networkmanagement.v1.Endpoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.Endpoint(); } @@ -2011,27 +1813,27 @@ public static com.google.cloud.networkmanagement.v1.Endpoint getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoint 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 Endpoint 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; @@ -2046,4 +1848,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.Endpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java index 47610a387db0..89f3a58269c3 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. The specification of the endpoints for the test.
  * EndpointInfo is derived from source and destination Endpoint and validated
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.EndpointInfo}
  */
-public final class EndpointInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EndpointInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.EndpointInfo)
     EndpointInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EndpointInfo.newBuilder() to construct.
   private EndpointInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EndpointInfo() {
     sourceIp_ = "";
     destinationIp_ = "";
@@ -49,43 +31,38 @@ private EndpointInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EndpointInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.EndpointInfo.class,
-            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1.EndpointInfo.class, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
   }
 
   public static final int SOURCE_IP_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceIp_ = "";
   /**
-   *
-   *
    * 
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The sourceIp. */ @java.lang.Override @@ -94,29 +71,29 @@ public java.lang.String getSourceIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; } } /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The bytes for sourceIp. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceIpBytes() { + public com.google.protobuf.ByteString + getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -125,18 +102,14 @@ public com.google.protobuf.ByteString getSourceIpBytes() { } public static final int DESTINATION_IP_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object destinationIp_ = ""; /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The destinationIp. */ @java.lang.Override @@ -145,29 +118,29 @@ public java.lang.String getDestinationIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; } } /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The bytes for destinationIp. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationIpBytes() { + public com.google.protobuf.ByteString + getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -176,18 +149,14 @@ public com.google.protobuf.ByteString getDestinationIpBytes() { } public static final int PROTOCOL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The protocol. */ @java.lang.Override @@ -196,29 +165,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -229,14 +198,11 @@ public com.google.protobuf.ByteString getProtocolBytes() { public static final int SOURCE_PORT_FIELD_NUMBER = 4; private int sourcePort_ = 0; /** - * - * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; - * * @return The sourcePort. */ @java.lang.Override @@ -247,14 +213,11 @@ public int getSourcePort() { public static final int DESTINATION_PORT_FIELD_NUMBER = 5; private int destinationPort_ = 0; /** - * - * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; - * * @return The destinationPort. */ @java.lang.Override @@ -263,18 +226,14 @@ public int getDestinationPort() { } public static final int SOURCE_NETWORK_URI_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object sourceNetworkUri_ = ""; /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The sourceNetworkUri. */ @java.lang.Override @@ -283,29 +242,29 @@ public java.lang.String getSourceNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; } } /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The bytes for sourceNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString + getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -314,18 +273,14 @@ public com.google.protobuf.ByteString getSourceNetworkUriBytes() { } public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object destinationNetworkUri_ = ""; /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The destinationNetworkUri. */ @java.lang.Override @@ -334,29 +289,29 @@ public java.lang.String getDestinationNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; } } /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The bytes for destinationNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString + getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -365,7 +320,6 @@ public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +331,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceIp_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceIp_); } @@ -418,10 +373,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, protocol_); } if (sourcePort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, sourcePort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, sourcePort_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, destinationPort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, destinationPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNetworkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sourceNetworkUri_); @@ -437,21 +394,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.networkmanagement.v1.EndpointInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.EndpointInfo other = - (com.google.cloud.networkmanagement.v1.EndpointInfo) obj; - - if (!getSourceIp().equals(other.getSourceIp())) return false; - if (!getDestinationIp().equals(other.getDestinationIp())) return false; - if (!getProtocol().equals(other.getProtocol())) return false; - if (getSourcePort() != other.getSourcePort()) return false; - if (getDestinationPort() != other.getDestinationPort()) return false; - if (!getSourceNetworkUri().equals(other.getSourceNetworkUri())) return false; - if (!getDestinationNetworkUri().equals(other.getDestinationNetworkUri())) return false; + com.google.cloud.networkmanagement.v1.EndpointInfo other = (com.google.cloud.networkmanagement.v1.EndpointInfo) obj; + + if (!getSourceIp() + .equals(other.getSourceIp())) return false; + if (!getDestinationIp() + .equals(other.getDestinationIp())) return false; + if (!getProtocol() + .equals(other.getProtocol())) return false; + if (getSourcePort() + != other.getSourcePort()) return false; + if (getDestinationPort() + != other.getDestinationPort()) return false; + if (!getSourceNetworkUri() + .equals(other.getSourceNetworkUri())) return false; + if (!getDestinationNetworkUri() + .equals(other.getDestinationNetworkUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -483,103 +446,96 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo 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.networkmanagement.v1.EndpointInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.EndpointInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. The specification of the endpoints for the test.
    * EndpointInfo is derived from source and destination Endpoint and validated
@@ -588,32 +544,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.EndpointInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.EndpointInfo)
       com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.EndpointInfo.class,
-              com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1.EndpointInfo.class, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.EndpointInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -629,9 +586,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
@@ -650,11 +607,8 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.EndpointInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1.EndpointInfo result =
-          new com.google.cloud.networkmanagement.v1.EndpointInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.networkmanagement.v1.EndpointInfo result = new com.google.cloud.networkmanagement.v1.EndpointInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -688,39 +642,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.EndpointInfo 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.networkmanagement.v1.EndpointInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.EndpointInfo) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.EndpointInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -728,8 +681,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1.EndpointInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) return this;
       if (!other.getSourceIp().isEmpty()) {
         sourceIp_ = other.sourceIp_;
         bitField0_ |= 0x00000001;
@@ -787,55 +739,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                sourceIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                destinationIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                protocol_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                sourcePort_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                destinationPort_ = input.readInt32();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                sourceNetworkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                destinationNetworkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              sourceIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              destinationIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              protocol_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              sourcePort_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              destinationPort_ = input.readInt32();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              sourceNetworkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              destinationNetworkUri_ = 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) {
@@ -845,25 +789,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object sourceIp_ = "";
     /**
-     *
-     *
      * 
      * Source IP address.
      * 
* * string source_ip = 1; - * * @return The sourceIp. */ public java.lang.String getSourceIp() { java.lang.Object ref = sourceIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; @@ -872,21 +813,20 @@ public java.lang.String getSourceIp() { } } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @return The bytes for sourceIp. */ - public com.google.protobuf.ByteString getSourceIpBytes() { + public com.google.protobuf.ByteString + getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -894,35 +834,28 @@ public com.google.protobuf.ByteString getSourceIpBytes() { } } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @param value The sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceIp_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @return This builder for chaining. */ public Builder clearSourceIp() { @@ -932,21 +865,17 @@ public Builder clearSourceIp() { return this; } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @param value The bytes for sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceIp_ = value; bitField0_ |= 0x00000001; @@ -956,20 +885,18 @@ public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationIp_ = ""; /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @return The destinationIp. */ public java.lang.String getDestinationIp() { java.lang.Object ref = destinationIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; @@ -978,21 +905,20 @@ public java.lang.String getDestinationIp() { } } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @return The bytes for destinationIp. */ - public com.google.protobuf.ByteString getDestinationIpBytes() { + public com.google.protobuf.ByteString + getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -1000,35 +926,28 @@ public com.google.protobuf.ByteString getDestinationIpBytes() { } } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @param value The destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationIp_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @return This builder for chaining. */ public Builder clearDestinationIp() { @@ -1038,21 +957,17 @@ public Builder clearDestinationIp() { return this; } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @param value The bytes for destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationIp_ = value; bitField0_ |= 0x00000002; @@ -1062,20 +977,18 @@ public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object protocol_ = ""; /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -1084,21 +997,20 @@ public java.lang.String getProtocol() { } } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -1106,35 +1018,28 @@ public com.google.protobuf.ByteString getProtocolBytes() { } } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocol( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } protocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -1144,21 +1049,17 @@ public Builder clearProtocol() { return this; } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000004; @@ -1166,16 +1067,13 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { return this; } - private int sourcePort_; + private int sourcePort_ ; /** - * - * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; - * * @return The sourcePort. */ @java.lang.Override @@ -1183,33 +1081,27 @@ public int getSourcePort() { return sourcePort_; } /** - * - * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; - * * @param value The sourcePort to set. * @return This builder for chaining. */ public Builder setSourcePort(int value) { - + sourcePort_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; - * * @return This builder for chaining. */ public Builder clearSourcePort() { @@ -1219,16 +1111,13 @@ public Builder clearSourcePort() { return this; } - private int destinationPort_; + private int destinationPort_ ; /** - * - * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; - * * @return The destinationPort. */ @java.lang.Override @@ -1236,33 +1125,27 @@ public int getDestinationPort() { return destinationPort_; } /** - * - * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; - * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; - * * @return This builder for chaining. */ public Builder clearDestinationPort() { @@ -1274,20 +1157,18 @@ public Builder clearDestinationPort() { private java.lang.Object sourceNetworkUri_ = ""; /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @return The sourceNetworkUri. */ public java.lang.String getSourceNetworkUri() { java.lang.Object ref = sourceNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; @@ -1296,21 +1177,20 @@ public java.lang.String getSourceNetworkUri() { } } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @return The bytes for sourceNetworkUri. */ - public com.google.protobuf.ByteString getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString + getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -1318,35 +1198,28 @@ public com.google.protobuf.ByteString getSourceNetworkUriBytes() { } } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @param value The sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceNetworkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @return This builder for chaining. */ public Builder clearSourceNetworkUri() { @@ -1356,21 +1229,17 @@ public Builder clearSourceNetworkUri() { return this; } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @param value The bytes for sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceNetworkUri_ = value; bitField0_ |= 0x00000020; @@ -1380,20 +1249,18 @@ public Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationNetworkUri_ = ""; /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @return The destinationNetworkUri. */ public java.lang.String getDestinationNetworkUri() { java.lang.Object ref = destinationNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; @@ -1402,21 +1269,20 @@ public java.lang.String getDestinationNetworkUri() { } } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @return The bytes for destinationNetworkUri. */ - public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString + getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -1424,35 +1290,28 @@ public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { } } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @param value The destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationNetworkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @return This builder for chaining. */ public Builder clearDestinationNetworkUri() { @@ -1462,30 +1321,26 @@ public Builder clearDestinationNetworkUri() { return this; } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @param value The bytes for destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationNetworkUri_ = 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); } @@ -1495,12 +1350,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.EndpointInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.EndpointInfo) private static final com.google.cloud.networkmanagement.v1.EndpointInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.EndpointInfo(); } @@ -1509,27 +1364,27 @@ public static com.google.cloud.networkmanagement.v1.EndpointInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EndpointInfo 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 EndpointInfo 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; @@ -1544,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.EndpointInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java index 3f079aaf1230..b4b83a5000bd 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java @@ -1,176 +1,129 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface EndpointInfoOrBuilder - extends +public interface EndpointInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.EndpointInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The sourceIp. */ java.lang.String getSourceIp(); /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The bytes for sourceIp. */ - com.google.protobuf.ByteString getSourceIpBytes(); + com.google.protobuf.ByteString + getSourceIpBytes(); /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The destinationIp. */ java.lang.String getDestinationIp(); /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The bytes for destinationIp. */ - com.google.protobuf.ByteString getDestinationIpBytes(); + com.google.protobuf.ByteString + getDestinationIpBytes(); /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The protocol. */ java.lang.String getProtocol(); /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The bytes for protocol. */ - com.google.protobuf.ByteString getProtocolBytes(); + com.google.protobuf.ByteString + getProtocolBytes(); /** - * - * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; - * * @return The sourcePort. */ int getSourcePort(); /** - * - * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; - * * @return The destinationPort. */ int getDestinationPort(); /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The sourceNetworkUri. */ java.lang.String getSourceNetworkUri(); /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The bytes for sourceNetworkUri. */ - com.google.protobuf.ByteString getSourceNetworkUriBytes(); + com.google.protobuf.ByteString + getSourceNetworkUriBytes(); /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The destinationNetworkUri. */ java.lang.String getDestinationNetworkUri(); /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The bytes for destinationNetworkUri. */ - com.google.protobuf.ByteString getDestinationNetworkUriBytes(); + com.google.protobuf.ByteString + getDestinationNetworkUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java similarity index 79% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java index 376fe7aebb16..414ef274594b 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; -public interface EndpointOrBuilder - extends +public interface EndpointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.Endpoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -33,13 +15,10 @@ public interface EndpointOrBuilder
    * 
* * string ip_address = 1; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -47,130 +26,105 @@ public interface EndpointOrBuilder
    * 
* * string ip_address = 1; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; - * * @return The port. */ int getPort(); /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The gkeMasterCluster. */ java.lang.String getGkeMasterCluster(); /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The bytes for gkeMasterCluster. */ - com.google.protobuf.ByteString getGkeMasterClusterBytes(); + com.google.protobuf.ByteString + getGkeMasterClusterBytes(); /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The cloudSqlInstance. */ java.lang.String getCloudSqlInstance(); /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The bytes for cloudSqlInstance. */ - com.google.protobuf.ByteString getCloudSqlInstanceBytes(); + com.google.protobuf.ByteString + getCloudSqlInstanceBytes(); /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -178,13 +132,10 @@ public interface EndpointOrBuilder
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return The enum numeric value on the wire for networkType. */ int getNetworkTypeValue(); /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -192,49 +143,43 @@ public interface EndpointOrBuilder
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; - * * @return The networkType. */ com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType(); /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java similarity index 72% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java index 6476eff879f0..919633f6e719 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a VPC firewall rule, an implied
  * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.FirewallInfo}
  */
-public final class FirewallInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FirewallInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.FirewallInfo)
     FirewallInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FirewallInfo.newBuilder() to construct.
   private FirewallInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FirewallInfo() {
     displayName_ = "";
     uri_ = "";
@@ -52,43 +34,39 @@ private FirewallInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FirewallInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.FirewallInfo.class,
-            com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1.FirewallInfo.class, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The firewall rule's type.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType} */ - public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum { + public enum FirewallRuleType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type.
      * 
@@ -97,8 +75,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum */ FIREWALL_RULE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -109,8 +85,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     HIERARCHICAL_FIREWALL_POLICY_RULE(1),
     /**
-     *
-     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -121,8 +95,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     VPC_FIREWALL_RULE(2),
     /**
-     *
-     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -136,8 +108,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified type.
      * 
@@ -146,8 +116,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum */ public static final int FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -158,8 +126,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE = 1;
     /**
-     *
-     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -170,8 +136,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int VPC_FIREWALL_RULE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -182,6 +146,7 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int IMPLIED_VPC_FIREWALL_RULE_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -206,47 +171,41 @@ public static FirewallRuleType valueOf(int value) {
      */
     public static FirewallRuleType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FIREWALL_RULE_TYPE_UNSPECIFIED;
-        case 1:
-          return HIERARCHICAL_FIREWALL_POLICY_RULE;
-        case 2:
-          return VPC_FIREWALL_RULE;
-        case 3:
-          return IMPLIED_VPC_FIREWALL_RULE;
-        default:
-          return null;
+        case 0: return FIREWALL_RULE_TYPE_UNSPECIFIED;
+        case 1: return HIERARCHICAL_FIREWALL_POLICY_RULE;
+        case 2: return VPC_FIREWALL_RULE;
+        case 3: return IMPLIED_VPC_FIREWALL_RULE;
+        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<
+        FirewallRuleType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FirewallRuleType findValueByNumber(int number) {
+              return FirewallRuleType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public FirewallRuleType findValueByNumber(int number) {
-                return FirewallRuleType.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.FirewallInfo.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.FirewallInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FirewallRuleType[] VALUES = values();
@@ -254,7 +213,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static FirewallRuleType 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;
@@ -272,19 +232,15 @@ private FirewallRuleType(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -293,30 +249,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -325,19 +281,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -346,30 +298,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -378,18 +330,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int DIRECTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object direction_ = ""; /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The direction. */ @java.lang.Override @@ -398,29 +346,29 @@ public java.lang.String getDirection() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; } } /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The bytes for direction. */ @java.lang.Override - public com.google.protobuf.ByteString getDirectionBytes() { + public com.google.protobuf.ByteString + getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); direction_ = b; return b; } else { @@ -429,18 +377,14 @@ public com.google.protobuf.ByteString getDirectionBytes() { } public static final int ACTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The action. */ @java.lang.Override @@ -449,29 +393,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -482,14 +426,11 @@ public com.google.protobuf.ByteString getActionBytes() { public static final int PRIORITY_FIELD_NUMBER = 5; private int priority_ = 0; /** - * - * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; - * * @return The priority. */ @java.lang.Override @@ -498,19 +439,15 @@ public int getPriority() { } public static final int NETWORK_URI_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The networkUri. */ @java.lang.Override @@ -519,30 +456,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -551,49 +488,40 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int TARGET_TAGS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetTags_; /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList getTargetTagsList() { + public com.google.protobuf.ProtocolStringList + getTargetTagsList() { return targetTags_; } /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -601,63 +529,52 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString + getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } public static final int TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetServiceAccounts_; /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList + getTargetServiceAccountsList() { return targetServiceAccounts_; } /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -665,35 +582,29 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString + getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } public static final int POLICY_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object policy_ = ""; /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The policy. */ @java.lang.Override @@ -702,30 +613,30 @@ public java.lang.String getPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; } } /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The bytes for policy. */ @java.lang.Override - public com.google.protobuf.ByteString getPolicyBytes() { + public com.google.protobuf.ByteString + getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policy_ = b; return b; } else { @@ -736,45 +647,30 @@ public com.google.protobuf.ByteString getPolicyBytes() { public static final int FIREWALL_RULE_TYPE_FIELD_NUMBER = 10; private int firewallRuleType_ = 0; /** - * - * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override - public int getFirewallRuleTypeValue() { + @java.lang.Override public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** - * - * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The firewallRuleType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType() { - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber( - firewallRuleType_); - return result == null - ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType() { + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); + return result == null ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -786,7 +682,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -809,16 +706,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 7, targetTags_.getRaw(i)); } for (int i = 0; i < targetServiceAccounts_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 8, targetServiceAccounts_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, targetServiceAccounts_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, policy_); } - if (firewallRuleType_ - != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType - .FIREWALL_RULE_TYPE_UNSPECIFIED - .getNumber()) { + if (firewallRuleType_ != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, firewallRuleType_); } getUnknownFields().writeTo(output); @@ -843,7 +736,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, priority_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, networkUri_); @@ -867,11 +761,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, policy_); } - if (firewallRuleType_ - != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType - .FIREWALL_RULE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, firewallRuleType_); + if (firewallRuleType_ != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, firewallRuleType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -881,23 +773,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.FirewallInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.FirewallInfo other = - (com.google.cloud.networkmanagement.v1.FirewallInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDirection().equals(other.getDirection())) return false; - if (!getAction().equals(other.getAction())) return false; - if (getPriority() != other.getPriority()) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getTargetTagsList().equals(other.getTargetTagsList())) return false; - if (!getTargetServiceAccountsList().equals(other.getTargetServiceAccountsList())) return false; - if (!getPolicy().equals(other.getPolicy())) return false; + com.google.cloud.networkmanagement.v1.FirewallInfo other = (com.google.cloud.networkmanagement.v1.FirewallInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDirection() + .equals(other.getDirection())) return false; + if (!getAction() + .equals(other.getAction())) return false; + if (getPriority() + != other.getPriority()) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getTargetTagsList() + .equals(other.getTargetTagsList())) return false; + if (!getTargetServiceAccountsList() + .equals(other.getTargetServiceAccountsList())) return false; + if (!getPolicy() + .equals(other.getPolicy())) return false; if (firewallRuleType_ != other.firewallRuleType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -940,103 +840,96 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo 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.networkmanagement.v1.FirewallInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.FirewallInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a VPC firewall rule, an implied
    * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -1044,32 +937,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.FirewallInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.FirewallInfo)
       com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.FirewallInfo.class,
-              com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1.FirewallInfo.class, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.FirewallInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1090,9 +984,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
@@ -1111,18 +1005,14 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.FirewallInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1.FirewallInfo result =
-          new com.google.cloud.networkmanagement.v1.FirewallInfo(this);
+      com.google.cloud.networkmanagement.v1.FirewallInfo result = new com.google.cloud.networkmanagement.v1.FirewallInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.networkmanagement.v1.FirewallInfo result) {
+    private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.FirewallInfo result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         targetTags_ = targetTags_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -1167,39 +1057,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.FirewallInfo 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.networkmanagement.v1.FirewallInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.FirewallInfo) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.FirewallInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1207,8 +1096,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1.FirewallInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance()) return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -1291,75 +1179,64 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                uri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                direction_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                action_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                priority_ = input.readInt32();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                networkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTargetTagsIsMutable();
-                targetTags_.add(s);
-                break;
-              } // case 58
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTargetServiceAccountsIsMutable();
-                targetServiceAccounts_.add(s);
-                break;
-              } // case 66
-            case 74:
-              {
-                policy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 74
-            case 80:
-              {
-                firewallRuleType_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 80
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              uri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              direction_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              action_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              priority_ = input.readInt32();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              networkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTargetTagsIsMutable();
+              targetTags_.add(s);
+              break;
+            } // case 58
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTargetServiceAccountsIsMutable();
+              targetServiceAccounts_.add(s);
+              break;
+            } // case 66
+            case 74: {
+              policy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 74
+            case 80: {
+              firewallRuleType_ = 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) {
@@ -1369,26 +1246,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1397,22 +1271,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1420,37 +1293,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1460,22 +1326,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1485,21 +1347,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1508,22 +1368,21 @@ public java.lang.String getUri() { } } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1531,37 +1390,30 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1571,22 +1423,18 @@ public Builder clearUri() { return this; } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1596,20 +1444,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object direction_ = ""; /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @return The direction. */ public java.lang.String getDirection() { java.lang.Object ref = direction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; @@ -1618,21 +1464,20 @@ public java.lang.String getDirection() { } } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @return The bytes for direction. */ - public com.google.protobuf.ByteString getDirectionBytes() { + public com.google.protobuf.ByteString + getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); direction_ = b; return b; } else { @@ -1640,35 +1485,28 @@ public com.google.protobuf.ByteString getDirectionBytes() { } } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @param value The direction to set. * @return This builder for chaining. */ - public Builder setDirection(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDirection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } direction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @return This builder for chaining. */ public Builder clearDirection() { @@ -1678,21 +1516,17 @@ public Builder clearDirection() { return this; } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @param value The bytes for direction to set. * @return This builder for chaining. */ - public Builder setDirectionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDirectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); direction_ = value; bitField0_ |= 0x00000004; @@ -1702,20 +1536,18 @@ public Builder setDirectionBytes(com.google.protobuf.ByteString value) { private java.lang.Object action_ = ""; /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -1724,21 +1556,20 @@ public java.lang.String getAction() { } } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @return The bytes for action. */ - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -1746,35 +1577,28 @@ public com.google.protobuf.ByteString getActionBytes() { } } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -1784,21 +1608,17 @@ public Builder clearAction() { return this; } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; @@ -1806,16 +1626,13 @@ public Builder setActionBytes(com.google.protobuf.ByteString value) { return this; } - private int priority_; + private int priority_ ; /** - * - * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; - * * @return The priority. */ @java.lang.Override @@ -1823,33 +1640,27 @@ public int getPriority() { return priority_; } /** - * - * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; - * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -1861,21 +1672,19 @@ public Builder clearPriority() { private java.lang.Object networkUri_ = ""; /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1884,22 +1693,21 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1907,37 +1715,30 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1947,22 +1748,18 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000020; @@ -1970,55 +1767,45 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList targetTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList targetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { targetTags_ = new com.google.protobuf.LazyStringArrayList(targetTags_); bitField0_ |= 0x00000040; - } + } } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList getTargetTagsList() { + public com.google.protobuf.ProtocolStringList + getTargetTagsList() { return targetTags_.getUnmodifiableView(); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -2026,95 +1813,81 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString + getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param index The index to set the value at. * @param value The targetTags to set. * @return This builder for chaining. */ - public Builder setTargetTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetTagsIsMutable(); targetTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param value The targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetTagsIsMutable(); targetTags_.add(value); onChanged(); return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param values The targetTags to add. * @return This builder for chaining. */ - public Builder addAllTargetTags(java.lang.Iterable values) { + public Builder addAllTargetTags( + java.lang.Iterable values) { ensureTargetTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetTags_); onChanged(); return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @return This builder for chaining. */ public Builder clearTargetTags() { @@ -2124,22 +1897,18 @@ public Builder clearTargetTags() { return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param value The bytes of the targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTargetTagsIsMutable(); targetTags_.add(value); @@ -2147,53 +1916,42 @@ public Builder addTargetTagsBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList targetServiceAccounts_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetServiceAccountsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - targetServiceAccounts_ = - new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); + targetServiceAccounts_ = new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); bitField0_ |= 0x00000080; - } + } } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList + getTargetServiceAccountsList() { return targetServiceAccounts_.getUnmodifiableView(); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -2201,90 +1959,76 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString + getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param index The index to set the value at. * @param value The targetServiceAccounts to set. * @return This builder for chaining. */ - public Builder setTargetServiceAccounts(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetServiceAccounts( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.set(index, value); onChanged(); return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param value The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccounts(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetServiceAccounts( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); onChanged(); return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param values The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addAllTargetServiceAccounts(java.lang.Iterable values) { + public Builder addAllTargetServiceAccounts( + java.lang.Iterable values) { ensureTargetServiceAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetServiceAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetServiceAccounts_); onChanged(); return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @return This builder for chaining. */ public Builder clearTargetServiceAccounts() { @@ -2294,21 +2038,17 @@ public Builder clearTargetServiceAccounts() { return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param value The bytes of the targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccountsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetServiceAccountsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); @@ -2318,21 +2058,19 @@ public Builder addTargetServiceAccountsBytes(com.google.protobuf.ByteString valu private java.lang.Object policy_ = ""; /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @return The policy. */ public java.lang.String getPolicy() { java.lang.Object ref = policy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; @@ -2341,22 +2079,21 @@ public java.lang.String getPolicy() { } } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @return The bytes for policy. */ - public com.google.protobuf.ByteString getPolicyBytes() { + public com.google.protobuf.ByteString + getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policy_ = b; return b; } else { @@ -2364,37 +2101,30 @@ public com.google.protobuf.ByteString getPolicyBytes() { } } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @param value The policy to set. * @return This builder for chaining. */ - public Builder setPolicy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } policy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @return This builder for chaining. */ public Builder clearPolicy() { @@ -2404,22 +2134,18 @@ public Builder clearPolicy() { return this; } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @param value The bytes for policy to set. * @return This builder for chaining. */ - public Builder setPolicyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); policy_ = value; bitField0_ |= 0x00000100; @@ -2429,33 +2155,22 @@ public Builder setPolicyBytes(com.google.protobuf.ByteString value) { private int firewallRuleType_ = 0; /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override - public int getFirewallRuleTypeValue() { + @java.lang.Override public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @param value The enum numeric value on the wire for firewallRuleType to set. * @return This builder for chaining. */ @@ -2466,44 +2181,28 @@ public Builder setFirewallRuleTypeValue(int value) { return this; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The firewallRuleType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType - getFirewallRuleType() { - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber( - firewallRuleType_); - return result == null - ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType() { + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); + return result == null ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @param value The firewallRuleType to set. * @return This builder for chaining. */ - public Builder setFirewallRuleType( - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType value) { + public Builder setFirewallRuleType(com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType value) { if (value == null) { throw new NullPointerException(); } @@ -2513,16 +2212,11 @@ public Builder setFirewallRuleType( return this; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return This builder for chaining. */ public Builder clearFirewallRuleType() { @@ -2531,9 +2225,9 @@ public Builder clearFirewallRuleType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2543,12 +2237,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.FirewallInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.FirewallInfo) private static final com.google.cloud.networkmanagement.v1.FirewallInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.FirewallInfo(); } @@ -2557,27 +2251,27 @@ public static com.google.cloud.networkmanagement.v1.FirewallInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirewallInfo 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 FirewallInfo 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; @@ -2592,4 +2286,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.FirewallInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java similarity index 78% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java index 5752a38b878f..d27509c109d7 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java @@ -1,328 +1,251 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface FirewallInfoOrBuilder - extends +public interface FirewallInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.FirewallInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The direction. */ java.lang.String getDirection(); /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The bytes for direction. */ - com.google.protobuf.ByteString getDirectionBytes(); + com.google.protobuf.ByteString + getDirectionBytes(); /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The action. */ java.lang.String getAction(); /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The bytes for action. */ - com.google.protobuf.ByteString getActionBytes(); + com.google.protobuf.ByteString + getActionBytes(); /** - * - * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; - * * @return The priority. */ int getPriority(); /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return A list containing the targetTags. */ - java.util.List getTargetTagsList(); + java.util.List + getTargetTagsList(); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return The count of targetTags. */ int getTargetTagsCount(); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the element to return. * @return The targetTags at the given index. */ java.lang.String getTargetTags(int index); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - com.google.protobuf.ByteString getTargetTagsBytes(int index); + com.google.protobuf.ByteString + getTargetTagsBytes(int index); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return A list containing the targetServiceAccounts. */ - java.util.List getTargetServiceAccountsList(); + java.util.List + getTargetServiceAccountsList(); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return The count of targetServiceAccounts. */ int getTargetServiceAccountsCount(); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ java.lang.String getTargetServiceAccounts(int index); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index); + com.google.protobuf.ByteString + getTargetServiceAccountsBytes(int index); /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The policy. */ java.lang.String getPolicy(); /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The bytes for policy. */ - com.google.protobuf.ByteString getPolicyBytes(); + com.google.protobuf.ByteString + getPolicyBytes(); /** - * - * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The enum numeric value on the wire for firewallRuleType. */ int getFirewallRuleTypeValue(); /** - * - * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The firewallRuleType. */ com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType(); diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java index 1457b3dbd58d..283536c5a9b6 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Details of the final state "forward" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardInfo} */ -public final class ForwardInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ForwardInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ForwardInfo) ForwardInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ForwardInfo.newBuilder() to construct. private ForwardInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ForwardInfo() { target_ = 0; resourceUri_ = ""; @@ -44,43 +26,39 @@ private ForwardInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ForwardInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardInfo.class, - com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardInfo.class, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); } /** - * - * *
    * Forward target types.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.ForwardInfo.Target} */ - public enum Target implements com.google.protobuf.ProtocolMessageEnum { + public enum Target + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Target not specified.
      * 
@@ -89,8 +67,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ TARGET_UNSPECIFIED(0), /** - * - * *
      * Forwarded to a VPC peering network.
      * 
@@ -99,8 +75,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ PEERING_VPC(1), /** - * - * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -109,8 +83,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ VPN_GATEWAY(2), /** - * - * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -119,8 +91,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ INTERCONNECT(3), /** - * - * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -129,8 +99,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ GKE_MASTER(4), /** - * - * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -139,8 +107,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ IMPORTED_CUSTOM_ROUTE_NEXT_HOP(5), /** - * - * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -152,8 +118,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Target not specified.
      * 
@@ -162,8 +126,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Forwarded to a VPC peering network.
      * 
@@ -172,8 +134,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_VPC_VALUE = 1; /** - * - * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -182,8 +142,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VPN_GATEWAY_VALUE = 2; /** - * - * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -192,8 +150,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERCONNECT_VALUE = 3; /** - * - * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -202,8 +158,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GKE_MASTER_VALUE = 4; /** - * - * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -212,8 +166,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE = 5; /** - * - * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -222,6 +174,7 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_SQL_INSTANCE_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -246,59 +199,53 @@ public static Target valueOf(int value) { */ public static Target forNumber(int value) { switch (value) { - case 0: - return TARGET_UNSPECIFIED; - case 1: - return PEERING_VPC; - case 2: - return VPN_GATEWAY; - case 3: - return INTERCONNECT; - case 4: - return GKE_MASTER; - case 5: - return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; - case 6: - return CLOUD_SQL_INSTANCE; - default: - return null; + case 0: return TARGET_UNSPECIFIED; + case 1: return PEERING_VPC; + case 2: return VPN_GATEWAY; + case 3: return INTERCONNECT; + case 4: return GKE_MASTER; + case 5: return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; + case 6: return CLOUD_SQL_INSTANCE; + 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< + Target> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Target findValueByNumber(int number) { + return Target.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Target findValueByNumber(int number) { - return Target.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ForwardInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ForwardInfo.getDescriptor().getEnumTypes().get(0); } private static final Target[] VALUES = values(); - public static Target valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Target valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -318,53 +265,38 @@ private Target(int value) { public static final int TARGET_FIELD_NUMBER = 1; private int target_ = 0; /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return The target. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = - com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -373,29 +305,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -404,7 +336,6 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,10 +347,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (target_ - != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (target_ != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -434,10 +364,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ - != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); + if (target_ != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -450,16 +379,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.networkmanagement.v1.ForwardInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ForwardInfo other = - (com.google.cloud.networkmanagement.v1.ForwardInfo) obj; + com.google.cloud.networkmanagement.v1.ForwardInfo other = (com.google.cloud.networkmanagement.v1.ForwardInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -481,135 +410,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo 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.networkmanagement.v1.ForwardInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ForwardInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "forward" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ForwardInfo) com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardInfo.class, - com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardInfo.class, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ForwardInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +543,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; } @java.lang.Override @@ -641,11 +564,8 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo buildPartial() { - com.google.cloud.networkmanagement.v1.ForwardInfo result = - new com.google.cloud.networkmanagement.v1.ForwardInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.ForwardInfo result = new com.google.cloud.networkmanagement.v1.ForwardInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -664,39 +584,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ForwardInfo 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.networkmanagement.v1.ForwardInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardInfo)other); } else { super.mergeFrom(other); return this; @@ -704,8 +623,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ForwardInfo other) { - if (other == com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -740,25 +658,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = 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) { @@ -768,34 +683,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int target_ = 0; /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -806,33 +713,24 @@ public Builder setTargetValue(int value) { return this; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = - com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED : result; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @param value The target to set. * @return This builder for chaining. */ @@ -846,14 +744,11 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1.ForwardInfo.Targe return this; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -865,20 +760,18 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -887,21 +780,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -909,35 +801,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -947,30 +832,26 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -980,12 +861,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ForwardInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ForwardInfo) private static final com.google.cloud.networkmanagement.v1.ForwardInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ForwardInfo(); } @@ -994,27 +875,27 @@ public static com.google.cloud.networkmanagement.v1.ForwardInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardInfo 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 ForwardInfo 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; @@ -1029,4 +910,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.ForwardInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java similarity index 61% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java index 652e8b2bc570..48addf41e1ba 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface ForwardInfoOrBuilder - extends +public interface ForwardInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ForwardInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; - * * @return The target. */ com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget(); /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java index cc84b98e0f1d..f9c869058c61 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine forwarding rule.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardingRuleInfo} */ -public final class ForwardingRuleInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ForwardingRuleInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ForwardingRuleInfo) ForwardingRuleInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ForwardingRuleInfo.newBuilder() to construct. private ForwardingRuleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ForwardingRuleInfo() { displayName_ = ""; uri_ = ""; @@ -49,43 +31,38 @@ private ForwardingRuleInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ForwardingRuleInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -94,29 +71,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -125,18 +102,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -145,29 +118,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -176,18 +149,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int MATCHED_PROTOCOL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object matchedProtocol_ = ""; /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The matchedProtocol. */ @java.lang.Override @@ -196,29 +165,29 @@ public java.lang.String getMatchedProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; } } /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The bytes for matchedProtocol. */ @java.lang.Override - public com.google.protobuf.ByteString getMatchedProtocolBytes() { + public com.google.protobuf.ByteString + getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -227,18 +196,14 @@ public com.google.protobuf.ByteString getMatchedProtocolBytes() { } public static final int MATCHED_PORT_RANGE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object matchedPortRange_ = ""; /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The matchedPortRange. */ @java.lang.Override @@ -247,29 +212,29 @@ public java.lang.String getMatchedPortRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; } } /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The bytes for matchedPortRange. */ @java.lang.Override - public com.google.protobuf.ByteString getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString + getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -278,18 +243,14 @@ public com.google.protobuf.ByteString getMatchedPortRangeBytes() { } public static final int VIP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object vip_ = ""; /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The vip. */ @java.lang.Override @@ -298,29 +259,29 @@ public java.lang.String getVip() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; } } /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The bytes for vip. */ @java.lang.Override - public com.google.protobuf.ByteString getVipBytes() { + public com.google.protobuf.ByteString + getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vip_ = b; return b; } else { @@ -329,18 +290,14 @@ public com.google.protobuf.ByteString getVipBytes() { } public static final int TARGET_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @return The target. */ @java.lang.Override @@ -349,29 +306,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; } } /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @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 { @@ -380,18 +337,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ @java.lang.Override @@ -400,29 +353,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -431,7 +384,6 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,7 +395,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -503,21 +456,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.networkmanagement.v1.ForwardingRuleInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo other = - (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getMatchedProtocol().equals(other.getMatchedProtocol())) return false; - if (!getMatchedPortRange().equals(other.getMatchedPortRange())) return false; - if (!getVip().equals(other.getVip())) return false; - if (!getTarget().equals(other.getTarget())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo other = (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getMatchedProtocol() + .equals(other.getMatchedProtocol())) return false; + if (!getMatchedPortRange() + .equals(other.getMatchedPortRange())) return false; + if (!getVip() + .equals(other.getVip())) return false; + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -549,136 +508,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo 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.networkmanagement.v1.ForwardingRuleInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine forwarding rule.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardingRuleInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ForwardingRuleInfo) com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -694,9 +646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; } @java.lang.Override @@ -715,11 +667,8 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo buildPartial() { - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo result = - new com.google.cloud.networkmanagement.v1.ForwardingRuleInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo result = new com.google.cloud.networkmanagement.v1.ForwardingRuleInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -753,39 +702,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ForwardingRuleI public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardingRuleInfo)other); } else { super.mergeFrom(other); return this; @@ -793,8 +741,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo other) { - if (other == com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -856,55 +803,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - matchedProtocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - vip_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: - { - matchedPortRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + matchedProtocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + vip_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: { + matchedPortRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + networkUri_ = 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) { @@ -914,25 +853,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -941,21 +877,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -963,35 +898,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1001,21 +929,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1025,20 +949,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1047,21 +969,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1069,35 +990,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1107,21 +1021,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1131,20 +1041,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object matchedProtocol_ = ""; /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @return The matchedProtocol. */ public java.lang.String getMatchedProtocol() { java.lang.Object ref = matchedProtocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; @@ -1153,21 +1061,20 @@ public java.lang.String getMatchedProtocol() { } } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @return The bytes for matchedProtocol. */ - public com.google.protobuf.ByteString getMatchedProtocolBytes() { + public com.google.protobuf.ByteString + getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -1175,35 +1082,28 @@ public com.google.protobuf.ByteString getMatchedProtocolBytes() { } } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @param value The matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedProtocol( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } matchedProtocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @return This builder for chaining. */ public Builder clearMatchedProtocol() { @@ -1213,21 +1113,17 @@ public Builder clearMatchedProtocol() { return this; } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @param value The bytes for matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedProtocolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); matchedProtocol_ = value; bitField0_ |= 0x00000004; @@ -1237,20 +1133,18 @@ public Builder setMatchedProtocolBytes(com.google.protobuf.ByteString value) { private java.lang.Object matchedPortRange_ = ""; /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @return The matchedPortRange. */ public java.lang.String getMatchedPortRange() { java.lang.Object ref = matchedPortRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; @@ -1259,21 +1153,20 @@ public java.lang.String getMatchedPortRange() { } } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @return The bytes for matchedPortRange. */ - public com.google.protobuf.ByteString getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString + getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -1281,35 +1174,28 @@ public com.google.protobuf.ByteString getMatchedPortRangeBytes() { } } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @param value The matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedPortRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } matchedPortRange_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @return This builder for chaining. */ public Builder clearMatchedPortRange() { @@ -1319,21 +1205,17 @@ public Builder clearMatchedPortRange() { return this; } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @param value The bytes for matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedPortRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); matchedPortRange_ = value; bitField0_ |= 0x00000008; @@ -1343,20 +1225,18 @@ public Builder setMatchedPortRangeBytes(com.google.protobuf.ByteString value) { private java.lang.Object vip_ = ""; /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @return The vip. */ public java.lang.String getVip() { java.lang.Object ref = vip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; @@ -1365,21 +1245,20 @@ public java.lang.String getVip() { } } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @return The bytes for vip. */ - public com.google.protobuf.ByteString getVipBytes() { + public com.google.protobuf.ByteString + getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vip_ = b; return b; } else { @@ -1387,35 +1266,28 @@ public com.google.protobuf.ByteString getVipBytes() { } } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @param value The vip to set. * @return This builder for chaining. */ - public Builder setVip(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVip( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vip_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @return This builder for chaining. */ public Builder clearVip() { @@ -1425,21 +1297,17 @@ public Builder clearVip() { return this; } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @param value The bytes for vip to set. * @return This builder for chaining. */ - public Builder setVipBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVipBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vip_ = value; bitField0_ |= 0x00000010; @@ -1449,20 +1317,18 @@ public Builder setVipBytes(com.google.protobuf.ByteString value) { private java.lang.Object target_ = ""; /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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; @@ -1471,21 +1337,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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 { @@ -1493,35 +1358,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1531,21 +1389,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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_ |= 0x00000020; @@ -1555,20 +1409,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1577,21 +1429,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1599,35 +1450,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1637,30 +1481,26 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = 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); } @@ -1670,12 +1510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ForwardingRuleInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ForwardingRuleInfo) private static final com.google.cloud.networkmanagement.v1.ForwardingRuleInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ForwardingRuleInfo(); } @@ -1684,27 +1524,27 @@ public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardingRuleInfo 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 ForwardingRuleInfo 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; @@ -1719,4 +1559,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java index 9c8c5c37f9e1..a2daf6585fa8 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java @@ -1,200 +1,149 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface ForwardingRuleInfoOrBuilder - extends +public interface ForwardingRuleInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ForwardingRuleInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The matchedProtocol. */ java.lang.String getMatchedProtocol(); /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The bytes for matchedProtocol. */ - com.google.protobuf.ByteString getMatchedProtocolBytes(); + com.google.protobuf.ByteString + getMatchedProtocolBytes(); /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The matchedPortRange. */ java.lang.String getMatchedPortRange(); /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The bytes for matchedPortRange. */ - com.google.protobuf.ByteString getMatchedPortRangeBytes(); + com.google.protobuf.ByteString + getMatchedPortRangeBytes(); /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The vip. */ java.lang.String getVip(); /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The bytes for vip. */ - com.google.protobuf.ByteString getVipBytes(); + com.google.protobuf.ByteString + getVipBytes(); /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java index a6acaedc05ea..503ea3507f22 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
  * cluster master.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.GKEMasterInfo}
  */
-public final class GKEMasterInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GKEMasterInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.GKEMasterInfo)
     GKEMasterInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GKEMasterInfo.newBuilder() to construct.
   private GKEMasterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GKEMasterInfo() {
     clusterUri_ = "";
     clusterNetworkUri_ = "";
@@ -47,43 +29,38 @@ private GKEMasterInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GKEMasterInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.GKEMasterInfo.class,
-            com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
   }
 
   public static final int CLUSTER_URI_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object clusterUri_ = "";
   /**
-   *
-   *
    * 
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The clusterUri. */ @java.lang.Override @@ -92,29 +69,29 @@ public java.lang.String getClusterUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; } } /** - * - * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The bytes for clusterUri. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterUriBytes() { + public com.google.protobuf.ByteString + getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -123,18 +100,14 @@ public com.google.protobuf.ByteString getClusterUriBytes() { } public static final int CLUSTER_NETWORK_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object clusterNetworkUri_ = ""; /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The clusterNetworkUri. */ @java.lang.Override @@ -143,29 +116,29 @@ public java.lang.String getClusterNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; } } /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The bytes for clusterNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString + getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -174,18 +147,14 @@ public com.google.protobuf.ByteString getClusterNetworkUriBytes() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ @java.lang.Override @@ -194,29 +163,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -225,18 +194,14 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ @java.lang.Override @@ -245,29 +210,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -276,7 +241,6 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterUri_); } @@ -330,18 +295,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.GKEMasterInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.GKEMasterInfo other = - (com.google.cloud.networkmanagement.v1.GKEMasterInfo) obj; - - if (!getClusterUri().equals(other.getClusterUri())) return false; - if (!getClusterNetworkUri().equals(other.getClusterNetworkUri())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; + com.google.cloud.networkmanagement.v1.GKEMasterInfo other = (com.google.cloud.networkmanagement.v1.GKEMasterInfo) obj; + + if (!getClusterUri() + .equals(other.getClusterUri())) return false; + if (!getClusterNetworkUri() + .equals(other.getClusterNetworkUri())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -367,103 +335,96 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo 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.networkmanagement.v1.GKEMasterInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.GKEMasterInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
    * cluster master.
@@ -471,32 +432,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.GKEMasterInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.GKEMasterInfo)
       com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.GKEMasterInfo.class,
-              com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.GKEMasterInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -509,9 +471,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
@@ -530,11 +492,8 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.GKEMasterInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1.GKEMasterInfo result =
-          new com.google.cloud.networkmanagement.v1.GKEMasterInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.networkmanagement.v1.GKEMasterInfo result = new com.google.cloud.networkmanagement.v1.GKEMasterInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -559,39 +518,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.GKEMasterInfo 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.networkmanagement.v1.GKEMasterInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.GKEMasterInfo) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.GKEMasterInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1.GKEMasterInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance()) return this;
       if (!other.getClusterUri().isEmpty()) {
         clusterUri_ = other.clusterUri_;
         bitField0_ |= 0x00000001;
@@ -647,37 +604,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                clusterUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            case 34:
-              {
-                clusterNetworkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-            case 42:
-              {
-                internalIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            case 50:
-              {
-                externalIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              clusterUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            case 34: {
+              clusterNetworkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 34
+            case 42: {
+              internalIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 42
+            case 50: {
+              externalIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              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) {
@@ -687,25 +639,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object clusterUri_ = "";
     /**
-     *
-     *
      * 
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @return The clusterUri. */ public java.lang.String getClusterUri() { java.lang.Object ref = clusterUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; @@ -714,21 +663,20 @@ public java.lang.String getClusterUri() { } } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @return The bytes for clusterUri. */ - public com.google.protobuf.ByteString getClusterUriBytes() { + public com.google.protobuf.ByteString + getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -736,35 +684,28 @@ public com.google.protobuf.ByteString getClusterUriBytes() { } } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @param value The clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @return This builder for chaining. */ public Builder clearClusterUri() { @@ -774,21 +715,17 @@ public Builder clearClusterUri() { return this; } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @param value The bytes for clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterUri_ = value; bitField0_ |= 0x00000001; @@ -798,20 +735,18 @@ public Builder setClusterUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterNetworkUri_ = ""; /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @return The clusterNetworkUri. */ public java.lang.String getClusterNetworkUri() { java.lang.Object ref = clusterNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; @@ -820,21 +755,20 @@ public java.lang.String getClusterNetworkUri() { } } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @return The bytes for clusterNetworkUri. */ - public com.google.protobuf.ByteString getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString + getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -842,35 +776,28 @@ public com.google.protobuf.ByteString getClusterNetworkUriBytes() { } } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @param value The clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterNetworkUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @return This builder for chaining. */ public Builder clearClusterNetworkUri() { @@ -880,21 +807,17 @@ public Builder clearClusterNetworkUri() { return this; } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @param value The bytes for clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterNetworkUri_ = value; bitField0_ |= 0x00000002; @@ -904,20 +827,18 @@ public Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -926,21 +847,20 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -948,35 +868,28 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } internalIp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -986,21 +899,17 @@ public Builder clearInternalIp() { return this; } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000004; @@ -1010,20 +919,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1032,21 +939,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1054,35 +960,28 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } externalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1092,30 +991,26 @@ public Builder clearExternalIp() { return this; } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalIp_ = 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); } @@ -1125,12 +1020,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.GKEMasterInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.GKEMasterInfo) private static final com.google.cloud.networkmanagement.v1.GKEMasterInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.GKEMasterInfo(); } @@ -1139,27 +1034,27 @@ public static com.google.cloud.networkmanagement.v1.GKEMasterInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GKEMasterInfo 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 GKEMasterInfo 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; @@ -1174,4 +1069,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.GKEMasterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java similarity index 63% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java index 551267988a42..d35400c60a47 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java @@ -1,125 +1,89 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface GKEMasterInfoOrBuilder - extends +public interface GKEMasterInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.GKEMasterInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The clusterUri. */ java.lang.String getClusterUri(); /** - * - * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The bytes for clusterUri. */ - com.google.protobuf.ByteString getClusterUriBytes(); + com.google.protobuf.ByteString + getClusterUriBytes(); /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The clusterNetworkUri. */ java.lang.String getClusterNetworkUri(); /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The bytes for clusterNetworkUri. */ - com.google.protobuf.ByteString getClusterNetworkUriBytes(); + com.google.protobuf.ByteString + getClusterNetworkUriBytes(); /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java similarity index 64% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java index af6d97b1c9c2..70b6688305fc 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Request for the `GetConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.GetConnectivityTestRequest} */ -public final class GetConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) GetConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectivityTestRequest.newBuilder() to construct. private GetConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +134,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.networkmanagement.v1.GetConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +162,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest 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.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `GetConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.GetConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) com.google.cloud.networkmanagement.v1.GetConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance(); } @@ -346,17 +315,13 @@ public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest build() @java.lang.Override public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -367,50 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ 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) { @@ -464,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -492,22 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -515,37 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -555,31 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -589,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectivityTestRequest 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 GetConnectivityTestRequest 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; @@ -637,8 +579,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java similarity index 55% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java index ccd54598d1d3..1acf81905f76 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface GetConnectivityTestRequestOrBuilder - extends +public interface GetConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java index 1e33c6760ef8..6dfa47ae2a87 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.InstanceInfo} */ -public final class InstanceInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InstanceInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.InstanceInfo) InstanceInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InstanceInfo.newBuilder() to construct. private InstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstanceInfo() { displayName_ = ""; uri_ = ""; @@ -50,43 +32,38 @@ private InstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.InstanceInfo.class, - com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.InstanceInfo.class, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -95,29 +72,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -126,18 +103,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -146,29 +119,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -177,18 +150,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int INTERFACE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object interface_ = ""; /** - * - * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @return The interface. */ @java.lang.Override @@ -197,29 +166,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 network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @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 { @@ -228,18 +197,14 @@ public com.google.protobuf.ByteString getInterfaceBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ @java.lang.Override @@ -248,29 +213,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -279,18 +244,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ @java.lang.Override @@ -299,29 +260,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -330,18 +291,14 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ @java.lang.Override @@ -350,29 +307,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -381,46 +338,37 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } public static final int NETWORK_TAGS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList networkTags_; /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -428,71 +376,63 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -501,7 +441,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,7 +452,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -584,22 +524,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.networkmanagement.v1.InstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.InstanceInfo other = - (com.google.cloud.networkmanagement.v1.InstanceInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getInterface().equals(other.getInterface())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + com.google.cloud.networkmanagement.v1.InstanceInfo other = (com.google.cloud.networkmanagement.v1.InstanceInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getInterface() + .equals(other.getInterface())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -635,135 +582,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo 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.networkmanagement.v1.InstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.InstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.InstanceInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.InstanceInfo) com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.InstanceInfo.class, - com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.InstanceInfo.class, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.InstanceInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -781,9 +722,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; } @java.lang.Override @@ -802,18 +743,14 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.InstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1.InstanceInfo result = - new com.google.cloud.networkmanagement.v1.InstanceInfo(this); + com.google.cloud.networkmanagement.v1.InstanceInfo result = new com.google.cloud.networkmanagement.v1.InstanceInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.InstanceInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.InstanceInfo result) { if (((bitField0_ & 0x00000040) != 0)) { networkTags_ = networkTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); @@ -850,39 +787,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.InstanceInfo 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.networkmanagement.v1.InstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.InstanceInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.InstanceInfo)other); } else { super.mergeFrom(other); return this; @@ -890,8 +826,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.InstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -963,62 +898,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - interface_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 58 - case 66: - { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + interface_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 58 + case 66: { + serviceAccount_ = input.readStringRequireUtf8(); + 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) { @@ -1028,25 +954,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1055,21 +978,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1077,35 +999,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1115,21 +1030,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1139,20 +1050,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1161,21 +1070,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1183,35 +1091,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1221,21 +1122,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1245,20 +1142,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object interface_ = ""; /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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; @@ -1267,21 +1162,20 @@ public java.lang.String getInterface() { } } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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 { @@ -1289,35 +1183,28 @@ public com.google.protobuf.ByteString getInterfaceBytes() { } } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @return This builder for chaining. */ public Builder clearInterface() { @@ -1327,21 +1214,17 @@ public Builder clearInterface() { return this; } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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_ |= 0x00000004; @@ -1351,20 +1234,18 @@ public Builder setInterfaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1373,21 +1254,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1395,35 +1275,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1433,21 +1306,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000008; @@ -1457,20 +1326,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1479,21 +1346,20 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1501,35 +1367,28 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } internalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1539,21 +1398,17 @@ public Builder clearInternalIp() { return this; } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000010; @@ -1563,20 +1418,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1585,21 +1438,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1607,35 +1459,28 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } externalIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1645,21 +1490,17 @@ public Builder clearExternalIp() { return this; } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000020; @@ -1667,52 +1508,42 @@ public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList networkTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000040; - } + } } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -1720,90 +1551,76 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); onChanged(); return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -1813,21 +1630,17 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -1837,23 +1650,20 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The serviceAccount. */ - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1862,24 +1672,22 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1887,77 +1695,63 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setServiceAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearServiceAccount() { + @java.lang.Deprecated public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1967,12 +1761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.InstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.InstanceInfo) private static final com.google.cloud.networkmanagement.v1.InstanceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.InstanceInfo(); } @@ -1981,27 +1775,27 @@ public static com.google.cloud.networkmanagement.v1.InstanceInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceInfo 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 InstanceInfo 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; @@ -2016,4 +1810,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.InstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java index 0945d20ea38d..243907ac9d6c 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java @@ -1,257 +1,194 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface InstanceInfoOrBuilder - extends +public interface InstanceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.InstanceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @return The interface. */ java.lang.String getInterface(); /** - * - * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @return The bytes for interface. */ - com.google.protobuf.ByteString getInterfaceBytes(); + com.google.protobuf.ByteString + getInterfaceBytes(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The serviceAccount. */ - @java.lang.Deprecated - java.lang.String getServiceAccount(); + @java.lang.Deprecated java.lang.String getServiceAccount(); /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See - * google/cloud/networkmanagement/v1/trace.proto;l=232 + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getServiceAccountBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getServiceAccountBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java similarity index 72% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java index 823a4bc1eaff..53bdd33a88cb 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Request for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsRequest} */ -public final class ListConnectivityTestsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConnectivityTestsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) ListConnectivityTestsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectivityTestsRequest.newBuilder() to construct. private ListConnectivityTestsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectivityTestsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,44 +28,39 @@ private ListConnectivityTestsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectivityTestsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -92,30 +69,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,14 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -142,18 +116,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -162,29 +132,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; } } /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * 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 { @@ -193,12 +163,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -219,7 +186,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -228,15 +194,14 @@ 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; } } /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -257,15 +222,16 @@ public java.lang.String getFilter() {
    * 
* * 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 { @@ -274,18 +240,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -294,29 +256,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; } } /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -325,7 +287,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,7 +328,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -385,19 +348,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.networkmanagement.v1.ListConnectivityTestsRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest other = - (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) 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.networkmanagement.v1.ListConnectivityTestsRequest other = (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) 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; } @@ -425,138 +392,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -570,16 +528,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.getDefaultInstance(); } @java.lang.Override @@ -593,17 +549,13 @@ public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest build( @java.lang.Override public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest buildPartial() { - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result = - new com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -626,51 +578,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest other) { - if (other - == com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest other) { + if (other == com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -720,43 +667,37 @@ 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) { @@ -766,26 +707,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -794,22 +732,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -817,37 +754,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - 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. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -857,22 +787,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - 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; @@ -880,16 +806,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -897,33 +820,27 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -935,20 +852,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -957,21 +872,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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 { @@ -979,35 +893,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1017,21 +924,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -1041,8 +944,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1063,13 +964,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -1078,8 +979,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1100,14 +999,15 @@ public java.lang.String getFilter() {
      * 
* * 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 { @@ -1115,8 +1015,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1137,22 +1035,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * 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; } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1173,7 +1067,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1183,8 +1076,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1205,14 +1096,12 @@ public Builder clearFilter() {
      * 
* * 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; @@ -1222,20 +1111,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Field to use to sort the list.
      * 
* * 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; @@ -1244,21 +1131,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Field to use to sort the list.
      * 
* * 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 { @@ -1266,35 +1152,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Field to use to sort the list.
      * 
* * 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; } /** - * - * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1304,30 +1183,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Field to use to sort the list.
      * 
* * 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); } @@ -1337,43 +1212,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) - private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest(); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsRequest 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 ListConnectivityTestsRequest 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; @@ -1385,8 +1258,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java similarity index 78% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java index 100dfd43c2c0..b584be04d218 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java @@ -1,96 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface ListConnectivityTestsRequestOrBuilder - extends +public interface ListConnectivityTestsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -111,13 +80,10 @@ public interface ListConnectivityTestsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -138,33 +104,28 @@ public interface ListConnectivityTestsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java index bea91b2f707a..f9711493c628 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Response for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsResponse} */ -public final class ListConnectivityTestsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConnectivityTestsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) ListConnectivityTestsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectivityTestsResponse.newBuilder() to construct. private ListConnectivityTestsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectivityTestsResponse() { resources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,37 +27,33 @@ private ListConnectivityTestsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectivityTestsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); } public static final int RESOURCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List resources_; /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -87,8 +65,6 @@ public java.util.List ge return resources_; } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -96,13 +72,11 @@ public java.util.List ge * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -114,8 +88,6 @@ public int getResourcesCount() { return resources_.size(); } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -127,8 +99,6 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResources(int i return resources_.get(index); } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -142,18 +112,14 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResour } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,29 +128,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; } } /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 { @@ -193,46 +159,37 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -240,23 +197,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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; @@ -268,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -288,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, resources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -309,17 +265,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.networkmanagement.v1.ListConnectivityTestsResponse)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other = - (com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) obj; + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other = (com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) obj; - if (!getResourcesList().equals(other.getResourcesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getResourcesList() + .equals(other.getResourcesList())) 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; } @@ -347,138 +305,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -497,16 +446,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.getDefaultInstance(); } @java.lang.Override @@ -520,18 +467,14 @@ public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse build @java.lang.Override public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse buildPartial() { - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result = - new com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse(this); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { if (resourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resources_ = java.util.Collections.unmodifiableList(resources_); @@ -548,8 +491,7 @@ private void buildPartialRepeatedFields( result.unreachable_ = unreachable_; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -560,51 +502,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other) { - if (other - == com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other) { + if (other == com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.getDefaultInstance()) return this; if (resourcesBuilder_ == null) { if (!other.resources_.isEmpty()) { if (resources_.isEmpty()) { @@ -623,10 +560,9 @@ public Builder mergeFrom( resourcesBuilder_ = null; resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000001); - resourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResourcesFieldBuilder() - : null; + resourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResourcesFieldBuilder() : null; } else { resourcesBuilder_.addAllMessages(other.resources_); } @@ -673,40 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.networkmanagement.v1.ConnectivityTest m = - input.readMessage( - com.google.cloud.networkmanagement.v1.ConnectivityTest.parser(), - extensionRegistry); - if (resourcesBuilder_ == null) { - ensureResourcesIsMutable(); - resources_.add(m); - } else { - resourcesBuilder_.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.networkmanagement.v1.ConnectivityTest m = + input.readMessage( + com.google.cloud.networkmanagement.v1.ConnectivityTest.parser(), + extensionRegistry); + if (resourcesBuilder_ == null) { + ensureResourcesIsMutable(); + resources_.add(m); + } else { + resourcesBuilder_.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) { @@ -716,38 +648,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List resources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resources_ = - new java.util.ArrayList( - resources_); + resources_ = new java.util.ArrayList(resources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> - resourcesBuilder_; + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> resourcesBuilder_; /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -755,8 +677,6 @@ private void ensureResourcesIsMutable() { } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -771,8 +691,6 @@ public int getResourcesCount() { } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -787,8 +705,6 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResources(int i } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -810,8 +726,6 @@ public Builder setResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -830,8 +744,6 @@ public Builder setResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -852,8 +764,6 @@ public Builder addResources(com.google.cloud.networkmanagement.v1.ConnectivityTe return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -875,8 +785,6 @@ public Builder addResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -895,8 +803,6 @@ public Builder addResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -915,8 +821,6 @@ public Builder addResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -924,11 +828,11 @@ public Builder addResources( * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ public Builder addAllResources( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -936,8 +840,6 @@ public Builder addAllResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -955,8 +857,6 @@ public Builder clearResources() { return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -974,8 +874,6 @@ public Builder removeResources(int index) { return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -987,8 +885,6 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc return getResourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -998,22 +894,19 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourcesOrBuilder( int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); - } else { + return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -1021,8 +914,6 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResour } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -1030,12 +921,10 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResour * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourcesBuilder() { - return getResourcesFieldBuilder() - .addBuilder(com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -1044,36 +933,30 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourc */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder() - .addBuilder( - index, com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + index, com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); } /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( - resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( + resources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); resources_ = null; } return resourcesBuilder_; @@ -1081,20 +964,18 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourc private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -1103,21 +984,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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 { @@ -1125,35 +1005,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1163,21 +1036,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -1185,52 +1054,42 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1238,90 +1097,76 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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 (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1331,30 +1176,26 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1364,43 +1205,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) - private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse(); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsResponse 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 ListConnectivityTestsResponse 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; @@ -1412,8 +1251,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java similarity index 73% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java index e5c8cb79520e..f2a751f1a617 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface ListConnectivityTestsResponseOrBuilder - extends +public interface ListConnectivityTestsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - java.util.List getResourcesList(); + java.util.List + getResourcesList(); /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -44,8 +25,6 @@ public interface ListConnectivityTestsResponseOrBuilder */ com.google.cloud.networkmanagement.v1.ConnectivityTest getResources(int index); /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -54,100 +33,82 @@ public interface ListConnectivityTestsResponseOrBuilder */ int getResourcesCount(); /** - * - * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** - * - * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourcesOrBuilder(int index); + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourcesOrBuilder( + int index); /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * 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/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java index 95b755aa7835..fe17517f0fda 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a specific load balancer backend.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerBackend} */ -public final class LoadBalancerBackend extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoadBalancerBackend extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.LoadBalancerBackend) LoadBalancerBackendOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoadBalancerBackend.newBuilder() to construct. private LoadBalancerBackend(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoadBalancerBackend() { displayName_ = ""; uri_ = ""; @@ -47,44 +29,39 @@ private LoadBalancerBackend() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoadBalancerBackend(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); } /** - * - * *
    * State of a health check firewall configuration:
    * 
* - * Protobuf enum {@code - * google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState} + * Protobuf enum {@code google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState} */ - public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMessageEnum { + public enum HealthCheckFirewallState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * State is unspecified. Default state if not populated.
      * 
@@ -93,8 +70,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess */ HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED(0), /** - * - * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -104,8 +79,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
      */
     CONFIGURED(1),
     /**
-     *
-     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -121,8 +94,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
     ;
 
     /**
-     *
-     *
      * 
      * State is unspecified. Default state if not populated.
      * 
@@ -131,8 +102,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess */ public static final int HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -142,8 +111,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
      */
     public static final int CONFIGURED_VALUE = 1;
     /**
-     *
-     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -156,6 +123,7 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
      */
     public static final int MISCONFIGURED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -180,14 +148,10 @@ public static HealthCheckFirewallState valueOf(int value) {
      */
     public static HealthCheckFirewallState forNumber(int value) {
       switch (value) {
-        case 0:
-          return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
-        case 1:
-          return CONFIGURED;
-        case 2:
-          return MISCONFIGURED;
-        default:
-          return null;
+        case 0: return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
+        case 1: return CONFIGURED;
+        case 2: return MISCONFIGURED;
+        default: return null;
       }
     }
 
@@ -195,31 +159,29 @@ public static HealthCheckFirewallState forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        HealthCheckFirewallState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public HealthCheckFirewallState findValueByNumber(int number) {
+              return HealthCheckFirewallState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public HealthCheckFirewallState findValueByNumber(int number) {
-                return HealthCheckFirewallState.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final HealthCheckFirewallState[] VALUES = values();
@@ -227,7 +189,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static HealthCheckFirewallState 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;
@@ -245,18 +208,14 @@ private HealthCheckFirewallState(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -265,29 +224,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -296,18 +255,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -316,29 +271,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -349,88 +304,61 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int HEALTH_CHECK_FIREWALL_STATE_FIELD_NUMBER = 3; private int healthCheckFirewallState_ = 0; /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override - public int getHealthCheckFirewallStateValue() { + @java.lang.Override public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The healthCheckFirewallState. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - .forNumber(healthCheckFirewallState_); - return result == null - ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); + return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; } public static final int HEALTH_CHECK_ALLOWING_FIREWALL_RULES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_; /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_; } /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -438,62 +366,51 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } public static final int HEALTH_CHECK_BLOCKING_FIREWALL_RULES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_; /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_; } /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -501,23 +418,20 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,26 +443,22 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } - if (healthCheckFirewallState_ - != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED - .getNumber()) { + if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, healthCheckFirewallState_); } for (int i = 0; i < healthCheckAllowingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); } for (int i = 0; i < healthCheckBlockingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -565,11 +475,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } - if (healthCheckFirewallState_ - != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, healthCheckFirewallState_); + if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, healthCheckFirewallState_); } { int dataSize = 0; @@ -595,16 +503,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.networkmanagement.v1.LoadBalancerBackend)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.LoadBalancerBackend other = - (com.google.cloud.networkmanagement.v1.LoadBalancerBackend) obj; + com.google.cloud.networkmanagement.v1.LoadBalancerBackend other = (com.google.cloud.networkmanagement.v1.LoadBalancerBackend) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (healthCheckFirewallState_ != other.healthCheckFirewallState_) return false; if (!getHealthCheckAllowingFirewallRulesList() .equals(other.getHealthCheckAllowingFirewallRulesList())) return false; @@ -641,136 +550,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend 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.networkmanagement.v1.LoadBalancerBackend parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.LoadBalancerBackend prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a specific load balancer backend.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerBackend} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.LoadBalancerBackend) com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.LoadBalancerBackend.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -786,9 +688,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; } @java.lang.Override @@ -807,18 +709,14 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerBackend buildPartial() { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend result = - new com.google.cloud.networkmanagement.v1.LoadBalancerBackend(this); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend result = new com.google.cloud.networkmanagement.v1.LoadBalancerBackend(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.LoadBalancerBackend result) { if (((bitField0_ & 0x00000008) != 0)) { healthCheckAllowingFirewallRules_ = healthCheckAllowingFirewallRules_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -848,39 +746,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.LoadBalancerBac public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.LoadBalancerBackend) { - return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerBackend) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerBackend)other); } else { super.mergeFrom(other); return this; @@ -888,8 +785,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.LoadBalancerBackend other) { - if (other == com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -949,45 +845,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - healthCheckFirewallState_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckAllowingFirewallRulesIsMutable(); - healthCheckAllowingFirewallRules_.add(s); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckBlockingFirewallRulesIsMutable(); - healthCheckBlockingFirewallRules_.add(s); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + healthCheckFirewallState_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckAllowingFirewallRulesIsMutable(); + healthCheckAllowingFirewallRules_.add(s); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckBlockingFirewallRulesIsMutable(); + healthCheckBlockingFirewallRules_.add(s); + 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) { @@ -997,25 +887,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1024,21 +911,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1046,35 +932,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1084,21 +963,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1108,20 +983,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1130,21 +1003,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1152,35 +1024,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1190,21 +1055,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1214,33 +1075,22 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private int healthCheckFirewallState_ = 0; /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override - public int getHealthCheckFirewallStateValue() { + @java.lang.Override public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @param value The enum numeric value on the wire for healthCheckFirewallState to set. * @return This builder for chaining. */ @@ -1251,45 +1101,28 @@ public Builder setHealthCheckFirewallStateValue(int value) { return this; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The healthCheckFirewallState. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - .forNumber(healthCheckFirewallState_); - return result == null - ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - .UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); + return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @param value The healthCheckFirewallState to set. * @return This builder for chaining. */ - public Builder setHealthCheckFirewallState( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState value) { + public Builder setHealthCheckFirewallState(com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState value) { if (value == null) { throw new NullPointerException(); } @@ -1299,16 +1132,11 @@ public Builder setHealthCheckFirewallState( return this; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return This builder for chaining. */ public Builder clearHealthCheckFirewallState() { @@ -1318,53 +1146,42 @@ public Builder clearHealthCheckFirewallState() { return this; } - private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureHealthCheckAllowingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - healthCheckAllowingFirewallRules_ = - new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); + healthCheckAllowingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_.getUnmodifiableView(); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -1372,72 +1189,59 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index to set the value at. * @param value The healthCheckAllowingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckAllowingFirewallRules(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckAllowingFirewallRules( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param value The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRules(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckAllowingFirewallRules( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param values The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ @@ -1450,14 +1254,11 @@ public Builder addAllHealthCheckAllowingFirewallRules( return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return This builder for chaining. */ public Builder clearHealthCheckAllowingFirewallRules() { @@ -1467,21 +1268,17 @@ public Builder clearHealthCheckAllowingFirewallRules() { return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param value The bytes of the healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckAllowingFirewallRulesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); @@ -1489,53 +1286,42 @@ public Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.Byte return this; } - private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureHealthCheckBlockingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - healthCheckBlockingFirewallRules_ = - new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); + healthCheckBlockingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_.getUnmodifiableView(); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -1543,72 +1329,59 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index to set the value at. * @param value The healthCheckBlockingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckBlockingFirewallRules(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckBlockingFirewallRules( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param value The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRules(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckBlockingFirewallRules( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param values The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ @@ -1621,14 +1394,11 @@ public Builder addAllHealthCheckBlockingFirewallRules( return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return This builder for chaining. */ public Builder clearHealthCheckBlockingFirewallRules() { @@ -1638,30 +1408,26 @@ public Builder clearHealthCheckBlockingFirewallRules() { return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param value The bytes of the healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRulesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckBlockingFirewallRulesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1671,12 +1437,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.LoadBalancerBackend) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.LoadBalancerBackend) private static final com.google.cloud.networkmanagement.v1.LoadBalancerBackend DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.LoadBalancerBackend(); } @@ -1685,27 +1451,27 @@ public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerBackend 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 LoadBalancerBackend 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; @@ -1720,4 +1486,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.LoadBalancerBackend getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java index 7ef01f29d354..46fdc7b8a330 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java @@ -1,207 +1,150 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface LoadBalancerBackendOrBuilder - extends +public interface LoadBalancerBackendOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.LoadBalancerBackend) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The enum numeric value on the wire for healthCheckFirewallState. */ int getHealthCheckFirewallStateValue(); /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The healthCheckFirewallState. */ - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState - getHealthCheckFirewallState(); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState(); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return A list containing the healthCheckAllowingFirewallRules. */ - java.util.List getHealthCheckAllowingFirewallRulesList(); + java.util.List + getHealthCheckAllowingFirewallRulesList(); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return The count of healthCheckAllowingFirewallRules. */ int getHealthCheckAllowingFirewallRulesCount(); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ java.lang.String getHealthCheckAllowingFirewallRules(int index); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index); + com.google.protobuf.ByteString + getHealthCheckAllowingFirewallRulesBytes(int index); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return A list containing the healthCheckBlockingFirewallRules. */ - java.util.List getHealthCheckBlockingFirewallRulesList(); + java.util.List + getHealthCheckBlockingFirewallRulesList(); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return The count of healthCheckBlockingFirewallRules. */ int getHealthCheckBlockingFirewallRulesCount(); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ java.lang.String getHealthCheckBlockingFirewallRules(int index); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index); + com.google.protobuf.ByteString + getHealthCheckBlockingFirewallRulesBytes(int index); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java index c2ce88549137..b81697ebf69d 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a load balancer.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerInfo} */ -public final class LoadBalancerInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoadBalancerInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.LoadBalancerInfo) LoadBalancerInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoadBalancerInfo.newBuilder() to construct. private LoadBalancerInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoadBalancerInfo() { loadBalancerType_ = 0; healthCheckUri_ = ""; @@ -47,43 +29,39 @@ private LoadBalancerInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoadBalancerInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); } /** - * - * *
    * The type definition for a load balancer:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType} */ - public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type is unspecified.
      * 
@@ -92,8 +70,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Internal TCP/UDP load balancer.
      * 
@@ -102,8 +78,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ INTERNAL_TCP_UDP(1), /** - * - * *
      * Network TCP/UDP load balancer.
      * 
@@ -112,8 +86,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ NETWORK_TCP_UDP(2), /** - * - * *
      * HTTP(S) proxy load balancer.
      * 
@@ -122,8 +94,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ HTTP_PROXY(3), /** - * - * *
      * TCP proxy load balancer.
      * 
@@ -132,8 +102,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ TCP_PROXY(4), /** - * - * *
      * SSL proxy load balancer.
      * 
@@ -145,8 +113,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Type is unspecified.
      * 
@@ -155,8 +121,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Internal TCP/UDP load balancer.
      * 
@@ -165,8 +129,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTERNAL_TCP_UDP_VALUE = 1; /** - * - * *
      * Network TCP/UDP load balancer.
      * 
@@ -175,8 +137,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int NETWORK_TCP_UDP_VALUE = 2; /** - * - * *
      * HTTP(S) proxy load balancer.
      * 
@@ -185,8 +145,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTTP_PROXY_VALUE = 3; /** - * - * *
      * TCP proxy load balancer.
      * 
@@ -195,8 +153,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TCP_PROXY_VALUE = 4; /** - * - * *
      * SSL proxy load balancer.
      * 
@@ -205,6 +161,7 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SSL_PROXY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -229,51 +186,43 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: - return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: - return INTERNAL_TCP_UDP; - case 2: - return NETWORK_TCP_UDP; - case 3: - return HTTP_PROXY; - case 4: - return TCP_PROXY; - case 5: - return SSL_PROXY; - default: - return null; + case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: return INTERNAL_TCP_UDP; + case 2: return NETWORK_TCP_UDP; + case 3: return HTTP_PROXY; + case 4: return TCP_PROXY; + case 5: return SSL_PROXY; + 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< + LoadBalancerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(0); } private static final LoadBalancerType[] VALUES = values(); @@ -281,7 +230,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LoadBalancerType 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; @@ -299,18 +249,15 @@ private LoadBalancerType(int value) { } /** - * - * *
    * The type definition for a load balancer backend configuration:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType} */ - public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { + public enum BackendType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type is unspecified.
      * 
@@ -319,8 +266,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ BACKEND_TYPE_UNSPECIFIED(0), /** - * - * *
      * Backend Service as the load balancer's backend.
      * 
@@ -329,8 +274,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ BACKEND_SERVICE(1), /** - * - * *
      * Target Pool as the load balancer's backend.
      * 
@@ -342,8 +285,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type is unspecified.
      * 
@@ -352,8 +293,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BACKEND_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Backend Service as the load balancer's backend.
      * 
@@ -362,8 +301,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BACKEND_SERVICE_VALUE = 1; /** - * - * *
      * Target Pool as the load balancer's backend.
      * 
@@ -372,6 +309,7 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_POOL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -396,51 +334,49 @@ public static BackendType valueOf(int value) { */ public static BackendType forNumber(int value) { switch (value) { - case 0: - return BACKEND_TYPE_UNSPECIFIED; - case 1: - return BACKEND_SERVICE; - case 2: - return TARGET_POOL; - default: - return null; + case 0: return BACKEND_TYPE_UNSPECIFIED; + case 1: return BACKEND_SERVICE; + case 2: return TARGET_POOL; + 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< + BackendType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public BackendType findValueByNumber(int number) { + return BackendType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BackendType findValueByNumber(int number) { - return BackendType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(1); } private static final BackendType[] VALUES = values(); - public static BackendType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BackendType 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; @@ -460,59 +396,38 @@ private BackendType(int value) { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 1; private int loadBalancerType_ = 0; /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The loadBalancerType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType - getLoadBalancerType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber( - loadBalancerType_); - return result == null - ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); + return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; } public static final int HEALTH_CHECK_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object healthCheckUri_ = ""; /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The healthCheckUri. */ @java.lang.Override @@ -521,29 +436,29 @@ public java.lang.String getHealthCheckUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; } } /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The bytes for healthCheckUri. */ @java.lang.Override - public com.google.protobuf.ByteString getHealthCheckUriBytes() { + public com.google.protobuf.ByteString + getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -552,12 +467,9 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { } public static final int BACKENDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List backends_; /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -565,13 +477,10 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List - getBackendsList() { + public java.util.List getBackendsList() { return backends_; } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -579,14 +488,11 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> + public java.util.List getBackendsOrBuilderList() { return backends_; } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -598,8 +504,6 @@ public int getBackendsCount() { return backends_.size(); } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -611,8 +515,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend getBackends(int return backends_.get(index); } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -628,53 +530,38 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBac public static final int BACKEND_TYPE_FIELD_NUMBER = 4; private int backendType_ = 0; /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override - public int getBackendTypeValue() { + @java.lang.Override public int getBackendTypeValue() { return backendType_; } /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * * @return The backendType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber(backendType_); - return result == null - ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType() { + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber(backendType_); + return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; } public static final int BACKEND_URI_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object backendUri_ = ""; /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The backendUri. */ @java.lang.Override @@ -683,29 +570,29 @@ public java.lang.String getBackendUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; } } /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The bytes for backendUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBackendUriBytes() { + public com.google.protobuf.ByteString + getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backendUri_ = b; return b; } else { @@ -714,7 +601,6 @@ public com.google.protobuf.ByteString getBackendUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -726,11 +612,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (loadBalancerType_ - != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType - .LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (loadBalancerType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { @@ -739,10 +623,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < backends_.size(); i++) { output.writeMessage(3, backends_.get(i)); } - if (backendType_ - != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType - .BACKEND_TYPE_UNSPECIFIED - .getNumber()) { + if (backendType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { @@ -757,23 +638,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (loadBalancerType_ - != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType - .LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, loadBalancerType_); + if (loadBalancerType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, healthCheckUri_); } for (int i = 0; i < backends_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, backends_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, backends_.get(i)); } - if (backendType_ - != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType - .BACKEND_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, backendType_); + if (backendType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, backendUri_); @@ -786,19 +664,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.networkmanagement.v1.LoadBalancerInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.LoadBalancerInfo other = - (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) obj; + com.google.cloud.networkmanagement.v1.LoadBalancerInfo other = (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) obj; if (loadBalancerType_ != other.loadBalancerType_) return false; - if (!getHealthCheckUri().equals(other.getHealthCheckUri())) return false; - if (!getBackendsList().equals(other.getBackendsList())) return false; + if (!getHealthCheckUri() + .equals(other.getHealthCheckUri())) return false; + if (!getBackendsList() + .equals(other.getBackendsList())) return false; if (backendType_ != other.backendType_) return false; - if (!getBackendUri().equals(other.getBackendUri())) return false; + if (!getBackendUri() + .equals(other.getBackendUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -828,136 +708,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo 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.networkmanagement.v1.LoadBalancerInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.LoadBalancerInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a load balancer.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.LoadBalancerInfo) com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.LoadBalancerInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -977,9 +850,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; } @java.lang.Override @@ -998,18 +871,14 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo buildPartial() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo result = - new com.google.cloud.networkmanagement.v1.LoadBalancerInfo(this); + com.google.cloud.networkmanagement.v1.LoadBalancerInfo result = new com.google.cloud.networkmanagement.v1.LoadBalancerInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.LoadBalancerInfo result) { if (backendsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { backends_ = java.util.Collections.unmodifiableList(backends_); @@ -1041,39 +910,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.LoadBalancerInf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.LoadBalancerInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerInfo)other); } else { super.mergeFrom(other); return this; @@ -1081,8 +949,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.LoadBalancerInfo other) { - if (other == com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) return this; if (other.loadBalancerType_ != 0) { setLoadBalancerTypeValue(other.getLoadBalancerTypeValue()); } @@ -1109,10 +976,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.LoadBalancerInfo backendsBuilder_ = null; backends_ = other.backends_; bitField0_ = (bitField0_ & ~0x00000004); - backendsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBackendsFieldBuilder() - : null; + backendsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBackendsFieldBuilder() : null; } else { backendsBuilder_.addAllMessages(other.backends_); } @@ -1152,51 +1018,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - loadBalancerType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - healthCheckUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend m = - input.readMessage( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.parser(), - extensionRegistry); - if (backendsBuilder_ == null) { - ensureBackendsIsMutable(); - backends_.add(m); - } else { - backendsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - backendType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - backendUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + loadBalancerType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + healthCheckUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.cloud.networkmanagement.v1.LoadBalancerBackend m = + input.readMessage( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.parser(), + extensionRegistry); + if (backendsBuilder_ == null) { + ensureBackendsIsMutable(); + backends_.add(m); + } else { + backendsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + backendType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + backendUri_ = 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) { @@ -1206,38 +1066,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int loadBalancerType_ = 0; /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ @@ -1248,44 +1096,28 @@ public Builder setLoadBalancerTypeValue(int value) { return this; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The loadBalancerType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType - getLoadBalancerType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber( - loadBalancerType_); - return result == null - ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); + return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType value) { + public Builder setLoadBalancerType(com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } @@ -1295,16 +1127,11 @@ public Builder setLoadBalancerType( return this; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return This builder for chaining. */ public Builder clearLoadBalancerType() { @@ -1316,20 +1143,18 @@ public Builder clearLoadBalancerType() { private java.lang.Object healthCheckUri_ = ""; /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @return The healthCheckUri. */ public java.lang.String getHealthCheckUri() { java.lang.Object ref = healthCheckUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; @@ -1338,21 +1163,20 @@ public java.lang.String getHealthCheckUri() { } } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @return The bytes for healthCheckUri. */ - public com.google.protobuf.ByteString getHealthCheckUriBytes() { + public com.google.protobuf.ByteString + getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -1360,35 +1184,28 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { } } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @param value The healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } healthCheckUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @return This builder for chaining. */ public Builder clearHealthCheckUri() { @@ -1398,21 +1215,17 @@ public Builder clearHealthCheckUri() { return this; } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @param value The bytes for healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); healthCheckUri_ = value; bitField0_ |= 0x00000002; @@ -1421,34 +1234,25 @@ public Builder setHealthCheckUriBytes(com.google.protobuf.ByteString value) { } private java.util.List backends_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureBackendsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - backends_ = - new java.util.ArrayList( - backends_); + backends_ = new java.util.ArrayList(backends_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerBackend, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, - com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> - backendsBuilder_; + com.google.cloud.networkmanagement.v1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> backendsBuilder_; /** - * - * *
      * Information for the loadbalancer backends.
      * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - public java.util.List - getBackendsList() { + public java.util.List getBackendsList() { if (backendsBuilder_ == null) { return java.util.Collections.unmodifiableList(backends_); } else { @@ -1456,8 +1260,6 @@ private void ensureBackendsIsMutable() { } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1472,8 +1274,6 @@ public int getBackendsCount() { } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1488,8 +1288,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend getBackends(int } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1511,8 +1309,6 @@ public Builder setBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1520,8 +1316,7 @@ public Builder setBackends( * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public Builder setBackends( - int index, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.set(index, builderForValue.build()); @@ -1532,8 +1327,6 @@ public Builder setBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1554,8 +1347,6 @@ public Builder addBackends(com.google.cloud.networkmanagement.v1.LoadBalancerBac return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1577,8 +1368,6 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1597,8 +1386,6 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1606,8 +1393,7 @@ public Builder addBackends( * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public Builder addBackends( - int index, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.add(index, builderForValue.build()); @@ -1618,8 +1404,6 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1627,11 +1411,11 @@ public Builder addBackends( * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public Builder addAllBackends( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backends_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, backends_); onChanged(); } else { backendsBuilder_.addAllMessages(values); @@ -1639,8 +1423,6 @@ public Builder addAllBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1658,8 +1440,6 @@ public Builder clearBackends() { return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1677,8 +1457,6 @@ public Builder removeBackends(int index) { return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1690,8 +1468,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder getBack return getBackendsFieldBuilder().getBuilder(index); } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1701,23 +1477,19 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder getBack public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBackendsOrBuilder( int index) { if (backendsBuilder_ == null) { - return backends_.get(index); - } else { + return backends_.get(index); } else { return backendsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> - getBackendsOrBuilderList() { + public java.util.List + getBackendsOrBuilderList() { if (backendsBuilder_ != null) { return backendsBuilder_.getMessageOrBuilderList(); } else { @@ -1725,8 +1497,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBac } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1734,13 +1504,10 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBac * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBackendsBuilder() { - return getBackendsFieldBuilder() - .addBuilder( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); + return getBackendsFieldBuilder().addBuilder( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); } /** - * - * *
      * Information for the loadbalancer backends.
      * 
@@ -1749,37 +1516,30 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBack */ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBackendsBuilder( int index) { - return getBackendsFieldBuilder() - .addBuilder( - index, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); + return getBackendsFieldBuilder().addBuilder( + index, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - public java.util.List - getBackendsBuilderList() { + public java.util.List + getBackendsBuilderList() { return getBackendsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerBackend, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, - com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> + com.google.cloud.networkmanagement.v1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> getBackendsFieldBuilder() { if (backendsBuilder_ == null) { - backendsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerBackend, - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, - com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder>( - backends_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + backendsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder>( + backends_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); backends_ = null; } return backendsBuilder_; @@ -1787,31 +1547,22 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBack private int backendType_ = 0; /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override - public int getBackendTypeValue() { + @java.lang.Override public int getBackendTypeValue() { return backendType_; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; * @param value The enum numeric value on the wire for backendType to set. * @return This builder for chaining. */ @@ -1822,41 +1573,28 @@ public Builder setBackendTypeValue(int value) { return this; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; * @return The backendType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber( - backendType_); - return result == null - ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber(backendType_); + return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; * @param value The backendType to set. * @return This builder for chaining. */ - public Builder setBackendType( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType value) { + public Builder setBackendType(com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType value) { if (value == null) { throw new NullPointerException(); } @@ -1866,15 +1604,11 @@ public Builder setBackendType( return this; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; * @return This builder for chaining. */ public Builder clearBackendType() { @@ -1886,20 +1620,18 @@ public Builder clearBackendType() { private java.lang.Object backendUri_ = ""; /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @return The backendUri. */ public java.lang.String getBackendUri() { java.lang.Object ref = backendUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; @@ -1908,21 +1640,20 @@ public java.lang.String getBackendUri() { } } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @return The bytes for backendUri. */ - public com.google.protobuf.ByteString getBackendUriBytes() { + public com.google.protobuf.ByteString + getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backendUri_ = b; return b; } else { @@ -1930,35 +1661,28 @@ public com.google.protobuf.ByteString getBackendUriBytes() { } } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @param value The backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackendUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backendUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @return This builder for chaining. */ public Builder clearBackendUri() { @@ -1968,30 +1692,26 @@ public Builder clearBackendUri() { return this; } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @param value The bytes for backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackendUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backendUri_ = 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); } @@ -2001,12 +1721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.LoadBalancerInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.LoadBalancerInfo) private static final com.google.cloud.networkmanagement.v1.LoadBalancerInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.LoadBalancerInfo(); } @@ -2015,27 +1735,27 @@ public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerInfo 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 LoadBalancerInfo 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; @@ -2050,4 +1770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java similarity index 72% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java index b24cc0262270..8ccdb855348d 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java @@ -1,95 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface LoadBalancerInfoOrBuilder - extends +public interface LoadBalancerInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.LoadBalancerInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The loadBalancerType. */ com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType(); /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The healthCheckUri. */ java.lang.String getHealthCheckUri(); /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The bytes for healthCheckUri. */ - com.google.protobuf.ByteString getHealthCheckUriBytes(); + com.google.protobuf.ByteString + getHealthCheckUriBytes(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - java.util.List getBackendsList(); + java.util.List + getBackendsList(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -98,8 +64,6 @@ public interface LoadBalancerInfoOrBuilder */ com.google.cloud.networkmanagement.v1.LoadBalancerBackend getBackends(int index); /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -108,19 +72,15 @@ public interface LoadBalancerInfoOrBuilder */ int getBackendsCount(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - java.util.List + java.util.List getBackendsOrBuilderList(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -131,52 +91,41 @@ com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBackendsOr int index); /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * * @return The enum numeric value on the wire for backendType. */ int getBackendTypeValue(); /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; - * * @return The backendType. */ com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType(); /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The backendUri. */ java.lang.String getBackendUri(); /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The bytes for backendUri. */ - com.google.protobuf.ByteString getBackendUriBytes(); + com.google.protobuf.ByteString + getBackendUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java index 49e1544fdbf5..b45252ff0b1e 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine network.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.NetworkInfo} */ -public final class NetworkInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NetworkInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.NetworkInfo) NetworkInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NetworkInfo.newBuilder() to construct. private NetworkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkInfo() { displayName_ = ""; uri_ = ""; @@ -45,43 +27,38 @@ private NetworkInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.NetworkInfo.class, - com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1.NetworkInfo.class, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -172,18 +145,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int MATCHED_IP_RANGE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object matchedIpRange_ = ""; /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The matchedIpRange. */ @java.lang.Override @@ -192,29 +161,29 @@ public java.lang.String getMatchedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; } } /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The bytes for matchedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString + getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -223,7 +192,6 @@ public com.google.protobuf.ByteString getMatchedIpRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -271,17 +240,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.networkmanagement.v1.NetworkInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.NetworkInfo other = - (com.google.cloud.networkmanagement.v1.NetworkInfo) obj; + com.google.cloud.networkmanagement.v1.NetworkInfo other = (com.google.cloud.networkmanagement.v1.NetworkInfo) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getMatchedIpRange().equals(other.getMatchedIpRange())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getMatchedIpRange() + .equals(other.getMatchedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,135 +276,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo 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.networkmanagement.v1.NetworkInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.NetworkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine network.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.NetworkInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.NetworkInfo) com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.NetworkInfo.class, - com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1.NetworkInfo.class, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.NetworkInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; } @java.lang.Override @@ -466,11 +431,8 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.NetworkInfo buildPartial() { - com.google.cloud.networkmanagement.v1.NetworkInfo result = - new com.google.cloud.networkmanagement.v1.NetworkInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.NetworkInfo result = new com.google.cloud.networkmanagement.v1.NetworkInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -492,39 +454,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.NetworkInfo 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.networkmanagement.v1.NetworkInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.NetworkInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.NetworkInfo)other); } else { super.mergeFrom(other); return this; @@ -532,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.NetworkInfo other) { - if (other == com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -575,31 +535,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - matchedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + matchedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -609,25 +565,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -636,21 +589,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -658,35 +610,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -696,21 +641,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -720,20 +661,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -742,21 +681,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -764,35 +702,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -802,21 +733,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -826,20 +753,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object matchedIpRange_ = ""; /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @return The matchedIpRange. */ public java.lang.String getMatchedIpRange() { java.lang.Object ref = matchedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; @@ -848,21 +773,20 @@ public java.lang.String getMatchedIpRange() { } } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @return The bytes for matchedIpRange. */ - public com.google.protobuf.ByteString getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString + getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -870,35 +794,28 @@ public com.google.protobuf.ByteString getMatchedIpRangeBytes() { } } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @param value The matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } matchedIpRange_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @return This builder for chaining. */ public Builder clearMatchedIpRange() { @@ -908,30 +825,26 @@ public Builder clearMatchedIpRange() { return this; } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @param value The bytes for matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); matchedIpRange_ = 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); } @@ -941,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.NetworkInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.NetworkInfo) private static final com.google.cloud.networkmanagement.v1.NetworkInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.NetworkInfo(); } @@ -955,27 +868,27 @@ public static com.google.cloud.networkmanagement.v1.NetworkInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkInfo 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 NetworkInfo 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; @@ -990,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.NetworkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java similarity index 59% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java index ec69c355ba9b..bcf72b5218ae 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java @@ -1,100 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface NetworkInfoOrBuilder - extends +public interface NetworkInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.NetworkInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The matchedIpRange. */ java.lang.String getMatchedIpRange(); /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The bytes for matchedIpRange. */ - com.google.protobuf.ByteString getMatchedIpRangeBytes(); + com.google.protobuf.ByteString + getMatchedIpRangeBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java similarity index 72% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java index a10491271500..6e0e7dccf663 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Metadata describing an [Operation][google.longrunning.Operation]
  * 
* * Protobuf type {@code google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,41 +28,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.OperationMetadata.class, - com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1.OperationMetadata.class, com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -88,14 +66,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -103,8 +78,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -119,14 +92,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -134,14 +104,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -149,8 +116,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -163,19 +128,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -184,30 +145,30 @@ 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; } } /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -216,18 +177,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -236,29 +193,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -267,18 +224,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_DETAIL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusDetail_ = ""; /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -287,29 +240,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -320,14 +273,11 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int CANCEL_REQUESTED_FIELD_NUMBER = 6; private boolean cancelRequested_ = false; /** - * - * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; - * * @return The cancelRequested. */ @java.lang.Override @@ -336,18 +286,14 @@ public boolean getCancelRequested() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ @java.lang.Override @@ -356,29 +302,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -387,7 +333,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -431,10 +377,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -446,7 +394,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_); } if (cancelRequested_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancelRequested_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, cancelRequested_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -459,27 +408,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.networkmanagement.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.OperationMetadata other = - (com.google.cloud.networkmanagement.v1.OperationMetadata) obj; + com.google.cloud.networkmanagement.v1.OperationMetadata other = (com.google.cloud.networkmanagement.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusDetail().equals(other.getStatusDetail())) return false; - if (getCancelRequested() != other.getCancelRequested()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (getCancelRequested() + != other.getCancelRequested()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -506,7 +461,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER; hash = (53 * hash) + getStatusDetail().hashCode(); hash = (37 * hash) + CANCEL_REQUESTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancelRequested()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCancelRequested()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -515,136 +471,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.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.networkmanagement.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.networkmanagement.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.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.networkmanagement.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.networkmanagement.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.networkmanagement.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata describing an [Operation][google.longrunning.Operation]
    * 
* * Protobuf type {@code google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata) com.google.cloud.networkmanagement.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.OperationMetadata.class, - com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1.OperationMetadata.class, com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -668,9 +617,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -689,11 +638,8 @@ public com.google.cloud.networkmanagement.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.OperationMetadata buildPartial() { - com.google.cloud.networkmanagement.v1.OperationMetadata result = - new com.google.cloud.networkmanagement.v1.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.OperationMetadata result = new com.google.cloud.networkmanagement.v1.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -701,10 +647,14 @@ public com.google.cloud.networkmanagement.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.networkmanagement.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -727,39 +677,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.OperationMetada public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.networkmanagement.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -767,8 +716,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.OperationMetadata other) { - if (other == com.google.cloud.networkmanagement.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -824,55 +772,51 @@ 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: - { - statusDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - cancelRequested_ = 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: { + statusDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + cancelRequested_ = 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) { @@ -882,52 +826,38 @@ 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_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -948,15 +878,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -967,8 +896,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -977,9 +904,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ 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; @@ -992,8 +919,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1011,8 +936,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1025,8 +948,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1037,14 +958,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1052,17 +970,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1070,33 +985,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1107,8 +1013,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1129,15 +1033,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1148,8 +1051,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1158,9 +1059,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ 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; @@ -1173,8 +1074,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1192,8 +1091,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1206,8 +1103,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1218,12 +1113,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1231,17 +1125,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1249,21 +1140,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1272,22 +1161,21 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1295,37 +1183,30 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @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; } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1335,22 +1216,18 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @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; @@ -1360,20 +1237,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1382,21 +1257,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1404,35 +1278,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - 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; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1442,21 +1309,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - 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; @@ -1466,20 +1329,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1488,21 +1349,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1510,35 +1370,28 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusDetail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusDetail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { @@ -1548,21 +1401,17 @@ public Builder clearStatusDetail() { return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusDetail_ = value; bitField0_ |= 0x00000010; @@ -1570,16 +1419,13 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { return this; } - private boolean cancelRequested_; + private boolean cancelRequested_ ; /** - * - * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; - * * @return The cancelRequested. */ @java.lang.Override @@ -1587,33 +1433,27 @@ public boolean getCancelRequested() { return cancelRequested_; } /** - * - * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; - * * @param value The cancelRequested to set. * @return This builder for chaining. */ public Builder setCancelRequested(boolean value) { - + cancelRequested_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; - * * @return This builder for chaining. */ public Builder clearCancelRequested() { @@ -1625,20 +1465,18 @@ public Builder clearCancelRequested() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1647,21 +1485,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1669,35 +1506,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @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; } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1707,30 +1537,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - 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); } @@ -1740,12 +1566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.OperationMetadata) private static final com.google.cloud.networkmanagement.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.OperationMetadata(); } @@ -1754,27 +1580,27 @@ public static com.google.cloud.networkmanagement.v1.OperationMetadata getDefault 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; @@ -1789,4 +1615,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java similarity index 75% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java index f23df362ca68..be952b980f55 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,117 +62,94 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; - * * @return The cancelRequested. */ boolean getCancelRequested(); /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java similarity index 75% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java index 725be39d10af..0dbb5adf065d 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * Results of the configuration analysis from the last run of the test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ReachabilityDetails} */ -public final class ReachabilityDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReachabilityDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ReachabilityDetails) ReachabilityDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReachabilityDetails.newBuilder() to construct. private ReachabilityDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReachabilityDetails() { result_ = 0; traces_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private ReachabilityDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReachabilityDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); } /** - * - * *
    * The overall result of the test's configuration analysis.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.ReachabilityDetails.Result} */ - public enum Result implements com.google.protobuf.ProtocolMessageEnum { + public enum Result + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No result was specified.
      * 
@@ -89,8 +67,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ RESULT_UNSPECIFIED(0), /** - * - * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -104,8 +80,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     REACHABLE(1),
     /**
-     *
-     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -115,8 +89,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNREACHABLE(2),
     /**
-     *
-     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -128,8 +100,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     AMBIGUOUS(4),
     /**
-     *
-     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -146,8 +116,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No result was specified.
      * 
@@ -156,8 +124,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -171,8 +137,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REACHABLE_VALUE = 1;
     /**
-     *
-     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -182,8 +146,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNREACHABLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -195,8 +157,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AMBIGUOUS_VALUE = 4;
     /**
-     *
-     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -210,6 +170,7 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNDETERMINED_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -234,55 +195,51 @@ public static Result valueOf(int value) {
      */
     public static Result forNumber(int value) {
       switch (value) {
-        case 0:
-          return RESULT_UNSPECIFIED;
-        case 1:
-          return REACHABLE;
-        case 2:
-          return UNREACHABLE;
-        case 4:
-          return AMBIGUOUS;
-        case 5:
-          return UNDETERMINED;
-        default:
-          return null;
+        case 0: return RESULT_UNSPECIFIED;
+        case 1: return REACHABLE;
+        case 2: return UNREACHABLE;
+        case 4: return AMBIGUOUS;
+        case 5: return UNDETERMINED;
+        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<
+        Result> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Result findValueByNumber(int number) {
+              return Result.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Result findValueByNumber(int number) {
-            return Result.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Result[] VALUES = values();
 
-    public static Result valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Result valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -302,51 +259,37 @@ private Result(int value) {
   public static final int RESULT_FIELD_NUMBER = 1;
   private int result_ = 0;
   /**
-   *
-   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return The result. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); - return result == null - ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult() { + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); + return result == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED : result; } public static final int VERIFY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp verifyTime_; /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ @java.lang.Override @@ -354,14 +297,11 @@ public boolean hasVerifyTime() { return verifyTime_ != null; } /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ @java.lang.Override @@ -369,8 +309,6 @@ public com.google.protobuf.Timestamp getVerifyTime() { return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } /** - * - * *
    * The time of the configuration analysis.
    * 
@@ -385,14 +323,11 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -400,14 +335,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override @@ -415,8 +347,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -429,12 +359,9 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } public static final int TRACES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List traces_; /** - * - * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -448,8 +375,6 @@ public java.util.List getTracesList
     return traces_;
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -459,13 +384,11 @@ public java.util.List getTracesList
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTracesOrBuilderList() {
     return traces_;
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -479,8 +402,6 @@ public int getTracesCount() {
     return traces_.size();
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -494,8 +415,6 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
     return traces_.get(index);
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -505,12 +424,12 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(int index) {
+  public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
+      int index) {
     return traces_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,10 +441,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (result_
-        != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (result_ != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, result_);
     }
     if (verifyTime_ != null) {
@@ -546,19 +464,21 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (result_
-        != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_);
+    if (result_ != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, result_);
     }
     if (verifyTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getVerifyTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getError());
     }
     for (int i = 0; i < traces_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, traces_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, traces_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -568,24 +488,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.networkmanagement.v1.ReachabilityDetails)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1.ReachabilityDetails other =
-        (com.google.cloud.networkmanagement.v1.ReachabilityDetails) obj;
+    com.google.cloud.networkmanagement.v1.ReachabilityDetails other = (com.google.cloud.networkmanagement.v1.ReachabilityDetails) obj;
 
     if (result_ != other.result_) return false;
     if (hasVerifyTime() != other.hasVerifyTime()) return false;
     if (hasVerifyTime()) {
-      if (!getVerifyTime().equals(other.getVerifyTime())) return false;
+      if (!getVerifyTime()
+          .equals(other.getVerifyTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
-    if (!getTracesList().equals(other.getTracesList())) return false;
+    if (!getTracesList()
+        .equals(other.getTracesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -617,136 +539,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails 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.networkmanagement.v1.ReachabilityDetails parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.networkmanagement.v1.ReachabilityDetails prototype) {
+  public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ReachabilityDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Results of the configuration analysis from the last run of the test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ReachabilityDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ReachabilityDetails) com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ReachabilityDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -773,9 +688,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; } @java.lang.Override @@ -794,18 +709,14 @@ public com.google.cloud.networkmanagement.v1.ReachabilityDetails build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails buildPartial() { - com.google.cloud.networkmanagement.v1.ReachabilityDetails result = - new com.google.cloud.networkmanagement.v1.ReachabilityDetails(this); + com.google.cloud.networkmanagement.v1.ReachabilityDetails result = new com.google.cloud.networkmanagement.v1.ReachabilityDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.ReachabilityDetails result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.ReachabilityDetails result) { if (tracesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { traces_ = java.util.Collections.unmodifiableList(traces_); @@ -823,10 +734,14 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ReachabilityDet result.result_ = result_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyTime_ = verifyTimeBuilder_ == null ? verifyTime_ : verifyTimeBuilder_.build(); + result.verifyTime_ = verifyTimeBuilder_ == null + ? verifyTime_ + : verifyTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + result.error_ = errorBuilder_ == null + ? error_ + : errorBuilder_.build(); } } @@ -834,39 +749,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ReachabilityDet public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ReachabilityDetails) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ReachabilityDetails) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ReachabilityDetails)other); } else { super.mergeFrom(other); return this; @@ -874,8 +788,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ReachabilityDetails other) { - if (other == com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -903,10 +816,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ReachabilityDetai tracesBuilder_ = null; traces_ = other.traces_; bitField0_ = (bitField0_ & ~0x00000008); - tracesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracesFieldBuilder() - : null; + tracesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracesFieldBuilder() : null; } else { tracesBuilder_.addAllMessages(other.traces_); } @@ -938,44 +850,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getVerifyTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - com.google.cloud.networkmanagement.v1.Trace m = - input.readMessage( - com.google.cloud.networkmanagement.v1.Trace.parser(), extensionRegistry); - if (tracesBuilder_ == null) { - ensureTracesIsMutable(); - traces_.add(m); - } else { - tracesBuilder_.addMessage(m); - } - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getVerifyTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + com.google.cloud.networkmanagement.v1.Trace m = + input.readMessage( + com.google.cloud.networkmanagement.v1.Trace.parser(), + extensionRegistry); + if (tracesBuilder_ == null) { + ensureTracesIsMutable(); + traces_.add(m); + } else { + tracesBuilder_.addMessage(m); + } + 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) { @@ -985,34 +897,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int result_ = 0; /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -1023,38 +927,28 @@ public Builder setResultValue(int value) { return this; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return The result. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); - return result == null - ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); + return result == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED : result; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result value) { + public Builder setResult(com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result value) { if (value == null) { throw new NullPointerException(); } @@ -1064,14 +958,11 @@ public Builder setResult( return this; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return This builder for chaining. */ public Builder clearResult() { @@ -1083,47 +974,34 @@ public Builder clearResult() { private com.google.protobuf.Timestamp verifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - verifyTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> verifyTimeBuilder_; /** - * - * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ public boolean hasVerifyTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ public com.google.protobuf.Timestamp getVerifyTime() { if (verifyTimeBuilder_ == null) { - return verifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : verifyTime_; + return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } else { return verifyTimeBuilder_.getMessage(); } } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1144,15 +1022,14 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; */ - public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setVerifyTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (verifyTimeBuilder_ == null) { verifyTime_ = builderForValue.build(); } else { @@ -1163,8 +1040,6 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1173,9 +1048,9 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { if (verifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && verifyTime_ != null - && verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + verifyTime_ != null && + verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getVerifyTimeBuilder().mergeFrom(value); } else { verifyTime_ = value; @@ -1188,8 +1063,6 @@ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1207,8 +1080,6 @@ public Builder clearVerifyTime() { return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1221,8 +1092,6 @@ public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder() { return getVerifyTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1233,14 +1102,11 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { if (verifyTimeBuilder_ != null) { return verifyTimeBuilder_.getMessageOrBuilder(); } else { - return verifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : verifyTime_; + return verifyTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1248,17 +1114,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { * .google.protobuf.Timestamp verify_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getVerifyTimeFieldBuilder() { if (verifyTimeBuilder_ == null) { - verifyTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getVerifyTime(), getParentForChildren(), isClean()); + verifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getVerifyTime(), + getParentForChildren(), + isClean()); verifyTime_ = null; } return verifyTimeBuilder_; @@ -1266,31 +1129,24 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -1301,8 +1157,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1323,15 +1177,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -1342,8 +1195,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1352,9 +1203,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && error_ != null - && error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + error_ != null && + error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -1367,8 +1218,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1386,8 +1235,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1400,8 +1247,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1412,12 +1257,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1425,38 +1269,32 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; } private java.util.List traces_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTracesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { traces_ = new java.util.ArrayList(traces_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Trace, - com.google.cloud.networkmanagement.v1.Trace.Builder, - com.google.cloud.networkmanagement.v1.TraceOrBuilder> - tracesBuilder_; + com.google.cloud.networkmanagement.v1.Trace, com.google.cloud.networkmanagement.v1.Trace.Builder, com.google.cloud.networkmanagement.v1.TraceOrBuilder> tracesBuilder_; /** - * - * *
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1473,8 +1311,6 @@ public java.util.List getTracesList
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1491,8 +1327,6 @@ public int getTracesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1509,8 +1343,6 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1519,7 +1351,8 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public Builder setTraces(int index, com.google.cloud.networkmanagement.v1.Trace value) {
+    public Builder setTraces(
+        int index, com.google.cloud.networkmanagement.v1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1533,8 +1366,6 @@ public Builder setTraces(int index, com.google.cloud.networkmanagement.v1.Trace
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1555,8 +1386,6 @@ public Builder setTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1579,8 +1408,6 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1589,7 +1416,8 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace value) {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public Builder addTraces(int index, com.google.cloud.networkmanagement.v1.Trace value) {
+    public Builder addTraces(
+        int index, com.google.cloud.networkmanagement.v1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1603,8 +1431,6 @@ public Builder addTraces(int index, com.google.cloud.networkmanagement.v1.Trace
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1613,7 +1439,8 @@ public Builder addTraces(int index, com.google.cloud.networkmanagement.v1.Trace
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace.Builder builderForValue) {
+    public Builder addTraces(
+        com.google.cloud.networkmanagement.v1.Trace.Builder builderForValue) {
       if (tracesBuilder_ == null) {
         ensureTracesIsMutable();
         traces_.add(builderForValue.build());
@@ -1624,8 +1451,6 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1646,8 +1471,6 @@ public Builder addTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1660,7 +1483,8 @@ public Builder addAllTraces(
         java.lang.Iterable values) {
       if (tracesBuilder_ == null) {
         ensureTracesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, traces_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, traces_);
         onChanged();
       } else {
         tracesBuilder_.addAllMessages(values);
@@ -1668,8 +1492,6 @@ public Builder addAllTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1689,8 +1511,6 @@ public Builder clearTraces() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1710,8 +1530,6 @@ public Builder removeTraces(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1720,12 +1538,11 @@ public Builder removeTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1.Trace.Builder getTracesBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1.Trace.Builder getTracesBuilder(
+        int index) {
       return getTracesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1734,16 +1551,14 @@ public com.google.cloud.networkmanagement.v1.Trace.Builder getTracesBuilder(int
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
+        int index) {
       if (tracesBuilder_ == null) {
-        return traces_.get(index);
-      } else {
+        return traces_.get(index);  } else {
         return tracesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1752,8 +1567,8 @@ public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(i
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public java.util.List
-        getTracesOrBuilderList() {
+    public java.util.List 
+         getTracesOrBuilderList() {
       if (tracesBuilder_ != null) {
         return tracesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1761,8 +1576,6 @@ public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(i
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1772,12 +1585,10 @@ public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(i
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
     public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder() {
-      return getTracesFieldBuilder()
-          .addBuilder(com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
+      return getTracesFieldBuilder().addBuilder(
+          com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1786,13 +1597,12 @@ public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder() {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder(int index) {
-      return getTracesFieldBuilder()
-          .addBuilder(index, com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder(
+        int index) {
+      return getTracesFieldBuilder().addBuilder(
+          index, com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1801,30 +1611,27 @@ public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder(int
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public java.util.List
-        getTracesBuilderList() {
+    public java.util.List 
+         getTracesBuilderList() {
       return getTracesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.Trace,
-            com.google.cloud.networkmanagement.v1.Trace.Builder,
-            com.google.cloud.networkmanagement.v1.TraceOrBuilder>
+        com.google.cloud.networkmanagement.v1.Trace, com.google.cloud.networkmanagement.v1.Trace.Builder, com.google.cloud.networkmanagement.v1.TraceOrBuilder> 
         getTracesFieldBuilder() {
       if (tracesBuilder_ == null) {
-        tracesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1.Trace,
-                com.google.cloud.networkmanagement.v1.Trace.Builder,
-                com.google.cloud.networkmanagement.v1.TraceOrBuilder>(
-                traces_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        tracesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1.Trace, com.google.cloud.networkmanagement.v1.Trace.Builder, com.google.cloud.networkmanagement.v1.TraceOrBuilder>(
+                traces_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         traces_ = null;
       }
       return tracesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1834,12 +1641,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ReachabilityDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ReachabilityDetails)
   private static final com.google.cloud.networkmanagement.v1.ReachabilityDetails DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ReachabilityDetails();
   }
@@ -1848,27 +1655,27 @@ public static com.google.cloud.networkmanagement.v1.ReachabilityDetails getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReachabilityDetails 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 ReachabilityDetails 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;
@@ -1883,4 +1690,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.networkmanagement.v1.ReachabilityDetails getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
similarity index 81%
rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
index 72bd0f904b52..34078d568b38 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
+++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
@@ -1,80 +1,50 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/connectivity_test.proto
 
 package com.google.cloud.networkmanagement.v1;
 
-public interface ReachabilityDetailsOrBuilder
-    extends
+public interface ReachabilityDetailsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ReachabilityDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** - * - * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; - * * @return The result. */ com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult(); /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ boolean hasVerifyTime(); /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ com.google.protobuf.Timestamp getVerifyTime(); /** - * - * *
    * The time of the configuration analysis.
    * 
@@ -84,32 +54,24 @@ public interface ReachabilityDetailsOrBuilder com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder(); /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -119,8 +81,6 @@ public interface ReachabilityDetailsOrBuilder com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** - * - * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -129,10 +89,9 @@ public interface ReachabilityDetailsOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
-  java.util.List getTracesList();
+  java.util.List 
+      getTracesList();
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -143,8 +102,6 @@ public interface ReachabilityDetailsOrBuilder
    */
   com.google.cloud.networkmanagement.v1.Trace getTraces(int index);
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -155,8 +112,6 @@ public interface ReachabilityDetailsOrBuilder
    */
   int getTracesCount();
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -165,11 +120,9 @@ public interface ReachabilityDetailsOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
-  java.util.List
+  java.util.List 
       getTracesOrBuilderList();
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -178,5 +131,6 @@ public interface ReachabilityDetailsOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
-  com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(int index);
+  com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
new file mode 100644
index 000000000000..2e09d1169b47
--- /dev/null
+++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
@@ -0,0 +1,228 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1/reachability.proto
+
+package com.google.cloud.networkmanagement.v1;
+
+public final class ReachabilityServiceProto {
+  private ReachabilityServiceProto() {}
+  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_networkmanagement_v1_ListConnectivityTestsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/networkmanagement/v1/reac" +
+      "hability.proto\022!google.cloud.networkmana" +
+      "gement.v1\032\034google/api/annotations.proto\032" +
+      "\027google/api/client.proto\032\037google/api/fie" +
+      "ld_behavior.proto\0329google/cloud/networkm" +
+      "anagement/v1/connectivity_test.proto\032#go" +
+      "ogle/longrunning/operations.proto\032 googl" +
+      "e/protobuf/field_mask.proto\032\037google/prot" +
+      "obuf/timestamp.proto\"|\n\034ListConnectivity" +
+      "TestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpag" +
+      "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" +
+      "er\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\225\001\n\035ListConne" +
+      "ctivityTestsResponse\022F\n\tresources\030\001 \003(\0132" +
+      "3.google.cloud.networkmanagement.v1.Conn" +
+      "ectivityTest\022\027\n\017next_page_token\030\002 \001(\t\022\023\n" +
+      "\013unreachable\030\003 \003(\t\"/\n\032GetConnectivityTes" +
+      "tRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateCo" +
+      "nnectivityTestRequest\022\023\n\006parent\030\001 \001(\tB\003\340" +
+      "A\002\022\024\n\007test_id\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001" +
+      "(\01323.google.cloud.networkmanagement.v1.C" +
+      "onnectivityTestB\003\340A\002\"\241\001\n\035UpdateConnectiv" +
+      "ityTestRequest\0224\n\013update_mask\030\001 \001(\0132\032.go" +
+      "ogle.protobuf.FieldMaskB\003\340A\002\022J\n\010resource" +
+      "\030\002 \001(\01323.google.cloud.networkmanagement." +
+      "v1.ConnectivityTestB\003\340A\002\"2\n\035DeleteConnec" +
+      "tivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034" +
+      "RerunConnectivityTestRequest\022\021\n\004name\030\001 \001" +
+      "(\tB\003\340A\002\"\326\001\n\021OperationMetadata\022/\n\013create_" +
+      "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022," +
+      "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" +
+      "tamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rst" +
+      "atus_detail\030\005 \001(\t\022\030\n\020cancel_requested\030\006 " +
+      "\001(\010\022\023\n\013api_version\030\007 \001(\t2\226\r\n\023Reachabilit" +
+      "yService\022\347\001\n\025ListConnectivityTests\022?.goo" +
+      "gle.cloud.networkmanagement.v1.ListConne" +
+      "ctivityTestsRequest\032@.google.cloud.netwo" +
+      "rkmanagement.v1.ListConnectivityTestsRes" +
+      "ponse\"K\202\323\344\223\002<\022:/v1/{parent=projects/*/lo" +
+      "cations/global}/connectivityTests\332A\006pare" +
+      "nt\022\324\001\n\023GetConnectivityTest\022=.google.clou" +
+      "d.networkmanagement.v1.GetConnectivityTe" +
+      "stRequest\0323.google.cloud.networkmanageme" +
+      "nt.v1.ConnectivityTest\"I\202\323\344\223\002<\022:/v1/{nam" +
+      "e=projects/*/locations/global/connectivi" +
+      "tyTests/*}\332A\004name\022\254\002\n\026CreateConnectivity" +
+      "Test\022@.google.cloud.networkmanagement.v1" +
+      ".CreateConnectivityTestRequest\032\035.google." +
+      "longrunning.Operation\"\260\001\202\323\344\223\002F\":/v1/{par" +
+      "ent=projects/*/locations/global}/connect" +
+      "ivityTests:\010resource\332A\027parent,test_id,re" +
+      "source\312AG\n2google.cloud.networkmanagemen" +
+      "t.v1.ConnectivityTest\022\021OperationMetadata" +
+      "\022\262\002\n\026UpdateConnectivityTest\022@.google.clo" +
+      "ud.networkmanagement.v1.UpdateConnectivi" +
+      "tyTestRequest\032\035.google.longrunning.Opera" +
+      "tion\"\266\001\202\323\344\223\002O2C/v1/{resource.name=projec" +
+      "ts/*/locations/global/connectivityTests/" +
+      "*}:\010resource\332A\024update_mask,resource\312AG\n2" +
+      "google.cloud.networkmanagement.v1.Connec" +
+      "tivityTest\022\021OperationMetadata\022\217\002\n\025RerunC" +
+      "onnectivityTest\022?.google.cloud.networkma" +
+      "nagement.v1.RerunConnectivityTestRequest" +
+      "\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002E" +
+      "\"@/v1/{name=projects/*/locations/global/" +
+      "connectivityTests/*}:rerun:\001*\312AG\n2google" +
+      ".cloud.networkmanagement.v1.Connectivity" +
+      "Test\022\021OperationMetadata\022\361\001\n\026DeleteConnec" +
+      "tivityTest\022@.google.cloud.networkmanagem" +
+      "ent.v1.DeleteConnectivityTestRequest\032\035.g" +
+      "oogle.longrunning.Operation\"v\202\323\344\223\002<*:/v1" +
+      "/{name=projects/*/locations/global/conne" +
+      "ctivityTests/*}\332A\004name\312A*\n\025google.protob" +
+      "uf.Empty\022\021OperationMetadata\032T\312A networkm" +
+      "anagement.googleapis.com\322A.https://www.g" +
+      "oogleapis.com/auth/cloud-platformB\207\002\n%co" +
+      "m.google.cloud.networkmanagement.v1B\030Rea" +
+      "chabilityServiceProtoP\001ZScloud.google.co" +
+      "m/go/networkmanagement/apiv1/networkmana" +
+      "gementpb;networkmanagementpb\252\002!Google.Cl" +
+      "oud.NetworkManagement.V1\312\002!Google\\Cloud\\" +
+      "NetworkManagement\\V1\352\002$Google::Cloud::Ne" +
+      "tworkManagement::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor,
+        new java.lang.String[] { "Resources", "NextPageToken", "Unreachable", });
+    internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Parent", "TestId", "Resource", });
+    internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "UpdateMask", "Resource", });
+    internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor,
+        new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "CancelRequested", "ApiVersion", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
similarity index 63%
rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
index 5a35d31bb009..48605f4d2398 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
+++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
@@ -1,86 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1;
 
 /**
- *
- *
  * 
  * Request for the `RerunConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RerunConnectivityTestRequest} */ -public final class RerunConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RerunConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) RerunConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RerunConnectivityTestRequest.newBuilder() to construct. private RerunConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RerunConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RerunConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +134,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.networkmanagement.v1.RerunConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,138 +162,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `RerunConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RerunConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,16 +294,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override @@ -349,17 +315,13 @@ public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest build( @java.lang.Override public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -370,51 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +403,17 @@ 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) { @@ -468,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -496,22 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -519,37 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -559,31 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RerunConnectivityTestRequest 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 RerunConnectivityTestRequest 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; @@ -641,8 +579,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java similarity index 55% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java index ce053af06a2a..7517cff23f4e 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface RerunConnectivityTestRequestOrBuilder - extends +public interface RerunConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java similarity index 73% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java index 4c6d28318ff3..ca07c62abdc9 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine route.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RouteInfo} */ -public final class RouteInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.RouteInfo) RouteInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteInfo.newBuilder() to construct. private RouteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteInfo() { routeType_ = 0; nextHopType_ = 0; @@ -50,43 +32,39 @@ private RouteInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RouteInfo.class, - com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1.RouteInfo.class, com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); } /** - * - * *
    * Type of route:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.RouteInfo.RouteType} */ - public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { + public enum RouteType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -95,8 +73,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -105,8 +81,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ SUBNET(1), /** - * - * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -116,8 +90,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATIC(2),
     /**
-     *
-     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -126,8 +98,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ DYNAMIC(3), /** - * - * *
      * A subnet route received from peering network.
      * 
@@ -136,8 +106,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ PEERING_SUBNET(4), /** - * - * *
      * A static route received from peering network.
      * 
@@ -146,8 +114,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ PEERING_STATIC(5), /** - * - * *
      * A dynamic route received from peering network.
      * 
@@ -159,8 +125,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -169,8 +133,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -179,8 +141,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUBNET_VALUE = 1; /** - * - * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -190,8 +150,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STATIC_VALUE = 2;
     /**
-     *
-     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -200,8 +158,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DYNAMIC_VALUE = 3; /** - * - * *
      * A subnet route received from peering network.
      * 
@@ -210,8 +166,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_SUBNET_VALUE = 4; /** - * - * *
      * A static route received from peering network.
      * 
@@ -220,8 +174,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_STATIC_VALUE = 5; /** - * - * *
      * A dynamic route received from peering network.
      * 
@@ -230,6 +182,7 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_DYNAMIC_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,57 +207,53 @@ public static RouteType valueOf(int value) { */ public static RouteType forNumber(int value) { switch (value) { - case 0: - return ROUTE_TYPE_UNSPECIFIED; - case 1: - return SUBNET; - case 2: - return STATIC; - case 3: - return DYNAMIC; - case 4: - return PEERING_SUBNET; - case 5: - return PEERING_STATIC; - case 6: - return PEERING_DYNAMIC; - default: - return null; + case 0: return ROUTE_TYPE_UNSPECIFIED; + case 1: return SUBNET; + case 2: return STATIC; + case 3: return DYNAMIC; + case 4: return PEERING_SUBNET; + case 5: return PEERING_STATIC; + case 6: return PEERING_DYNAMIC; + 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< + RouteType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RouteType findValueByNumber(int number) { + return RouteType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RouteType findValueByNumber(int number) { - return RouteType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.networkmanagement.v1.RouteInfo.getDescriptor().getEnumTypes().get(0); } private static final RouteType[] VALUES = values(); - public static RouteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RouteType 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; @@ -322,18 +271,15 @@ private RouteType(int value) { } /** - * - * *
    * Type of next hop:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.RouteInfo.NextHopType} */ - public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { + public enum NextHopType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -342,8 +288,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_TYPE_UNSPECIFIED(0), /** - * - * *
      * Next hop is an IP address.
      * 
@@ -352,8 +296,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_IP(1), /** - * - * *
      * Next hop is a Compute Engine instance.
      * 
@@ -362,8 +304,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_INSTANCE(2), /** - * - * *
      * Next hop is a VPC network gateway.
      * 
@@ -372,8 +312,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_NETWORK(3), /** - * - * *
      * Next hop is a peering VPC.
      * 
@@ -382,8 +320,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_PEERING(4), /** - * - * *
      * Next hop is an interconnect.
      * 
@@ -392,8 +328,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_INTERCONNECT(5), /** - * - * *
      * Next hop is a VPN tunnel.
      * 
@@ -402,8 +336,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_VPN_TUNNEL(6), /** - * - * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -415,8 +347,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NEXT_HOP_VPN_GATEWAY(7),
     /**
-     *
-     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -425,8 +355,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_INTERNET_GATEWAY(8), /** - * - * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -436,8 +364,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NEXT_HOP_BLACKHOLE(9),
     /**
-     *
-     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -446,8 +372,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_ILB(10), /** - * - * *
      * Next hop is a
      * [router appliance
@@ -461,8 +385,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified type. Default value.
      * 
@@ -471,8 +393,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Next hop is an IP address.
      * 
@@ -481,8 +401,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_IP_VALUE = 1; /** - * - * *
      * Next hop is a Compute Engine instance.
      * 
@@ -491,8 +409,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_INSTANCE_VALUE = 2; /** - * - * *
      * Next hop is a VPC network gateway.
      * 
@@ -501,8 +417,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_NETWORK_VALUE = 3; /** - * - * *
      * Next hop is a peering VPC.
      * 
@@ -511,8 +425,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_PEERING_VALUE = 4; /** - * - * *
      * Next hop is an interconnect.
      * 
@@ -521,8 +433,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_INTERCONNECT_VALUE = 5; /** - * - * *
      * Next hop is a VPN tunnel.
      * 
@@ -531,8 +441,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_VPN_TUNNEL_VALUE = 6; /** - * - * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -544,8 +452,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEXT_HOP_VPN_GATEWAY_VALUE = 7;
     /**
-     *
-     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -554,8 +460,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_INTERNET_GATEWAY_VALUE = 8; /** - * - * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -565,8 +469,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEXT_HOP_BLACKHOLE_VALUE = 9;
     /**
-     *
-     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -575,8 +477,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_ILB_VALUE = 10; /** - * - * *
      * Next hop is a
      * [router appliance
@@ -587,6 +487,7 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -611,67 +512,58 @@ public static NextHopType valueOf(int value) {
      */
     public static NextHopType forNumber(int value) {
       switch (value) {
-        case 0:
-          return NEXT_HOP_TYPE_UNSPECIFIED;
-        case 1:
-          return NEXT_HOP_IP;
-        case 2:
-          return NEXT_HOP_INSTANCE;
-        case 3:
-          return NEXT_HOP_NETWORK;
-        case 4:
-          return NEXT_HOP_PEERING;
-        case 5:
-          return NEXT_HOP_INTERCONNECT;
-        case 6:
-          return NEXT_HOP_VPN_TUNNEL;
-        case 7:
-          return NEXT_HOP_VPN_GATEWAY;
-        case 8:
-          return NEXT_HOP_INTERNET_GATEWAY;
-        case 9:
-          return NEXT_HOP_BLACKHOLE;
-        case 10:
-          return NEXT_HOP_ILB;
-        case 11:
-          return NEXT_HOP_ROUTER_APPLIANCE;
-        default:
-          return null;
+        case 0: return NEXT_HOP_TYPE_UNSPECIFIED;
+        case 1: return NEXT_HOP_IP;
+        case 2: return NEXT_HOP_INSTANCE;
+        case 3: return NEXT_HOP_NETWORK;
+        case 4: return NEXT_HOP_PEERING;
+        case 5: return NEXT_HOP_INTERCONNECT;
+        case 6: return NEXT_HOP_VPN_TUNNEL;
+        case 7: return NEXT_HOP_VPN_GATEWAY;
+        case 8: return NEXT_HOP_INTERNET_GATEWAY;
+        case 9: return NEXT_HOP_BLACKHOLE;
+        case 10: return NEXT_HOP_ILB;
+        case 11: return NEXT_HOP_ROUTER_APPLIANCE;
+        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<
+        NextHopType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public NextHopType findValueByNumber(int number) {
+              return NextHopType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public NextHopType findValueByNumber(int number) {
-            return NextHopType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.networkmanagement.v1.RouteInfo.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final NextHopType[] VALUES = values();
 
-    public static NextHopType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NextHopType 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;
@@ -691,90 +583,64 @@ private NextHopType(int value) {
   public static final int ROUTE_TYPE_FIELD_NUMBER = 8;
   private int routeType_ = 0;
   /**
-   *
-   *
    * 
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override - public int getRouteTypeValue() { + @java.lang.Override public int getRouteTypeValue() { return routeType_; } /** - * - * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return The routeType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = - com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); - return result == null - ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType() { + com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); + return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED : result; } public static final int NEXT_HOP_TYPE_FIELD_NUMBER = 9; private int nextHopType_ = 0; /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override - public int getNextHopTypeValue() { + @java.lang.Override public int getNextHopTypeValue() { return nextHopType_; } /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The nextHopType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null - ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType() { + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -783,29 +649,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -814,12 +680,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -828,7 +691,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -837,15 +699,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -854,15 +715,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -871,18 +733,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int DEST_IP_RANGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object destIpRange_ = ""; /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The destIpRange. */ @java.lang.Override @@ -891,29 +749,29 @@ public java.lang.String getDestIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; } } /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The bytes for destIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getDestIpRangeBytes() { + public com.google.protobuf.ByteString + getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -922,18 +780,14 @@ public com.google.protobuf.ByteString getDestIpRangeBytes() { } public static final int NEXT_HOP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object nextHop_ = ""; /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The nextHop. */ @java.lang.Override @@ -942,29 +796,29 @@ public java.lang.String getNextHop() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; } } /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The bytes for nextHop. */ @java.lang.Override - public com.google.protobuf.ByteString getNextHopBytes() { + public com.google.protobuf.ByteString + getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextHop_ = b; return b; } else { @@ -973,18 +827,14 @@ public com.google.protobuf.ByteString getNextHopBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The networkUri. */ @java.lang.Override @@ -993,29 +843,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1026,14 +876,11 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { public static final int PRIORITY_FIELD_NUMBER = 6; private int priority_ = 0; /** - * - * *
    * Priority of the route.
    * 
* * int32 priority = 6; - * * @return The priority. */ @java.lang.Override @@ -1042,46 +889,37 @@ public int getPriority() { } public static final int INSTANCE_TAGS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList instanceTags_; /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTagsList() { return instanceTags_; } /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -1089,23 +927,20 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1117,7 +952,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -1139,14 +975,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < instanceTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, instanceTags_.getRaw(i)); } - if (routeType_ - != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED - .getNumber()) { + if (routeType_ != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(8, routeType_); } - if (nextHopType_ - != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED - .getNumber()) { + if (nextHopType_ != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, nextHopType_); } getUnknownFields().writeTo(output); @@ -1174,7 +1006,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, networkUri_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, priority_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, priority_); } { int dataSize = 0; @@ -1184,15 +1017,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTagsList().size(); } - if (routeType_ - != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, routeType_); + if (routeType_ != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, routeType_); } - if (nextHopType_ - != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, nextHopType_); + if (nextHopType_ != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, nextHopType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1202,23 +1033,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.networkmanagement.v1.RouteInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.RouteInfo other = - (com.google.cloud.networkmanagement.v1.RouteInfo) obj; + com.google.cloud.networkmanagement.v1.RouteInfo other = (com.google.cloud.networkmanagement.v1.RouteInfo) obj; if (routeType_ != other.routeType_) return false; if (nextHopType_ != other.nextHopType_) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDestIpRange().equals(other.getDestIpRange())) return false; - if (!getNextHop().equals(other.getNextHop())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (getPriority() != other.getPriority()) return false; - if (!getInstanceTagsList().equals(other.getInstanceTagsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDestIpRange() + .equals(other.getDestIpRange())) return false; + if (!getNextHop() + .equals(other.getNextHop())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (getPriority() + != other.getPriority()) return false; + if (!getInstanceTagsList() + .equals(other.getInstanceTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1255,136 +1092,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RouteInfo 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.networkmanagement.v1.RouteInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.RouteInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.RouteInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.RouteInfo 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.networkmanagement.v1.RouteInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.RouteInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine route.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RouteInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.RouteInfo) com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RouteInfo.class, - com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1.RouteInfo.class, com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.RouteInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1403,9 +1234,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; } @java.lang.Override @@ -1424,18 +1255,14 @@ public com.google.cloud.networkmanagement.v1.RouteInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo buildPartial() { - com.google.cloud.networkmanagement.v1.RouteInfo result = - new com.google.cloud.networkmanagement.v1.RouteInfo(this); + com.google.cloud.networkmanagement.v1.RouteInfo result = new com.google.cloud.networkmanagement.v1.RouteInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1.RouteInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.RouteInfo result) { if (((bitField0_ & 0x00000100) != 0)) { instanceTags_ = instanceTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); @@ -1475,39 +1302,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.RouteInfo resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.RouteInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.RouteInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.RouteInfo)other); } else { super.mergeFrom(other); return this; @@ -1515,8 +1341,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.RouteInfo other) { - if (other == com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) return this; if (other.routeType_ != 0) { setRouteTypeValue(other.getRouteTypeValue()); } @@ -1587,68 +1412,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: - { - destIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: - { - nextHop_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: - { - priority_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceTagsIsMutable(); - instanceTags_.add(s); - break; - } // case 58 - case 64: - { - routeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 64 - case 72: - { - nextHopType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: { + destIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: { + nextHop_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: { + priority_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceTagsIsMutable(); + instanceTags_.add(s); + break; + } // case 58 + case 64: { + routeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 64 + case 72: { + nextHopType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 72 + 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) { @@ -1658,34 +1473,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int routeType_ = 0; /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override - public int getRouteTypeValue() { + @java.lang.Override public int getRouteTypeValue() { return routeType_; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @param value The enum numeric value on the wire for routeType to set. * @return This builder for chaining. */ @@ -1696,33 +1503,24 @@ public Builder setRouteTypeValue(int value) { return this; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return The routeType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = - com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); - return result == null - ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); + return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED : result; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @param value The routeType to set. * @return This builder for chaining. */ @@ -1736,14 +1534,11 @@ public Builder setRouteType(com.google.cloud.networkmanagement.v1.RouteInfo.Rout return this; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return This builder for chaining. */ public Builder clearRouteType() { @@ -1755,29 +1550,22 @@ public Builder clearRouteType() { private int nextHopType_ = 0; /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override - public int getNextHopTypeValue() { + @java.lang.Override public int getNextHopTypeValue() { return nextHopType_; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @param value The enum numeric value on the wire for nextHopType to set. * @return This builder for chaining. */ @@ -1788,38 +1576,28 @@ public Builder setNextHopTypeValue(int value) { return this; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The nextHopType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null - ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED : result; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @param value The nextHopType to set. * @return This builder for chaining. */ - public Builder setNextHopType( - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType value) { + public Builder setNextHopType(com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType value) { if (value == null) { throw new NullPointerException(); } @@ -1829,14 +1607,11 @@ public Builder setNextHopType( return this; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return This builder for chaining. */ public Builder clearNextHopType() { @@ -1848,20 +1623,18 @@ public Builder clearNextHopType() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1870,21 +1643,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1892,35 +1664,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1930,21 +1695,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1954,8 +1715,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1964,13 +1723,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1979,8 +1738,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1989,14 +1746,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -2004,8 +1762,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -2014,22 +1770,18 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -2038,7 +1790,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -2048,8 +1799,6 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -2058,14 +1807,12 @@ public Builder clearUri() {
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000008; @@ -2075,20 +1822,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object destIpRange_ = ""; /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @return The destIpRange. */ public java.lang.String getDestIpRange() { java.lang.Object ref = destIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; @@ -2097,21 +1842,20 @@ public java.lang.String getDestIpRange() { } } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @return The bytes for destIpRange. */ - public com.google.protobuf.ByteString getDestIpRangeBytes() { + public com.google.protobuf.ByteString + getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -2119,35 +1863,28 @@ public com.google.protobuf.ByteString getDestIpRangeBytes() { } } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @param value The destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destIpRange_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @return This builder for chaining. */ public Builder clearDestIpRange() { @@ -2157,21 +1894,17 @@ public Builder clearDestIpRange() { return this; } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @param value The bytes for destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destIpRange_ = value; bitField0_ |= 0x00000010; @@ -2181,20 +1914,18 @@ public Builder setDestIpRangeBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextHop_ = ""; /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @return The nextHop. */ public java.lang.String getNextHop() { java.lang.Object ref = nextHop_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; @@ -2203,21 +1934,20 @@ public java.lang.String getNextHop() { } } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @return The bytes for nextHop. */ - public com.google.protobuf.ByteString getNextHopBytes() { + public com.google.protobuf.ByteString + getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextHop_ = b; return b; } else { @@ -2225,35 +1955,28 @@ public com.google.protobuf.ByteString getNextHopBytes() { } } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @param value The nextHop to set. * @return This builder for chaining. */ - public Builder setNextHop(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextHop( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextHop_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @return This builder for chaining. */ public Builder clearNextHop() { @@ -2263,21 +1986,17 @@ public Builder clearNextHop() { return this; } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @param value The bytes for nextHop to set. * @return This builder for chaining. */ - public Builder setNextHopBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextHopBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextHop_ = value; bitField0_ |= 0x00000020; @@ -2287,20 +2006,18 @@ public Builder setNextHopBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -2309,21 +2026,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -2331,35 +2047,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -2369,21 +2078,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -2391,16 +2096,13 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { return this; } - private int priority_; + private int priority_ ; /** - * - * *
      * Priority of the route.
      * 
* * int32 priority = 6; - * * @return The priority. */ @java.lang.Override @@ -2408,33 +2110,27 @@ public int getPriority() { return priority_; } /** - * - * *
      * Priority of the route.
      * 
* * int32 priority = 6; - * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Priority of the route.
      * 
* * int32 priority = 6; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -2444,52 +2140,42 @@ public Builder clearPriority() { return this; } - private com.google.protobuf.LazyStringList instanceTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceTagsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { instanceTags_ = new com.google.protobuf.LazyStringArrayList(instanceTags_); bitField0_ |= 0x00000100; - } + } } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTagsList() { return instanceTags_.getUnmodifiableView(); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -2497,90 +2183,76 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param index The index to set the value at. * @param value The instanceTags to set. * @return This builder for chaining. */ - public Builder setInstanceTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTagsIsMutable(); instanceTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param value The instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param values The instanceTags to add. * @return This builder for chaining. */ - public Builder addAllInstanceTags(java.lang.Iterable values) { + public Builder addAllInstanceTags( + java.lang.Iterable values) { ensureInstanceTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceTags_); onChanged(); return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @return This builder for chaining. */ public Builder clearInstanceTags() { @@ -2590,30 +2262,26 @@ public Builder clearInstanceTags() { return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param value The bytes of the instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2623,12 +2291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.RouteInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.RouteInfo) private static final com.google.cloud.networkmanagement.v1.RouteInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.RouteInfo(); } @@ -2637,27 +2305,27 @@ public static com.google.cloud.networkmanagement.v1.RouteInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteInfo 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 RouteInfo 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; @@ -2672,4 +2340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.RouteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java similarity index 76% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java index 926b7f2da8fc..138e86afa79d 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java @@ -1,106 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface RouteInfoOrBuilder - extends +public interface RouteInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.RouteInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return The enum numeric value on the wire for routeType. */ int getRouteTypeValue(); /** - * - * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; - * * @return The routeType. */ com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType(); /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The enum numeric value on the wire for nextHopType. */ int getNextHopTypeValue(); /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The nextHopType. */ com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType(); /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -109,13 +74,10 @@ public interface RouteInfoOrBuilder
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -124,147 +86,119 @@ public interface RouteInfoOrBuilder
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The destIpRange. */ java.lang.String getDestIpRange(); /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The bytes for destIpRange. */ - com.google.protobuf.ByteString getDestIpRangeBytes(); + com.google.protobuf.ByteString + getDestIpRangeBytes(); /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The nextHop. */ java.lang.String getNextHop(); /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The bytes for nextHop. */ - com.google.protobuf.ByteString getNextHopBytes(); + com.google.protobuf.ByteString + getNextHopBytes(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Priority of the route.
    * 
* * int32 priority = 6; - * * @return The priority. */ int getPriority(); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return A list containing the instanceTags. */ - java.util.List getInstanceTagsList(); + java.util.List + getInstanceTagsList(); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return The count of instanceTags. */ int getInstanceTagsCount(); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the element to return. * @return The instanceTags at the given index. */ java.lang.String getInstanceTags(int index); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - com.google.protobuf.ByteString getInstanceTagsBytes(int index); + com.google.protobuf.ByteString + getInstanceTagsBytes(int index); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java similarity index 76% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java index 21493672c68b..57cad749a232 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * A simulated forwarding path is composed of multiple steps.
  * Each step has a well-defined state and an associated configuration.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.Step}
  */
-public final class Step extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Step extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.Step)
     StepOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Step.newBuilder() to construct.
   private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Step() {
     description_ = "";
     state_ = 0;
@@ -46,33 +28,30 @@ private Step() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Step();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.Step.class,
-            com.google.cloud.networkmanagement.v1.Step.Builder.class);
+            com.google.cloud.networkmanagement.v1.Step.class, com.google.cloud.networkmanagement.v1.Step.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Type of states that are defined in the network state machine.
    * Each step in the packet trace is in a specific state.
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1.Step.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -92,8 +70,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -103,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_INSTANCE(1),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -114,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_INTERNET(2),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -127,8 +99,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_PRIVATE_NETWORK(3),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -138,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_GKE_MASTER(21),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -149,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_CLOUD_SQL_INSTANCE(22),
     /**
-     *
-     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -159,8 +125,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_INGRESS_FIREWALL_RULE(4), /** - * - * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -169,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_EGRESS_FIREWALL_RULE(5), /** - * - * *
      * Config checking state: verify route.
      * 
@@ -179,8 +141,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_ROUTE(6), /** - * - * *
      * Config checking state: match forwarding rule.
      * 
@@ -189,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_FORWARDING_RULE(7), /** - * - * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -200,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SPOOFING_APPROVED(8),
     /**
-     *
-     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -210,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_INSTANCE(9), /** - * - * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -220,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_INTERNAL_LOAD_BALANCER(10), /** - * - * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -230,8 +182,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_EXTERNAL_LOAD_BALANCER(11), /** - * - * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -240,8 +190,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_VPN_GATEWAY(12), /** - * - * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -250,8 +198,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_VPN_TUNNEL(13), /** - * - * *
      * Transition state: packet header translated.
      * 
@@ -260,8 +206,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ NAT(14), /** - * - * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -271,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PROXY_CONNECTION(15),
     /**
-     *
-     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -281,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELIVER(16), /** - * - * *
      * Final state: packet could be dropped.
      * 
@@ -291,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DROP(17), /** - * - * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -302,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FORWARD(18),
     /**
-     *
-     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -312,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ABORT(19), /** - * - * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -326,8 +260,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -336,8 +268,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -347,8 +277,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_INSTANCE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -358,8 +286,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_INTERNET_VALUE = 2;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -371,8 +297,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_PRIVATE_NETWORK_VALUE = 3;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -382,8 +306,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_GKE_MASTER_VALUE = 21;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -393,8 +315,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_CLOUD_SQL_INSTANCE_VALUE = 22;
     /**
-     *
-     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -403,8 +323,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_INGRESS_FIREWALL_RULE_VALUE = 4; /** - * - * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -413,8 +331,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_EGRESS_FIREWALL_RULE_VALUE = 5; /** - * - * *
      * Config checking state: verify route.
      * 
@@ -423,8 +339,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_ROUTE_VALUE = 6; /** - * - * *
      * Config checking state: match forwarding rule.
      * 
@@ -433,8 +347,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_FORWARDING_RULE_VALUE = 7; /** - * - * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -444,8 +356,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SPOOFING_APPROVED_VALUE = 8;
     /**
-     *
-     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -454,8 +364,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_INSTANCE_VALUE = 9; /** - * - * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -464,8 +372,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE = 10; /** - * - * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -474,8 +380,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE = 11; /** - * - * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -484,8 +388,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_VPN_GATEWAY_VALUE = 12; /** - * - * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -494,8 +396,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_VPN_TUNNEL_VALUE = 13; /** - * - * *
      * Transition state: packet header translated.
      * 
@@ -504,8 +404,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAT_VALUE = 14; /** - * - * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -515,8 +413,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROXY_CONNECTION_VALUE = 15;
     /**
-     *
-     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -525,8 +421,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELIVER_VALUE = 16; /** - * - * *
      * Final state: packet could be dropped.
      * 
@@ -535,8 +429,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DROP_VALUE = 17; /** - * - * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -546,8 +438,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FORWARD_VALUE = 18;
     /**
-     *
-     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -556,8 +446,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORT_VALUE = 19; /** - * - * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -567,6 +455,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEWER_PERMISSION_MISSING_VALUE = 20;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -591,89 +480,69 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return START_FROM_INSTANCE;
-        case 2:
-          return START_FROM_INTERNET;
-        case 3:
-          return START_FROM_PRIVATE_NETWORK;
-        case 21:
-          return START_FROM_GKE_MASTER;
-        case 22:
-          return START_FROM_CLOUD_SQL_INSTANCE;
-        case 4:
-          return APPLY_INGRESS_FIREWALL_RULE;
-        case 5:
-          return APPLY_EGRESS_FIREWALL_RULE;
-        case 6:
-          return APPLY_ROUTE;
-        case 7:
-          return APPLY_FORWARDING_RULE;
-        case 8:
-          return SPOOFING_APPROVED;
-        case 9:
-          return ARRIVE_AT_INSTANCE;
-        case 10:
-          return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
-        case 11:
-          return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
-        case 12:
-          return ARRIVE_AT_VPN_GATEWAY;
-        case 13:
-          return ARRIVE_AT_VPN_TUNNEL;
-        case 14:
-          return NAT;
-        case 15:
-          return PROXY_CONNECTION;
-        case 16:
-          return DELIVER;
-        case 17:
-          return DROP;
-        case 18:
-          return FORWARD;
-        case 19:
-          return ABORT;
-        case 20:
-          return VIEWER_PERMISSION_MISSING;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return START_FROM_INSTANCE;
+        case 2: return START_FROM_INTERNET;
+        case 3: return START_FROM_PRIVATE_NETWORK;
+        case 21: return START_FROM_GKE_MASTER;
+        case 22: return START_FROM_CLOUD_SQL_INSTANCE;
+        case 4: return APPLY_INGRESS_FIREWALL_RULE;
+        case 5: return APPLY_EGRESS_FIREWALL_RULE;
+        case 6: return APPLY_ROUTE;
+        case 7: return APPLY_FORWARDING_RULE;
+        case 8: return SPOOFING_APPROVED;
+        case 9: return ARRIVE_AT_INSTANCE;
+        case 10: return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
+        case 11: return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
+        case 12: return ARRIVE_AT_VPN_GATEWAY;
+        case 13: return ARRIVE_AT_VPN_TUNNEL;
+        case 14: return NAT;
+        case 15: return PROXY_CONNECTION;
+        case 16: return DELIVER;
+        case 17: return DROP;
+        case 18: return FORWARD;
+        case 19: return ABORT;
+        case 20: return VIEWER_PERMISSION_MISSING;
+        default: return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.networkmanagement.v1.Step.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;
@@ -692,10 +561,8 @@ private State(int value) {
 
   private int stepInfoCase_ = 0;
   private java.lang.Object stepInfo_;
-
   public enum StepInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INSTANCE(5),
     FIREWALL(6),
@@ -714,7 +581,6 @@ public enum StepInfoCase
     CLOUD_SQL_INSTANCE(19),
     STEPINFO_NOT_SET(0);
     private final int value;
-
     private StepInfoCase(int value) {
       this.value = value;
     }
@@ -730,65 +596,45 @@ public static StepInfoCase valueOf(int value) {
 
     public static StepInfoCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return INSTANCE;
-        case 6:
-          return FIREWALL;
-        case 7:
-          return ROUTE;
-        case 8:
-          return ENDPOINT;
-        case 9:
-          return FORWARDING_RULE;
-        case 10:
-          return VPN_GATEWAY;
-        case 11:
-          return VPN_TUNNEL;
-        case 12:
-          return DELIVER;
-        case 13:
-          return FORWARD;
-        case 14:
-          return ABORT;
-        case 15:
-          return DROP;
-        case 16:
-          return LOAD_BALANCER;
-        case 17:
-          return NETWORK;
-        case 18:
-          return GKE_MASTER;
-        case 19:
-          return CLOUD_SQL_INSTANCE;
-        case 0:
-          return STEPINFO_NOT_SET;
-        default:
-          return null;
+        case 5: return INSTANCE;
+        case 6: return FIREWALL;
+        case 7: return ROUTE;
+        case 8: return ENDPOINT;
+        case 9: return FORWARDING_RULE;
+        case 10: return VPN_GATEWAY;
+        case 11: return VPN_TUNNEL;
+        case 12: return DELIVER;
+        case 13: return FORWARD;
+        case 14: return ABORT;
+        case 15: return DROP;
+        case 16: return LOAD_BALANCER;
+        case 17: return NETWORK;
+        case 18: return GKE_MASTER;
+        case 19: return CLOUD_SQL_INSTANCE;
+        case 0: return STEPINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StepInfoCase getStepInfoCase() {
-    return StepInfoCase.forNumber(stepInfoCase_);
+  public StepInfoCase
+  getStepInfoCase() {
+    return StepInfoCase.forNumber(
+        stepInfoCase_);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
-   *
-   *
    * 
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -797,29 +643,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @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 { @@ -830,49 +676,37 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.Step.State getState() { - com.google.cloud.networkmanagement.v1.Step.State result = - com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); + @java.lang.Override public com.google.cloud.networkmanagement.v1.Step.State getState() { + com.google.cloud.networkmanagement.v1.Step.State result = com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); return result == null ? com.google.cloud.networkmanagement.v1.Step.State.UNRECOGNIZED : result; } public static final int CAUSES_DROP_FIELD_NUMBER = 3; private boolean causesDrop_ = false; /** - * - * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; - * * @return The causesDrop. */ @java.lang.Override @@ -881,18 +715,14 @@ public boolean getCausesDrop() { } public static final int PROJECT_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The projectId. */ @java.lang.Override @@ -901,29 +731,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -933,14 +763,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 5; /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -948,26 +775,21 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; - * * @return The instance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.InstanceInfo getInstance() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine instance.
    * 
@@ -977,21 +799,18 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo getInstance() { @java.lang.Override public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOrBuilder() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance(); } public static final int FIREWALL_FIELD_NUMBER = 6; /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; - * * @return Whether the firewall field is set. */ @java.lang.Override @@ -999,26 +818,21 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; - * * @return The firewall. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -1028,21 +842,18 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall() { @java.lang.Override public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOrBuilder() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance(); } public static final int ROUTE_FIELD_NUMBER = 7; /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; - * * @return Whether the route field is set. */ @java.lang.Override @@ -1050,26 +861,21 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; - * * @return The route. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo getRoute() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine route.
    * 
@@ -1079,15 +885,13 @@ public com.google.cloud.networkmanagement.v1.RouteInfo getRoute() { @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilder() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance(); } public static final int ENDPOINT_FIELD_NUMBER = 8; /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -1096,7 +900,6 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; - * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -1104,8 +907,6 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -1114,19 +915,16 @@ public boolean hasEndpoint() {
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; - * * @return The endpoint. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint() { if (stepInfoCase_ == 8) { - return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -1139,21 +937,18 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint() {
   @java.lang.Override
   public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOrBuilder() {
     if (stepInfoCase_ == 8) {
-      return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_;
+       return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_;
     }
     return com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance();
   }
 
   public static final int FORWARDING_RULE_FIELD_NUMBER = 9;
   /**
-   *
-   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; - * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -1161,26 +956,21 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; - * * @return The forwardingRule. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRule() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
@@ -1188,24 +978,20 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRul * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder - getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance(); } public static final int VPN_GATEWAY_FIELD_NUMBER = 10; /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; - * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -1213,26 +999,21 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; - * * @return The vpnGateway. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -1242,21 +1023,18 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance(); } public static final int VPN_TUNNEL_FIELD_NUMBER = 11; /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; - * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -1264,26 +1042,21 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; - * * @return The vpnTunnel. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -1293,21 +1066,18 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance(); } public static final int DELIVER_FIELD_NUMBER = 12; /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; - * * @return Whether the deliver field is set. */ @java.lang.Override @@ -1315,26 +1085,21 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; - * * @return The deliver. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -1344,21 +1109,18 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBuilder() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance(); } public static final int FORWARD_FIELD_NUMBER = 13; /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; - * * @return Whether the forward field is set. */ @java.lang.Override @@ -1366,26 +1128,21 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; - * * @return The forward. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo getForward() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
@@ -1395,21 +1152,18 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo getForward() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBuilder() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance(); } public static final int ABORT_FIELD_NUMBER = 14; /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; - * * @return Whether the abort field is set. */ @java.lang.Override @@ -1417,26 +1171,21 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; - * * @return The abort. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo getAbort() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
@@ -1446,21 +1195,18 @@ public com.google.cloud.networkmanagement.v1.AbortInfo getAbort() { @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilder() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance(); } public static final int DROP_FIELD_NUMBER = 15; /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -1468,26 +1214,21 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; - * * @return The drop. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo getDrop() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
@@ -1497,21 +1238,18 @@ public com.google.cloud.networkmanagement.v1.DropInfo getDrop() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance(); } public static final int LOAD_BALANCER_FIELD_NUMBER = 16; /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; - * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -1519,26 +1257,21 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; - * * @return The loadBalancer. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the load balancers.
    * 
@@ -1546,24 +1279,20 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer() * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder - getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance(); } public static final int NETWORK_FIELD_NUMBER = 17; /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; - * * @return Whether the network field is set. */ @java.lang.Override @@ -1571,26 +1300,21 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; - * * @return The network. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Google Cloud network.
    * 
@@ -1600,21 +1324,18 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork() { @java.lang.Override public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBuilder() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance(); } public static final int GKE_MASTER_FIELD_NUMBER = 18; /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; - * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -1622,26 +1343,21 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; - * * @return The gkeMaster. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -1651,21 +1367,18 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster() { @java.lang.Override public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance(); } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 19; /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -1673,26 +1386,21 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * * @return The cloudSqlInstance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlInstance() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
@@ -1700,16 +1408,14 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlIns * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder - getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1721,7 +1427,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } @@ -1777,8 +1484,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(18, (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - output.writeMessage( - 19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); + output.writeMessage(19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); } getUnknownFields().writeTo(output); } @@ -1793,88 +1499,75 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } if (state_ != com.google.cloud.networkmanagement.v1.Step.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } if (causesDrop_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, causesDrop_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, causesDrop_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, projectId_); } if (stepInfoCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_); } if (stepInfoCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_); } if (stepInfoCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_); } if (stepInfoCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_); } if (stepInfoCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_); } if (stepInfoCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_); } if (stepInfoCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_); } if (stepInfoCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_); } if (stepInfoCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_); } if (stepInfoCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_); } if (stepInfoCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_); } if (stepInfoCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_); } if (stepInfoCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 17, (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_); } if (stepInfoCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1884,64 +1577,81 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.Step)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.Step other = - (com.google.cloud.networkmanagement.v1.Step) obj; + com.google.cloud.networkmanagement.v1.Step other = (com.google.cloud.networkmanagement.v1.Step) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (getCausesDrop() != other.getCausesDrop()) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (getCausesDrop() + != other.getCausesDrop()) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getStepInfoCase().equals(other.getStepInfoCase())) return false; switch (stepInfoCase_) { case 5: - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; break; case 6: - if (!getFirewall().equals(other.getFirewall())) return false; + if (!getFirewall() + .equals(other.getFirewall())) return false; break; case 7: - if (!getRoute().equals(other.getRoute())) return false; + if (!getRoute() + .equals(other.getRoute())) return false; break; case 8: - if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; break; case 9: - if (!getForwardingRule().equals(other.getForwardingRule())) return false; + if (!getForwardingRule() + .equals(other.getForwardingRule())) return false; break; case 10: - if (!getVpnGateway().equals(other.getVpnGateway())) return false; + if (!getVpnGateway() + .equals(other.getVpnGateway())) return false; break; case 11: - if (!getVpnTunnel().equals(other.getVpnTunnel())) return false; + if (!getVpnTunnel() + .equals(other.getVpnTunnel())) return false; break; case 12: - if (!getDeliver().equals(other.getDeliver())) return false; + if (!getDeliver() + .equals(other.getDeliver())) return false; break; case 13: - if (!getForward().equals(other.getForward())) return false; + if (!getForward() + .equals(other.getForward())) return false; break; case 14: - if (!getAbort().equals(other.getAbort())) return false; + if (!getAbort() + .equals(other.getAbort())) return false; break; case 15: - if (!getDrop().equals(other.getDrop())) return false; + if (!getDrop() + .equals(other.getDrop())) return false; break; case 16: - if (!getLoadBalancer().equals(other.getLoadBalancer())) return false; + if (!getLoadBalancer() + .equals(other.getLoadBalancer())) return false; break; case 17: - if (!getNetwork().equals(other.getNetwork())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; break; case 18: - if (!getGkeMaster().equals(other.getGkeMaster())) return false; + if (!getGkeMaster() + .equals(other.getGkeMaster())) return false; break; case 19: - if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; + if (!getCloudSqlInstance() + .equals(other.getCloudSqlInstance())) return false; break; case 0: default: @@ -1962,7 +1672,8 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + CAUSES_DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCausesDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCausesDrop()); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + getProjectId().hashCode(); switch (stepInfoCase_) { @@ -2034,104 +1745,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.Step parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.Step parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.Step parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.Step parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.Step parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Step 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.networkmanagement.v1.Step parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.Step parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.Step parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.Step 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.networkmanagement.v1.Step parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 simulated forwarding path is composed of multiple steps.
    * Each step has a well-defined state and an associated configuration.
@@ -2139,32 +1843,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.Step}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.Step)
       com.google.cloud.networkmanagement.v1.StepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.Step.class,
-              com.google.cloud.networkmanagement.v1.Step.Builder.class);
+              com.google.cloud.networkmanagement.v1.Step.class, com.google.cloud.networkmanagement.v1.Step.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.Step.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2224,9 +1929,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
     }
 
     @java.lang.Override
@@ -2245,11 +1950,8 @@ public com.google.cloud.networkmanagement.v1.Step build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.Step buildPartial() {
-      com.google.cloud.networkmanagement.v1.Step result =
-          new com.google.cloud.networkmanagement.v1.Step(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.networkmanagement.v1.Step result = new com.google.cloud.networkmanagement.v1.Step(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2274,49 +1976,64 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Step result) {
     private void buildPartialOneofs(com.google.cloud.networkmanagement.v1.Step result) {
       result.stepInfoCase_ = stepInfoCase_;
       result.stepInfo_ = this.stepInfo_;
-      if (stepInfoCase_ == 5 && instanceBuilder_ != null) {
+      if (stepInfoCase_ == 5 &&
+          instanceBuilder_ != null) {
         result.stepInfo_ = instanceBuilder_.build();
       }
-      if (stepInfoCase_ == 6 && firewallBuilder_ != null) {
+      if (stepInfoCase_ == 6 &&
+          firewallBuilder_ != null) {
         result.stepInfo_ = firewallBuilder_.build();
       }
-      if (stepInfoCase_ == 7 && routeBuilder_ != null) {
+      if (stepInfoCase_ == 7 &&
+          routeBuilder_ != null) {
         result.stepInfo_ = routeBuilder_.build();
       }
-      if (stepInfoCase_ == 8 && endpointBuilder_ != null) {
+      if (stepInfoCase_ == 8 &&
+          endpointBuilder_ != null) {
         result.stepInfo_ = endpointBuilder_.build();
       }
-      if (stepInfoCase_ == 9 && forwardingRuleBuilder_ != null) {
+      if (stepInfoCase_ == 9 &&
+          forwardingRuleBuilder_ != null) {
         result.stepInfo_ = forwardingRuleBuilder_.build();
       }
-      if (stepInfoCase_ == 10 && vpnGatewayBuilder_ != null) {
+      if (stepInfoCase_ == 10 &&
+          vpnGatewayBuilder_ != null) {
         result.stepInfo_ = vpnGatewayBuilder_.build();
       }
-      if (stepInfoCase_ == 11 && vpnTunnelBuilder_ != null) {
+      if (stepInfoCase_ == 11 &&
+          vpnTunnelBuilder_ != null) {
         result.stepInfo_ = vpnTunnelBuilder_.build();
       }
-      if (stepInfoCase_ == 12 && deliverBuilder_ != null) {
+      if (stepInfoCase_ == 12 &&
+          deliverBuilder_ != null) {
         result.stepInfo_ = deliverBuilder_.build();
       }
-      if (stepInfoCase_ == 13 && forwardBuilder_ != null) {
+      if (stepInfoCase_ == 13 &&
+          forwardBuilder_ != null) {
         result.stepInfo_ = forwardBuilder_.build();
       }
-      if (stepInfoCase_ == 14 && abortBuilder_ != null) {
+      if (stepInfoCase_ == 14 &&
+          abortBuilder_ != null) {
         result.stepInfo_ = abortBuilder_.build();
       }
-      if (stepInfoCase_ == 15 && dropBuilder_ != null) {
+      if (stepInfoCase_ == 15 &&
+          dropBuilder_ != null) {
         result.stepInfo_ = dropBuilder_.build();
       }
-      if (stepInfoCase_ == 16 && loadBalancerBuilder_ != null) {
+      if (stepInfoCase_ == 16 &&
+          loadBalancerBuilder_ != null) {
         result.stepInfo_ = loadBalancerBuilder_.build();
       }
-      if (stepInfoCase_ == 17 && networkBuilder_ != null) {
+      if (stepInfoCase_ == 17 &&
+          networkBuilder_ != null) {
         result.stepInfo_ = networkBuilder_.build();
       }
-      if (stepInfoCase_ == 18 && gkeMasterBuilder_ != null) {
+      if (stepInfoCase_ == 18 &&
+          gkeMasterBuilder_ != null) {
         result.stepInfo_ = gkeMasterBuilder_.build();
       }
-      if (stepInfoCase_ == 19 && cloudSqlInstanceBuilder_ != null) {
+      if (stepInfoCase_ == 19 &&
+          cloudSqlInstanceBuilder_ != null) {
         result.stepInfo_ = cloudSqlInstanceBuilder_.build();
       }
     }
@@ -2325,39 +2042,38 @@ private void buildPartialOneofs(com.google.cloud.networkmanagement.v1.Step resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1.Step) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.Step) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.Step)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2383,85 +2099,69 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.Step other) {
         onChanged();
       }
       switch (other.getStepInfoCase()) {
-        case INSTANCE:
-          {
-            mergeInstance(other.getInstance());
-            break;
-          }
-        case FIREWALL:
-          {
-            mergeFirewall(other.getFirewall());
-            break;
-          }
-        case ROUTE:
-          {
-            mergeRoute(other.getRoute());
-            break;
-          }
-        case ENDPOINT:
-          {
-            mergeEndpoint(other.getEndpoint());
-            break;
-          }
-        case FORWARDING_RULE:
-          {
-            mergeForwardingRule(other.getForwardingRule());
-            break;
-          }
-        case VPN_GATEWAY:
-          {
-            mergeVpnGateway(other.getVpnGateway());
-            break;
-          }
-        case VPN_TUNNEL:
-          {
-            mergeVpnTunnel(other.getVpnTunnel());
-            break;
-          }
-        case DELIVER:
-          {
-            mergeDeliver(other.getDeliver());
-            break;
-          }
-        case FORWARD:
-          {
-            mergeForward(other.getForward());
-            break;
-          }
-        case ABORT:
-          {
-            mergeAbort(other.getAbort());
-            break;
-          }
-        case DROP:
-          {
-            mergeDrop(other.getDrop());
-            break;
-          }
-        case LOAD_BALANCER:
-          {
-            mergeLoadBalancer(other.getLoadBalancer());
-            break;
-          }
-        case NETWORK:
-          {
-            mergeNetwork(other.getNetwork());
-            break;
-          }
-        case GKE_MASTER:
-          {
-            mergeGkeMaster(other.getGkeMaster());
-            break;
-          }
-        case CLOUD_SQL_INSTANCE:
-          {
-            mergeCloudSqlInstance(other.getCloudSqlInstance());
-            break;
-          }
-        case STEPINFO_NOT_SET:
-          {
-            break;
-          }
+        case INSTANCE: {
+          mergeInstance(other.getInstance());
+          break;
+        }
+        case FIREWALL: {
+          mergeFirewall(other.getFirewall());
+          break;
+        }
+        case ROUTE: {
+          mergeRoute(other.getRoute());
+          break;
+        }
+        case ENDPOINT: {
+          mergeEndpoint(other.getEndpoint());
+          break;
+        }
+        case FORWARDING_RULE: {
+          mergeForwardingRule(other.getForwardingRule());
+          break;
+        }
+        case VPN_GATEWAY: {
+          mergeVpnGateway(other.getVpnGateway());
+          break;
+        }
+        case VPN_TUNNEL: {
+          mergeVpnTunnel(other.getVpnTunnel());
+          break;
+        }
+        case DELIVER: {
+          mergeDeliver(other.getDeliver());
+          break;
+        }
+        case FORWARD: {
+          mergeForward(other.getForward());
+          break;
+        }
+        case ABORT: {
+          mergeAbort(other.getAbort());
+          break;
+        }
+        case DROP: {
+          mergeDrop(other.getDrop());
+          break;
+        }
+        case LOAD_BALANCER: {
+          mergeLoadBalancer(other.getLoadBalancer());
+          break;
+        }
+        case NETWORK: {
+          mergeNetwork(other.getNetwork());
+          break;
+        }
+        case GKE_MASTER: {
+          mergeGkeMaster(other.getGkeMaster());
+          break;
+        }
+        case CLOUD_SQL_INSTANCE: {
+          mergeCloudSqlInstance(other.getCloudSqlInstance());
+          break;
+        }
+        case STEPINFO_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2489,128 +2189,137 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                causesDrop_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getFirewallFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getRouteFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getEndpointFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getForwardingRuleFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 9;
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getVpnGatewayFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 10;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getVpnTunnelFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 11;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getDeliverFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 12;
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(getForwardFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 13;
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getAbortFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 14;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getDropFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(getLoadBalancerFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 16;
-                break;
-              } // case 130
-            case 138:
-              {
-                input.readMessage(getNetworkFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 17;
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(getGkeMasterFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 18;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getCloudSqlInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 19;
-                break;
-              } // case 154
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              causesDrop_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getFirewallFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getRouteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEndpointFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getForwardingRuleFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 9;
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getVpnGatewayFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 10;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getVpnTunnelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 11;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getDeliverFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 12;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getForwardFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 13;
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getAbortFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 14;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getDropFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getLoadBalancerFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 16;
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getNetworkFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 17;
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getGkeMasterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 18;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getCloudSqlInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 19;
+              break;
+            } // case 154
+            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) {
@@ -2620,12 +2329,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int stepInfoCase_ = 0;
     private java.lang.Object stepInfo_;
-
-    public StepInfoCase getStepInfoCase() {
-      return StepInfoCase.forNumber(stepInfoCase_);
+    public StepInfoCase
+        getStepInfoCase() {
+      return StepInfoCase.forNumber(
+          stepInfoCase_);
     }
 
     public Builder clearStepInfo() {
@@ -2639,20 +2348,18 @@ public Builder clearStepInfo() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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; @@ -2661,21 +2368,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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 { @@ -2683,35 +2389,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2721,21 +2420,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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_ |= 0x00000001; @@ -2745,29 +2440,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2778,33 +2466,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Step.State getState() { - com.google.cloud.networkmanagement.v1.Step.State result = - com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); - return result == null - ? com.google.cloud.networkmanagement.v1.Step.State.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.Step.State result = com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); + return result == null ? com.google.cloud.networkmanagement.v1.Step.State.UNRECOGNIZED : result; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2818,14 +2497,11 @@ public Builder setState(com.google.cloud.networkmanagement.v1.Step.State value) return this; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { @@ -2835,16 +2511,13 @@ public Builder clearState() { return this; } - private boolean causesDrop_; + private boolean causesDrop_ ; /** - * - * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; - * * @return The causesDrop. */ @java.lang.Override @@ -2852,33 +2525,27 @@ public boolean getCausesDrop() { return causesDrop_; } /** - * - * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; - * * @param value The causesDrop to set. * @return This builder for chaining. */ public Builder setCausesDrop(boolean value) { - + causesDrop_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; - * * @return This builder for chaining. */ public Builder clearCausesDrop() { @@ -2890,20 +2557,18 @@ public Builder clearCausesDrop() { private java.lang.Object projectId_ = ""; /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2912,21 +2577,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -2934,35 +2598,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2972,21 +2629,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000008; @@ -2995,19 +2648,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.InstanceInfo, - com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, - com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> - instanceBuilder_; + com.google.cloud.networkmanagement.v1.InstanceInfo, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> instanceBuilder_; /** - * - * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -3015,14 +2662,11 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; - * * @return The instance. */ @java.lang.Override @@ -3040,8 +2684,6 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo getInstance() { } } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3062,8 +2704,6 @@ public Builder setInstance(com.google.cloud.networkmanagement.v1.InstanceInfo va return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3082,8 +2722,6 @@ public Builder setInstance( return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3092,14 +2730,10 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.cloud.networkmanagement.v1.InstanceInfo value) { if (instanceBuilder_ == null) { - if (stepInfoCase_ == 5 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.InstanceInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 5 && + stepInfo_ != com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.InstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3115,8 +2749,6 @@ public Builder mergeInstance(com.google.cloud.networkmanagement.v1.InstanceInfo return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3140,8 +2772,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3152,8 +2782,6 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo.Builder getInstanceBui return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3172,8 +2800,6 @@ public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOr } } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3181,19 +2807,14 @@ public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOr * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.InstanceInfo, - com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, - com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1.InstanceInfo, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { if (!(stepInfoCase_ == 5)) { stepInfo_ = com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance(); } - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.InstanceInfo, - com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, - com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder>( + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.InstanceInfo, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3205,19 +2826,13 @@ public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.FirewallInfo, - com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, - com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> - firewallBuilder_; + com.google.cloud.networkmanagement.v1.FirewallInfo, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> firewallBuilder_; /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; - * * @return Whether the firewall field is set. */ @java.lang.Override @@ -3225,14 +2840,11 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; - * * @return The firewall. */ @java.lang.Override @@ -3250,8 +2862,6 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall() { } } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3272,8 +2882,6 @@ public Builder setFirewall(com.google.cloud.networkmanagement.v1.FirewallInfo va return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3292,8 +2900,6 @@ public Builder setFirewall( return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3302,14 +2908,10 @@ public Builder setFirewall( */ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1.FirewallInfo value) { if (firewallBuilder_ == null) { - if (stepInfoCase_ == 6 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.FirewallInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 6 && + stepInfo_ != com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.FirewallInfo.newBuilder((com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3325,8 +2927,6 @@ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1.FirewallInfo return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3350,8 +2950,6 @@ public Builder clearFirewall() { return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3362,8 +2960,6 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo.Builder getFirewallBui return getFirewallFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3382,8 +2978,6 @@ public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOr } } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3391,19 +2985,14 @@ public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOr * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.FirewallInfo, - com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, - com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> + com.google.cloud.networkmanagement.v1.FirewallInfo, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> getFirewallFieldBuilder() { if (firewallBuilder_ == null) { if (!(stepInfoCase_ == 6)) { stepInfo_ = com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance(); } - firewallBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.FirewallInfo, - com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, - com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder>( + firewallBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.FirewallInfo, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3415,19 +3004,13 @@ public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.RouteInfo, - com.google.cloud.networkmanagement.v1.RouteInfo.Builder, - com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> - routeBuilder_; + com.google.cloud.networkmanagement.v1.RouteInfo, com.google.cloud.networkmanagement.v1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> routeBuilder_; /** - * - * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; - * * @return Whether the route field is set. */ @java.lang.Override @@ -3435,14 +3018,11 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; - * * @return The route. */ @java.lang.Override @@ -3460,8 +3040,6 @@ public com.google.cloud.networkmanagement.v1.RouteInfo getRoute() { } } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3482,8 +3060,6 @@ public Builder setRoute(com.google.cloud.networkmanagement.v1.RouteInfo value) { return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3502,8 +3078,6 @@ public Builder setRoute( return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3512,13 +3086,10 @@ public Builder setRoute( */ public Builder mergeRoute(com.google.cloud.networkmanagement.v1.RouteInfo value) { if (routeBuilder_ == null) { - if (stepInfoCase_ == 7 - && stepInfo_ != com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.RouteInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 7 && + stepInfo_ != com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.RouteInfo.newBuilder((com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3534,8 +3105,6 @@ public Builder mergeRoute(com.google.cloud.networkmanagement.v1.RouteInfo value) return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3559,8 +3128,6 @@ public Builder clearRoute() { return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3571,8 +3138,6 @@ public com.google.cloud.networkmanagement.v1.RouteInfo.Builder getRouteBuilder() return getRouteFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3591,8 +3156,6 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde } } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3600,19 +3163,14 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde * .google.cloud.networkmanagement.v1.RouteInfo route = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.RouteInfo, - com.google.cloud.networkmanagement.v1.RouteInfo.Builder, - com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> + com.google.cloud.networkmanagement.v1.RouteInfo, com.google.cloud.networkmanagement.v1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> getRouteFieldBuilder() { if (routeBuilder_ == null) { if (!(stepInfoCase_ == 7)) { stepInfo_ = com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance(); } - routeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.RouteInfo, - com.google.cloud.networkmanagement.v1.RouteInfo.Builder, - com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder>( + routeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.RouteInfo, com.google.cloud.networkmanagement.v1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3624,13 +3182,8 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.EndpointInfo, - com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, - com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> - endpointBuilder_; - /** - * - * + com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> endpointBuilder_; + /** *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3639,7 +3192,6 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; - * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -3647,8 +3199,6 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** - * - * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3657,7 +3207,6 @@ public boolean hasEndpoint() {
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; - * * @return The endpoint. */ @java.lang.Override @@ -3675,8 +3224,6 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint() { } } /** - * - * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3700,8 +3247,6 @@ public Builder setEndpoint(com.google.cloud.networkmanagement.v1.EndpointInfo va
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3723,8 +3268,6 @@ public Builder setEndpoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3736,14 +3279,10 @@ public Builder setEndpoint(
      */
     public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1.EndpointInfo value) {
       if (endpointBuilder_ == null) {
-        if (stepInfoCase_ == 8
-            && stepInfo_
-                != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
-          stepInfo_ =
-              com.google.cloud.networkmanagement.v1.EndpointInfo.newBuilder(
-                      (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (stepInfoCase_ == 8 &&
+            stepInfo_ != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
+          stepInfo_ = com.google.cloud.networkmanagement.v1.EndpointInfo.newBuilder((com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           stepInfo_ = value;
         }
@@ -3759,8 +3298,6 @@ public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1.EndpointInfo
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3787,8 +3324,6 @@ public Builder clearEndpoint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3802,8 +3337,6 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo.Builder getEndpointBui
       return getEndpointFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3825,8 +3358,6 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOr
       }
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3837,19 +3368,14 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOr
      * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>
+        com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> 
         getEndpointFieldBuilder() {
       if (endpointBuilder_ == null) {
         if (!(stepInfoCase_ == 8)) {
           stepInfo_ = com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance();
         }
-        endpointBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1.EndpointInfo,
-                com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
-                com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
+        endpointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
                 (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_,
                 getParentForChildren(),
                 isClean());
@@ -3861,19 +3387,13 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOr
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.ForwardingRuleInfo,
-            com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder,
-            com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder>
-        forwardingRuleBuilder_;
+        com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder> forwardingRuleBuilder_;
     /**
-     *
-     *
      * 
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; - * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -3881,14 +3401,11 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; - * * @return The forwardingRule. */ @java.lang.Override @@ -3906,16 +3423,13 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRul } } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder setForwardingRule( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { + public Builder setForwardingRule(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3929,8 +3443,6 @@ public Builder setForwardingRule( return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3949,25 +3461,18 @@ public Builder setForwardingRule( return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder mergeForwardingRule( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { + public Builder mergeForwardingRule(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { - if (stepInfoCase_ == 9 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 9 && + stepInfo_ != com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.newBuilder((com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3983,8 +3488,6 @@ public Builder mergeForwardingRule( return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4008,21 +3511,16 @@ public Builder clearForwardingRule() { return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ - public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder - getForwardingRuleBuilder() { + public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder getForwardingRuleBuilder() { return getForwardingRuleFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4030,8 +3528,7 @@ public Builder clearForwardingRule() { * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder - getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { if ((stepInfoCase_ == 9) && (forwardingRuleBuilder_ != null)) { return forwardingRuleBuilder_.getMessageOrBuilder(); } else { @@ -4042,8 +3539,6 @@ public Builder clearForwardingRule() { } } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4051,19 +3546,14 @@ public Builder clearForwardingRule() { * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, - com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder> + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder> getForwardingRuleFieldBuilder() { if (forwardingRuleBuilder_ == null) { if (!(stepInfoCase_ == 9)) { stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance(); } - forwardingRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, - com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder>( + forwardingRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4075,19 +3565,13 @@ public Builder clearForwardingRule() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnGatewayInfo, - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, - com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> - vpnGatewayBuilder_; + com.google.cloud.networkmanagement.v1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> vpnGatewayBuilder_; /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; - * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -4095,14 +3579,11 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; - * * @return The vpnGateway. */ @java.lang.Override @@ -4120,8 +3601,6 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway() { } } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4142,8 +3621,6 @@ public Builder setVpnGateway(com.google.cloud.networkmanagement.v1.VpnGatewayInf return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4162,8 +3639,6 @@ public Builder setVpnGateway( return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4172,14 +3647,10 @@ public Builder setVpnGateway( */ public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1.VpnGatewayInfo value) { if (vpnGatewayBuilder_ == null) { - if (stepInfoCase_ == 10 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 10 && + stepInfo_ != com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.VpnGatewayInfo.newBuilder((com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4195,8 +3666,6 @@ public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1.VpnGatewayI return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4220,8 +3689,6 @@ public Builder clearVpnGateway() { return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4232,8 +3699,6 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder getVpnGatewa return getVpnGatewayFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4252,8 +3717,6 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatew } } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4261,19 +3724,14 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatew * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnGatewayInfo, - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, - com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> + com.google.cloud.networkmanagement.v1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> getVpnGatewayFieldBuilder() { if (vpnGatewayBuilder_ == null) { if (!(stepInfoCase_ == 10)) { stepInfo_ = com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance(); } - vpnGatewayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnGatewayInfo, - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, - com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder>( + vpnGatewayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4285,19 +3743,13 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatew } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnTunnelInfo, - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, - com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> - vpnTunnelBuilder_; + com.google.cloud.networkmanagement.v1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> vpnTunnelBuilder_; /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; - * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -4305,14 +3757,11 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; - * * @return The vpnTunnel. */ @java.lang.Override @@ -4330,8 +3779,6 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel() { } } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4352,8 +3799,6 @@ public Builder setVpnTunnel(com.google.cloud.networkmanagement.v1.VpnTunnelInfo return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4372,8 +3817,6 @@ public Builder setVpnTunnel( return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4382,14 +3825,10 @@ public Builder setVpnTunnel( */ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1.VpnTunnelInfo value) { if (vpnTunnelBuilder_ == null) { - if (stepInfoCase_ == 11 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 11 && + stepInfo_ != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.newBuilder((com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4405,8 +3844,6 @@ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1.VpnTunnelInf return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4430,8 +3867,6 @@ public Builder clearVpnTunnel() { return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4442,8 +3877,6 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder getVpnTunnelB return getVpnTunnelFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4462,8 +3895,6 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnel } } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4471,19 +3902,14 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnel * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnTunnelInfo, - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, - com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> + com.google.cloud.networkmanagement.v1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> getVpnTunnelFieldBuilder() { if (vpnTunnelBuilder_ == null) { if (!(stepInfoCase_ == 11)) { stepInfo_ = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance(); } - vpnTunnelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnTunnelInfo, - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, - com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder>( + vpnTunnelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4495,19 +3921,13 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnel } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DeliverInfo, - com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, - com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> - deliverBuilder_; + com.google.cloud.networkmanagement.v1.DeliverInfo, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> deliverBuilder_; /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; - * * @return Whether the deliver field is set. */ @java.lang.Override @@ -4515,14 +3935,11 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; - * * @return The deliver. */ @java.lang.Override @@ -4540,8 +3957,6 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver() { } } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4562,8 +3977,6 @@ public Builder setDeliver(com.google.cloud.networkmanagement.v1.DeliverInfo valu return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4582,8 +3995,6 @@ public Builder setDeliver( return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4592,14 +4003,10 @@ public Builder setDeliver( */ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1.DeliverInfo value) { if (deliverBuilder_ == null) { - if (stepInfoCase_ == 12 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.DeliverInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 12 && + stepInfo_ != com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.DeliverInfo.newBuilder((com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4615,8 +4022,6 @@ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1.DeliverInfo va return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4640,8 +4045,6 @@ public Builder clearDeliver() { return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4652,8 +4055,6 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo.Builder getDeliverBuild return getDeliverFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4672,8 +4073,6 @@ public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBu } } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4681,19 +4080,14 @@ public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBu * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DeliverInfo, - com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, - com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> + com.google.cloud.networkmanagement.v1.DeliverInfo, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> getDeliverFieldBuilder() { if (deliverBuilder_ == null) { if (!(stepInfoCase_ == 12)) { stepInfo_ = com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance(); } - deliverBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DeliverInfo, - com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, - com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder>( + deliverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.DeliverInfo, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4705,19 +4099,13 @@ public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardInfo, - com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, - com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> - forwardBuilder_; + com.google.cloud.networkmanagement.v1.ForwardInfo, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> forwardBuilder_; /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; - * * @return Whether the forward field is set. */ @java.lang.Override @@ -4725,14 +4113,11 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; - * * @return The forward. */ @java.lang.Override @@ -4750,8 +4135,6 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo getForward() { } } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4772,8 +4155,6 @@ public Builder setForward(com.google.cloud.networkmanagement.v1.ForwardInfo valu return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4792,8 +4173,6 @@ public Builder setForward( return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4802,14 +4181,10 @@ public Builder setForward( */ public Builder mergeForward(com.google.cloud.networkmanagement.v1.ForwardInfo value) { if (forwardBuilder_ == null) { - if (stepInfoCase_ == 13 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.ForwardInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 13 && + stepInfo_ != com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardInfo.newBuilder((com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4825,8 +4200,6 @@ public Builder mergeForward(com.google.cloud.networkmanagement.v1.ForwardInfo va return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4850,8 +4223,6 @@ public Builder clearForward() { return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4862,8 +4233,6 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo.Builder getForwardBuild return getForwardFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4882,8 +4251,6 @@ public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBu } } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4891,19 +4258,14 @@ public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBu * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardInfo, - com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, - com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> + com.google.cloud.networkmanagement.v1.ForwardInfo, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> getForwardFieldBuilder() { if (forwardBuilder_ == null) { if (!(stepInfoCase_ == 13)) { stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance(); } - forwardBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardInfo, - com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, - com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder>( + forwardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ForwardInfo, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4915,19 +4277,13 @@ public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.AbortInfo, - com.google.cloud.networkmanagement.v1.AbortInfo.Builder, - com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> - abortBuilder_; + com.google.cloud.networkmanagement.v1.AbortInfo, com.google.cloud.networkmanagement.v1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> abortBuilder_; /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; - * * @return Whether the abort field is set. */ @java.lang.Override @@ -4935,14 +4291,11 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; - * * @return The abort. */ @java.lang.Override @@ -4960,8 +4313,6 @@ public com.google.cloud.networkmanagement.v1.AbortInfo getAbort() { } } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4982,8 +4333,6 @@ public Builder setAbort(com.google.cloud.networkmanagement.v1.AbortInfo value) { return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5002,8 +4351,6 @@ public Builder setAbort( return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5012,13 +4359,10 @@ public Builder setAbort( */ public Builder mergeAbort(com.google.cloud.networkmanagement.v1.AbortInfo value) { if (abortBuilder_ == null) { - if (stepInfoCase_ == 14 - && stepInfo_ != com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.AbortInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 14 && + stepInfo_ != com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.AbortInfo.newBuilder((com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5034,8 +4378,6 @@ public Builder mergeAbort(com.google.cloud.networkmanagement.v1.AbortInfo value) return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5059,8 +4401,6 @@ public Builder clearAbort() { return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5071,8 +4411,6 @@ public com.google.cloud.networkmanagement.v1.AbortInfo.Builder getAbortBuilder() return getAbortFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5091,8 +4429,6 @@ public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilde } } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5100,19 +4436,14 @@ public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilde * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.AbortInfo, - com.google.cloud.networkmanagement.v1.AbortInfo.Builder, - com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> + com.google.cloud.networkmanagement.v1.AbortInfo, com.google.cloud.networkmanagement.v1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> getAbortFieldBuilder() { if (abortBuilder_ == null) { if (!(stepInfoCase_ == 14)) { stepInfo_ = com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance(); } - abortBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.AbortInfo, - com.google.cloud.networkmanagement.v1.AbortInfo.Builder, - com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder>( + abortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.AbortInfo, com.google.cloud.networkmanagement.v1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5124,19 +4455,13 @@ public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DropInfo, - com.google.cloud.networkmanagement.v1.DropInfo.Builder, - com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> - dropBuilder_; + com.google.cloud.networkmanagement.v1.DropInfo, com.google.cloud.networkmanagement.v1.DropInfo.Builder, com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> dropBuilder_; /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -5144,14 +4469,11 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; - * * @return The drop. */ @java.lang.Override @@ -5169,8 +4491,6 @@ public com.google.cloud.networkmanagement.v1.DropInfo getDrop() { } } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5191,15 +4511,14 @@ public Builder setDrop(com.google.cloud.networkmanagement.v1.DropInfo value) { return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; */ - public Builder setDrop(com.google.cloud.networkmanagement.v1.DropInfo.Builder builderForValue) { + public Builder setDrop( + com.google.cloud.networkmanagement.v1.DropInfo.Builder builderForValue) { if (dropBuilder_ == null) { stepInfo_ = builderForValue.build(); onChanged(); @@ -5210,8 +4529,6 @@ public Builder setDrop(com.google.cloud.networkmanagement.v1.DropInfo.Builder bu return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5220,13 +4537,10 @@ public Builder setDrop(com.google.cloud.networkmanagement.v1.DropInfo.Builder bu */ public Builder mergeDrop(com.google.cloud.networkmanagement.v1.DropInfo value) { if (dropBuilder_ == null) { - if (stepInfoCase_ == 15 - && stepInfo_ != com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.DropInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 15 && + stepInfo_ != com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.DropInfo.newBuilder((com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5242,8 +4556,6 @@ public Builder mergeDrop(com.google.cloud.networkmanagement.v1.DropInfo value) { return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5267,8 +4579,6 @@ public Builder clearDrop() { return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5279,8 +4589,6 @@ public com.google.cloud.networkmanagement.v1.DropInfo.Builder getDropBuilder() { return getDropFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5299,8 +4607,6 @@ public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder( } } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5308,19 +4614,14 @@ public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder( * .google.cloud.networkmanagement.v1.DropInfo drop = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DropInfo, - com.google.cloud.networkmanagement.v1.DropInfo.Builder, - com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> + com.google.cloud.networkmanagement.v1.DropInfo, com.google.cloud.networkmanagement.v1.DropInfo.Builder, com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> getDropFieldBuilder() { if (dropBuilder_ == null) { if (!(stepInfoCase_ == 15)) { stepInfo_ = com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance(); } - dropBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DropInfo, - com.google.cloud.networkmanagement.v1.DropInfo.Builder, - com.google.cloud.networkmanagement.v1.DropInfoOrBuilder>( + dropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.DropInfo, com.google.cloud.networkmanagement.v1.DropInfo.Builder, com.google.cloud.networkmanagement.v1.DropInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5332,19 +4633,13 @@ public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerInfo, - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, - com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> - loadBalancerBuilder_; + com.google.cloud.networkmanagement.v1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> loadBalancerBuilder_; /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; - * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -5352,14 +4647,11 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; - * * @return The loadBalancer. */ @java.lang.Override @@ -5377,8 +4669,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer() } } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5399,8 +4689,6 @@ public Builder setLoadBalancer(com.google.cloud.networkmanagement.v1.LoadBalance return this; } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5419,8 +4707,6 @@ public Builder setLoadBalancer( return this; } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5429,14 +4715,10 @@ public Builder setLoadBalancer( */ public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1.LoadBalancerInfo value) { if (loadBalancerBuilder_ == null) { - if (stepInfoCase_ == 16 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 16 && + stepInfo_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.newBuilder((com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5452,8 +4734,6 @@ public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1.LoadBalan return this; } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5477,8 +4757,6 @@ public Builder clearLoadBalancer() { return this; } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5489,8 +4767,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal return getLoadBalancerFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5498,8 +4774,7 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder - getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { if ((stepInfoCase_ == 16) && (loadBalancerBuilder_ != null)) { return loadBalancerBuilder_.getMessageOrBuilder(); } else { @@ -5510,8 +4785,6 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal } } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5519,19 +4792,14 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerInfo, - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, - com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> + com.google.cloud.networkmanagement.v1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> getLoadBalancerFieldBuilder() { if (loadBalancerBuilder_ == null) { if (!(stepInfoCase_ == 16)) { stepInfo_ = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance(); } - loadBalancerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerInfo, - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, - com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder>( + loadBalancerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5543,19 +4811,13 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.NetworkInfo, - com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, - com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> - networkBuilder_; + com.google.cloud.networkmanagement.v1.NetworkInfo, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> networkBuilder_; /** - * - * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; - * * @return Whether the network field is set. */ @java.lang.Override @@ -5563,14 +4825,11 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; - * * @return The network. */ @java.lang.Override @@ -5588,8 +4847,6 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork() { } } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5610,8 +4867,6 @@ public Builder setNetwork(com.google.cloud.networkmanagement.v1.NetworkInfo valu return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5630,8 +4885,6 @@ public Builder setNetwork( return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5640,14 +4893,10 @@ public Builder setNetwork( */ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1.NetworkInfo value) { if (networkBuilder_ == null) { - if (stepInfoCase_ == 17 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.NetworkInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 17 && + stepInfo_ != com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.NetworkInfo.newBuilder((com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5663,8 +4912,6 @@ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1.NetworkInfo va return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5688,8 +4935,6 @@ public Builder clearNetwork() { return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5700,8 +4945,6 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo.Builder getNetworkBuild return getNetworkFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5720,8 +4963,6 @@ public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBu } } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -5729,19 +4970,14 @@ public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBu * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.NetworkInfo, - com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, - com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> + com.google.cloud.networkmanagement.v1.NetworkInfo, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> getNetworkFieldBuilder() { if (networkBuilder_ == null) { if (!(stepInfoCase_ == 17)) { stepInfo_ = com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance(); } - networkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.NetworkInfo, - com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, - com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder>( + networkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.NetworkInfo, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5753,19 +4989,13 @@ public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.GKEMasterInfo, - com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, - com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> - gkeMasterBuilder_; + com.google.cloud.networkmanagement.v1.GKEMasterInfo, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> gkeMasterBuilder_; /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; - * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -5773,14 +5003,11 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; - * * @return The gkeMaster. */ @java.lang.Override @@ -5798,8 +5025,6 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster() { } } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5820,8 +5045,6 @@ public Builder setGkeMaster(com.google.cloud.networkmanagement.v1.GKEMasterInfo return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5840,8 +5063,6 @@ public Builder setGkeMaster( return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5850,14 +5071,10 @@ public Builder setGkeMaster( */ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1.GKEMasterInfo value) { if (gkeMasterBuilder_ == null) { - if (stepInfoCase_ == 18 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.GKEMasterInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 18 && + stepInfo_ != com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.GKEMasterInfo.newBuilder((com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5873,8 +5090,6 @@ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1.GKEMasterInf return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5898,8 +5113,6 @@ public Builder clearGkeMaster() { return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5910,8 +5123,6 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder getGkeMasterB return getGkeMasterFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5930,8 +5141,6 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMaster } } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5939,19 +5148,14 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMaster * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.GKEMasterInfo, - com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, - com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> + com.google.cloud.networkmanagement.v1.GKEMasterInfo, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> getGkeMasterFieldBuilder() { if (gkeMasterBuilder_ == null) { if (!(stepInfoCase_ == 18)) { stepInfo_ = com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance(); } - gkeMasterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.GKEMasterInfo, - com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, - com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder>( + gkeMasterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.GKEMasterInfo, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5963,19 +5167,13 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMaster } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> - cloudSqlInstanceBuilder_; + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> cloudSqlInstanceBuilder_; /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -5983,14 +5181,11 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * * @return The cloudSqlInstance. */ @java.lang.Override @@ -6008,16 +5203,13 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlIns } } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public Builder setCloudSqlInstance( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { + public Builder setCloudSqlInstance(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6031,8 +5223,6 @@ public Builder setCloudSqlInstance( return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
@@ -6051,26 +5241,18 @@ public Builder setCloudSqlInstance( return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public Builder mergeCloudSqlInstance( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { + public Builder mergeCloudSqlInstance(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { - if (stepInfoCase_ == 19 - && stepInfo_ - != com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo - .getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.newBuilder( - (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 19 && + stepInfo_ != com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -6086,8 +5268,6 @@ public Builder mergeCloudSqlInstance( return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
@@ -6111,21 +5291,16 @@ public Builder clearCloudSqlInstance() { return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder - getCloudSqlInstanceBuilder() { + public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder getCloudSqlInstanceBuilder() { return getCloudSqlInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
@@ -6133,8 +5308,7 @@ public Builder clearCloudSqlInstance() { * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder - getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { if ((stepInfoCase_ == 19) && (cloudSqlInstanceBuilder_ != null)) { return cloudSqlInstanceBuilder_.getMessageOrBuilder(); } else { @@ -6145,8 +5319,6 @@ public Builder clearCloudSqlInstance() { } } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
@@ -6154,20 +5326,14 @@ public Builder clearCloudSqlInstance() { * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> getCloudSqlInstanceFieldBuilder() { if (cloudSqlInstanceBuilder_ == null) { if (!(stepInfoCase_ == 19)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); - } - cloudSqlInstanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); + } + cloudSqlInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -6177,9 +5343,9 @@ public Builder clearCloudSqlInstance() { onChanged(); return cloudSqlInstanceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6189,12 +5355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.Step) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.Step) private static final com.google.cloud.networkmanagement.v1.Step DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.Step(); } @@ -6203,27 +5369,27 @@ public static com.google.cloud.networkmanagement.v1.Step getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step 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 Step 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; @@ -6238,4 +5404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.Step getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java similarity index 90% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java index 0ee12d5f1496..871c91442777 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface StepOrBuilder - extends +public interface StepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.Step) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; - * * @return The state. */ com.google.cloud.networkmanagement.v1.Step.State getState(); /** - * - * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; - * * @return The causesDrop. */ boolean getCausesDrop(); /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; - * * @return The instance. */ com.google.cloud.networkmanagement.v1.InstanceInfo getInstance(); /** - * - * *
    * Display information of a Compute Engine instance.
    * 
@@ -147,32 +104,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; - * * @return Whether the firewall field is set. */ boolean hasFirewall(); /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; - * * @return The firewall. */ com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall(); /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -182,32 +131,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOrBuilder(); /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; - * * @return Whether the route field is set. */ boolean hasRoute(); /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; - * * @return The route. */ com.google.cloud.networkmanagement.v1.RouteInfo getRoute(); /** - * - * *
    * Display information of a Compute Engine route.
    * 
@@ -217,8 +158,6 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilder(); /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -227,13 +166,10 @@ public interface StepOrBuilder
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; - * * @return Whether the endpoint field is set. */ boolean hasEndpoint(); /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -242,13 +178,10 @@ public interface StepOrBuilder
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; - * * @return The endpoint. */ com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint(); /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -261,32 +194,24 @@ public interface StepOrBuilder
   com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOrBuilder();
 
   /**
-   *
-   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; - * * @return Whether the forwardingRule field is set. */ boolean hasForwardingRule(); /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; - * * @return The forwardingRule. */ com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRule(); /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
@@ -296,32 +221,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder(); /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; - * * @return Whether the vpnGateway field is set. */ boolean hasVpnGateway(); /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; - * * @return The vpnGateway. */ com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway(); /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -331,32 +248,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder(); /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; - * * @return Whether the vpnTunnel field is set. */ boolean hasVpnTunnel(); /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; - * * @return The vpnTunnel. */ com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel(); /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -366,32 +275,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder(); /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; - * * @return Whether the deliver field is set. */ boolean hasDeliver(); /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; - * * @return The deliver. */ com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver(); /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -401,32 +302,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBuilder(); /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; - * * @return Whether the forward field is set. */ boolean hasForward(); /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; - * * @return The forward. */ com.google.cloud.networkmanagement.v1.ForwardInfo getForward(); /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
@@ -436,32 +329,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBuilder(); /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; - * * @return Whether the abort field is set. */ boolean hasAbort(); /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; - * * @return The abort. */ com.google.cloud.networkmanagement.v1.AbortInfo getAbort(); /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
@@ -471,32 +356,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilder(); /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; - * * @return Whether the drop field is set. */ boolean hasDrop(); /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; - * * @return The drop. */ com.google.cloud.networkmanagement.v1.DropInfo getDrop(); /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
@@ -506,32 +383,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder(); /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; - * * @return Whether the loadBalancer field is set. */ boolean hasLoadBalancer(); /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; - * * @return The loadBalancer. */ com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer(); /** - * - * *
    * Display information of the load balancers.
    * 
@@ -541,32 +410,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder(); /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; - * * @return Whether the network field is set. */ boolean hasNetwork(); /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; - * * @return The network. */ com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork(); /** - * - * *
    * Display information of a Google Cloud network.
    * 
@@ -576,32 +437,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBuilder(); /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; - * * @return Whether the gkeMaster field is set. */ boolean hasGkeMaster(); /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; - * * @return The gkeMaster. */ com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster(); /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -611,40 +464,31 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder(); /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * * @return Whether the cloudSqlInstance field is set. */ boolean hasCloudSqlInstance(); /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * * @return The cloudSqlInstance. */ com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlInstance(); /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder - getCloudSqlInstanceOrBuilder(); + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder(); public com.google.cloud.networkmanagement.v1.Step.StepInfoCase getStepInfoCase(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java new file mode 100644 index 000000000000..ad3e44c867ab --- /dev/null +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/networkmanagement/v1/connectivity_test.proto + +package com.google.cloud.networkmanagement.v1; + +public final class TestOuterClass { + private TestOuterClass() {} + 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_networkmanagement_v1_ConnectivityTest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/networkmanagement/v1/conn" + + "ectivity_test.proto\022!google.cloud.networ" + + "kmanagement.v1\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032-goog" + + "le/cloud/networkmanagement/v1/trace.prot" + + "o\032\037google/protobuf/timestamp.proto\032\027goog" + + "le/rpc/status.proto\"\307\005\n\020ConnectivityTest" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t" + + "\022@\n\006source\030\003 \001(\0132+.google.cloud.networkm" + + "anagement.v1.EndpointB\003\340A\002\022E\n\013destinatio" + + "n\030\004 \001(\0132+.google.cloud.networkmanagement" + + ".v1.EndpointB\003\340A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020r" + + "elated_projects\030\006 \003(\t\022\031\n\014display_name\030\007 " + + "\001(\tB\003\340A\003\022O\n\006labels\030\010 \003(\0132?.google.cloud." + + "networkmanagement.v1.ConnectivityTest.La" + + "belsEntry\0224\n\013create_time\030\n \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\013" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022Y\n" + + "\024reachability_details\030\014 \001(\01326.google.clo" + + "ud.networkmanagement.v1.ReachabilityDeta" + + "ilsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement." + + "googleapis.com/ConnectivityTest\022 * Trace represents one simulated packet forwarding path. * * Each trace contains multiple ordered steps. @@ -36,51 +19,47 @@ * * Protobuf type {@code google.cloud.networkmanagement.v1.Trace} */ -public final class Trace extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Trace extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.Trace) TraceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Trace.newBuilder() to construct. private Trace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Trace() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Trace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_Trace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.Trace.class, - com.google.cloud.networkmanagement.v1.Trace.Builder.class); + com.google.cloud.networkmanagement.v1.Trace.class, com.google.cloud.networkmanagement.v1.Trace.Builder.class); } public static final int ENDPOINT_INFO_FIELD_NUMBER = 1; private com.google.cloud.networkmanagement.v1.EndpointInfo endpointInfo_; /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -89,7 +68,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; - * * @return Whether the endpointInfo field is set. */ @java.lang.Override @@ -97,8 +75,6 @@ public boolean hasEndpointInfo() { return endpointInfo_ != null; } /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -107,18 +83,13 @@ public boolean hasEndpointInfo() {
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; - * * @return The endpointInfo. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo() { - return endpointInfo_ == null - ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() - : endpointInfo_; + return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_; } /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -130,18 +101,13 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo() {
    */
   @java.lang.Override
   public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
-    return endpointInfo_ == null
-        ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()
-        : endpointInfo_;
+    return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_;
   }
 
   public static final int STEPS_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List steps_;
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -157,8 +123,6 @@ public java.util.List getStepsList()
     return steps_;
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -170,13 +134,11 @@ public java.util.List getStepsList()
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -192,8 +154,6 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -209,8 +169,6 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
     return steps_.get(index);
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -222,12 +180,12 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int index) {
+  public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
+      int index) {
     return steps_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -239,7 +197,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (endpointInfo_ != null) {
       output.writeMessage(1, getEndpointInfo());
     }
@@ -256,10 +215,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (endpointInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndpointInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEndpointInfo());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, steps_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -269,19 +230,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.networkmanagement.v1.Trace)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1.Trace other =
-        (com.google.cloud.networkmanagement.v1.Trace) obj;
+    com.google.cloud.networkmanagement.v1.Trace other = (com.google.cloud.networkmanagement.v1.Trace) obj;
 
     if (hasEndpointInfo() != other.hasEndpointInfo()) return false;
     if (hasEndpointInfo()) {
-      if (!getEndpointInfo().equals(other.getEndpointInfo())) return false;
+      if (!getEndpointInfo()
+          .equals(other.getEndpointInfo())) return false;
     }
-    if (!getStepsList().equals(other.getStepsList())) return false;
+    if (!getStepsList()
+        .equals(other.getStepsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -306,104 +268,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.networkmanagement.v1.Trace parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace 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.networkmanagement.v1.Trace parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1.Trace parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1.Trace parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace 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.networkmanagement.v1.Trace parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.networkmanagement.v1.Trace prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Trace represents one simulated packet forwarding path.
    *   * Each trace contains multiple ordered steps.
@@ -419,32 +374,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.Trace}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.Trace)
       com.google.cloud.networkmanagement.v1.TraceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.Trace.class,
-              com.google.cloud.networkmanagement.v1.Trace.Builder.class);
+              com.google.cloud.networkmanagement.v1.Trace.class, com.google.cloud.networkmanagement.v1.Trace.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.Trace.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -465,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
     }
 
     @java.lang.Override
@@ -486,12 +442,9 @@ public com.google.cloud.networkmanagement.v1.Trace build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.Trace buildPartial() {
-      com.google.cloud.networkmanagement.v1.Trace result =
-          new com.google.cloud.networkmanagement.v1.Trace(this);
+      com.google.cloud.networkmanagement.v1.Trace result = new com.google.cloud.networkmanagement.v1.Trace(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -511,8 +464,9 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.Tr
     private void buildPartial0(com.google.cloud.networkmanagement.v1.Trace result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.endpointInfo_ =
-            endpointInfoBuilder_ == null ? endpointInfo_ : endpointInfoBuilder_.build();
+        result.endpointInfo_ = endpointInfoBuilder_ == null
+            ? endpointInfo_
+            : endpointInfoBuilder_.build();
       }
     }
 
@@ -520,39 +474,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Trace 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.networkmanagement.v1.Trace) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.Trace) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.Trace)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -582,10 +535,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.Trace other) {
             stepsBuilder_ = null;
             steps_ = other.steps_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            stepsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getStepsFieldBuilder()
-                    : null;
+            stepsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getStepsFieldBuilder() : null;
           } else {
             stepsBuilder_.addAllMessages(other.steps_);
           }
@@ -617,32 +569,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEndpointInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.networkmanagement.v1.Step m =
-                    input.readMessage(
-                        com.google.cloud.networkmanagement.v1.Step.parser(), extensionRegistry);
-                if (stepsBuilder_ == null) {
-                  ensureStepsIsMutable();
-                  steps_.add(m);
-                } else {
-                  stepsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getEndpointInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.networkmanagement.v1.Step m =
+                  input.readMessage(
+                      com.google.cloud.networkmanagement.v1.Step.parser(),
+                      extensionRegistry);
+              if (stepsBuilder_ == null) {
+                ensureStepsIsMutable();
+                steps_.add(m);
+              } else {
+                stepsBuilder_.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) {
@@ -652,18 +604,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.networkmanagement.v1.EndpointInfo endpointInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>
-        endpointInfoBuilder_;
+        com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> endpointInfoBuilder_;
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -672,15 +618,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; - * * @return Whether the endpointInfo field is set. */ public boolean hasEndpointInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -689,21 +632,16 @@ public boolean hasEndpointInfo() {
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; - * * @return The endpointInfo. */ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo() { if (endpointInfoBuilder_ == null) { - return endpointInfo_ == null - ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() - : endpointInfo_; + return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_; } else { return endpointInfoBuilder_.getMessage(); } } /** - * - * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -727,8 +665,6 @@ public Builder setEndpointInfo(com.google.cloud.networkmanagement.v1.EndpointInf
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -750,8 +686,6 @@ public Builder setEndpointInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -763,10 +697,9 @@ public Builder setEndpointInfo(
      */
     public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1.EndpointInfo value) {
       if (endpointInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && endpointInfo_ != null
-            && endpointInfo_
-                != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          endpointInfo_ != null &&
+          endpointInfo_ != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
           getEndpointInfoBuilder().mergeFrom(value);
         } else {
           endpointInfo_ = value;
@@ -779,8 +712,6 @@ public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1.EndpointI
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -801,8 +732,6 @@ public Builder clearEndpointInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -818,8 +747,6 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo.Builder getEndpointInf
       return getEndpointInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -833,14 +760,11 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointIn
       if (endpointInfoBuilder_ != null) {
         return endpointInfoBuilder_.getMessageOrBuilder();
       } else {
-        return endpointInfo_ == null
-            ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()
-            : endpointInfo_;
+        return endpointInfo_ == null ?
+            com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -851,41 +775,32 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointIn
      * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>
+        com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> 
         getEndpointInfoFieldBuilder() {
       if (endpointInfoBuilder_ == null) {
-        endpointInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1.EndpointInfo,
-                com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
-                com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
-                getEndpointInfo(), getParentForChildren(), isClean());
+        endpointInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
+                getEndpointInfo(),
+                getParentForChildren(),
+                isClean());
         endpointInfo_ = null;
       }
       return endpointInfoBuilder_;
     }
 
     private java.util.List steps_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.Step,
-            com.google.cloud.networkmanagement.v1.Step.Builder,
-            com.google.cloud.networkmanagement.v1.StepOrBuilder>
-        stepsBuilder_;
+        com.google.cloud.networkmanagement.v1.Step, com.google.cloud.networkmanagement.v1.Step.Builder, com.google.cloud.networkmanagement.v1.StepOrBuilder> stepsBuilder_;
 
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -904,8 +819,6 @@ public java.util.List getStepsList()
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -924,8 +837,6 @@ public int getStepsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -944,8 +855,6 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -956,7 +865,8 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public Builder setSteps(int index, com.google.cloud.networkmanagement.v1.Step value) {
+    public Builder setSteps(
+        int index, com.google.cloud.networkmanagement.v1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -970,8 +880,6 @@ public Builder setSteps(int index, com.google.cloud.networkmanagement.v1.Step va
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -994,8 +902,6 @@ public Builder setSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1020,8 +926,6 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1.Step value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1032,7 +936,8 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1.Step value) {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public Builder addSteps(int index, com.google.cloud.networkmanagement.v1.Step value) {
+    public Builder addSteps(
+        int index, com.google.cloud.networkmanagement.v1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1046,8 +951,6 @@ public Builder addSteps(int index, com.google.cloud.networkmanagement.v1.Step va
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1058,7 +961,8 @@ public Builder addSteps(int index, com.google.cloud.networkmanagement.v1.Step va
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public Builder addSteps(com.google.cloud.networkmanagement.v1.Step.Builder builderForValue) {
+    public Builder addSteps(
+        com.google.cloud.networkmanagement.v1.Step.Builder builderForValue) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
         steps_.add(builderForValue.build());
@@ -1069,8 +973,6 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1.Step.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1093,8 +995,6 @@ public Builder addSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1109,7 +1009,8 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -1117,8 +1018,6 @@ public Builder addAllSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1140,8 +1039,6 @@ public Builder clearSteps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1163,8 +1060,6 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1175,12 +1070,11 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1.Step.Builder getStepsBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1.Step.Builder getStepsBuilder(
+        int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1191,16 +1085,14 @@ public com.google.cloud.networkmanagement.v1.Step.Builder getStepsBuilder(int in
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
+        int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);
-      } else {
+        return steps_.get(index);  } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1211,8 +1103,8 @@ public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public java.util.List
-        getStepsOrBuilderList() {
+    public java.util.List 
+         getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1220,8 +1112,6 @@ public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1233,12 +1123,10 @@ public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
     public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder() {
-      return getStepsFieldBuilder()
-          .addBuilder(com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
+      return getStepsFieldBuilder().addBuilder(
+          com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1249,13 +1137,12 @@ public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder() {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder(int index) {
-      return getStepsFieldBuilder()
-          .addBuilder(index, com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder(
+        int index) {
+      return getStepsFieldBuilder().addBuilder(
+          index, com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1266,30 +1153,27 @@ public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder(int in
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public java.util.List
-        getStepsBuilderList() {
+    public java.util.List 
+         getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.Step,
-            com.google.cloud.networkmanagement.v1.Step.Builder,
-            com.google.cloud.networkmanagement.v1.StepOrBuilder>
+        com.google.cloud.networkmanagement.v1.Step, com.google.cloud.networkmanagement.v1.Step.Builder, com.google.cloud.networkmanagement.v1.StepOrBuilder> 
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1.Step,
-                com.google.cloud.networkmanagement.v1.Step.Builder,
-                com.google.cloud.networkmanagement.v1.StepOrBuilder>(
-                steps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1.Step, com.google.cloud.networkmanagement.v1.Step.Builder, com.google.cloud.networkmanagement.v1.StepOrBuilder>(
+                steps_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         steps_ = null;
       }
       return stepsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1299,12 +1183,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.Trace)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.Trace)
   private static final com.google.cloud.networkmanagement.v1.Trace DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.Trace();
   }
@@ -1313,27 +1197,27 @@ public static com.google.cloud.networkmanagement.v1.Trace getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Trace 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 Trace 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;
@@ -1348,4 +1232,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.networkmanagement.v1.Trace getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
similarity index 83%
rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
index 3b2b65eaf593..d5fe50a963c1 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
+++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/trace.proto
 
 package com.google.cloud.networkmanagement.v1;
 
-public interface TraceOrBuilder
-    extends
+public interface TraceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.Trace)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -34,13 +16,10 @@ public interface TraceOrBuilder
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; - * * @return Whether the endpointInfo field is set. */ boolean hasEndpointInfo(); /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -49,13 +28,10 @@ public interface TraceOrBuilder
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; - * * @return The endpointInfo. */ com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo(); /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -68,8 +44,6 @@ public interface TraceOrBuilder
   com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -80,10 +54,9 @@ public interface TraceOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
-  java.util.List getStepsList();
+  java.util.List 
+      getStepsList();
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -96,8 +69,6 @@ public interface TraceOrBuilder
    */
   com.google.cloud.networkmanagement.v1.Step getSteps(int index);
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -110,8 +81,6 @@ public interface TraceOrBuilder
    */
   int getStepsCount();
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -122,11 +91,9 @@ public interface TraceOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
-  java.util.List
+  java.util.List 
       getStepsOrBuilderList();
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -137,5 +104,6 @@ public interface TraceOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
-  com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int index);
+  com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
new file mode 100644
index 000000000000..f6c95bd21424
--- /dev/null
+++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
@@ -0,0 +1,422 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1/trace.proto
+
+package com.google.cloud.networkmanagement.v1;
+
+public final class TraceProto {
+  private TraceProto() {}
+  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_networkmanagement_v1_Trace_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_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/networkmanagement/v1/trac" +
+      "e.proto\022!google.cloud.networkmanagement." +
+      "v1\"\207\001\n\005Trace\022F\n\rendpoint_info\030\001 \001(\0132/.go" +
+      "ogle.cloud.networkmanagement.v1.Endpoint" +
+      "Info\0226\n\005steps\030\002 \003(\0132\'.google.cloud.netwo" +
+      "rkmanagement.v1.Step\"\356\r\n\004Step\022\023\n\013descrip" +
+      "tion\030\001 \001(\t\022<\n\005state\030\002 \001(\0162-.google.cloud" +
+      ".networkmanagement.v1.Step.State\022\023\n\013caus" +
+      "es_drop\030\003 \001(\010\022\022\n\nproject_id\030\004 \001(\t\022C\n\010ins" +
+      "tance\030\005 \001(\0132/.google.cloud.networkmanage" +
+      "ment.v1.InstanceInfoH\000\022C\n\010firewall\030\006 \001(\013" +
+      "2/.google.cloud.networkmanagement.v1.Fir" +
+      "ewallInfoH\000\022=\n\005route\030\007 \001(\0132,.google.clou" +
+      "d.networkmanagement.v1.RouteInfoH\000\022C\n\010en" +
+      "dpoint\030\010 \001(\0132/.google.cloud.networkmanag" +
+      "ement.v1.EndpointInfoH\000\022P\n\017forwarding_ru" +
+      "le\030\t \001(\01325.google.cloud.networkmanagemen" +
+      "t.v1.ForwardingRuleInfoH\000\022H\n\013vpn_gateway" +
+      "\030\n \001(\01321.google.cloud.networkmanagement." +
+      "v1.VpnGatewayInfoH\000\022F\n\nvpn_tunnel\030\013 \001(\0132" +
+      "0.google.cloud.networkmanagement.v1.VpnT" +
+      "unnelInfoH\000\022A\n\007deliver\030\014 \001(\0132..google.cl" +
+      "oud.networkmanagement.v1.DeliverInfoH\000\022A" +
+      "\n\007forward\030\r \001(\0132..google.cloud.networkma" +
+      "nagement.v1.ForwardInfoH\000\022=\n\005abort\030\016 \001(\013" +
+      "2,.google.cloud.networkmanagement.v1.Abo" +
+      "rtInfoH\000\022;\n\004drop\030\017 \001(\0132+.google.cloud.ne" +
+      "tworkmanagement.v1.DropInfoH\000\022L\n\rload_ba" +
+      "lancer\030\020 \001(\01323.google.cloud.networkmanag" +
+      "ement.v1.LoadBalancerInfoH\000\022A\n\007network\030\021" +
+      " \001(\0132..google.cloud.networkmanagement.v1" +
+      ".NetworkInfoH\000\022F\n\ngke_master\030\022 \001(\01320.goo" +
+      "gle.cloud.networkmanagement.v1.GKEMaster" +
+      "InfoH\000\022U\n\022cloud_sql_instance\030\023 \001(\01327.goo" +
+      "gle.cloud.networkmanagement.v1.CloudSQLI" +
+      "nstanceInfoH\000\"\270\004\n\005State\022\025\n\021STATE_UNSPECI" +
+      "FIED\020\000\022\027\n\023START_FROM_INSTANCE\020\001\022\027\n\023START" +
+      "_FROM_INTERNET\020\002\022\036\n\032START_FROM_PRIVATE_N" +
+      "ETWORK\020\003\022\031\n\025START_FROM_GKE_MASTER\020\025\022!\n\035S" +
+      "TART_FROM_CLOUD_SQL_INSTANCE\020\026\022\037\n\033APPLY_" +
+      "INGRESS_FIREWALL_RULE\020\004\022\036\n\032APPLY_EGRESS_" +
+      "FIREWALL_RULE\020\005\022\017\n\013APPLY_ROUTE\020\006\022\031\n\025APPL" +
+      "Y_FORWARDING_RULE\020\007\022\025\n\021SPOOFING_APPROVED" +
+      "\020\010\022\026\n\022ARRIVE_AT_INSTANCE\020\t\022$\n ARRIVE_AT_" +
+      "INTERNAL_LOAD_BALANCER\020\n\022$\n ARRIVE_AT_EX" +
+      "TERNAL_LOAD_BALANCER\020\013\022\031\n\025ARRIVE_AT_VPN_" +
+      "GATEWAY\020\014\022\030\n\024ARRIVE_AT_VPN_TUNNEL\020\r\022\007\n\003N" +
+      "AT\020\016\022\024\n\020PROXY_CONNECTION\020\017\022\013\n\007DELIVER\020\020\022" +
+      "\010\n\004DROP\020\021\022\013\n\007FORWARD\020\022\022\t\n\005ABORT\020\023\022\035\n\031VIE" +
+      "WER_PERMISSION_MISSING\020\024B\013\n\tstep_info\"\266\001" +
+      "\n\014InstanceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003" +
+      "uri\030\002 \001(\t\022\021\n\tinterface\030\003 \001(\t\022\023\n\013network_" +
+      "uri\030\004 \001(\t\022\023\n\013internal_ip\030\005 \001(\t\022\023\n\013extern" +
+      "al_ip\030\006 \001(\t\022\024\n\014network_tags\030\007 \003(\t\022\033\n\017ser" +
+      "vice_account\030\010 \001(\tB\002\030\001\"J\n\013NetworkInfo\022\024\n" +
+      "\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020matc" +
+      "hed_ip_range\030\004 \001(\t\"\265\003\n\014FirewallInfo\022\024\n\014d" +
+      "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\021\n\tdirect" +
+      "ion\030\003 \001(\t\022\016\n\006action\030\004 \001(\t\022\020\n\010priority\030\005 " +
+      "\001(\005\022\023\n\013network_uri\030\006 \001(\t\022\023\n\013target_tags\030" +
+      "\007 \003(\t\022\037\n\027target_service_accounts\030\010 \003(\t\022\016" +
+      "\n\006policy\030\t \001(\t\022\\\n\022firewall_rule_type\030\n \001" +
+      "(\0162@.google.cloud.networkmanagement.v1.F" +
+      "irewallInfo.FirewallRuleType\"\223\001\n\020Firewal" +
+      "lRuleType\022\"\n\036FIREWALL_RULE_TYPE_UNSPECIF" +
+      "IED\020\000\022%\n!HIERARCHICAL_FIREWALL_POLICY_RU" +
+      "LE\020\001\022\025\n\021VPC_FIREWALL_RULE\020\002\022\035\n\031IMPLIED_V" +
+      "PC_FIREWALL_RULE\020\003\"\367\005\n\tRouteInfo\022J\n\nrout" +
+      "e_type\030\010 \001(\01626.google.cloud.networkmanag" +
+      "ement.v1.RouteInfo.RouteType\022O\n\rnext_hop" +
+      "_type\030\t \001(\01628.google.cloud.networkmanage" +
+      "ment.v1.RouteInfo.NextHopType\022\024\n\014display" +
+      "_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\025\n\rdest_ip_rang" +
+      "e\030\003 \001(\t\022\020\n\010next_hop\030\004 \001(\t\022\023\n\013network_uri" +
+      "\030\005 \001(\t\022\020\n\010priority\030\006 \001(\005\022\025\n\rinstance_tag" +
+      "s\030\007 \003(\t\"\211\001\n\tRouteType\022\032\n\026ROUTE_TYPE_UNSP" +
+      "ECIFIED\020\000\022\n\n\006SUBNET\020\001\022\n\n\006STATIC\020\002\022\013\n\007DYN" +
+      "AMIC\020\003\022\022\n\016PEERING_SUBNET\020\004\022\022\n\016PEERING_ST" +
+      "ATIC\020\005\022\023\n\017PEERING_DYNAMIC\020\006\"\266\002\n\013NextHopT" +
+      "ype\022\035\n\031NEXT_HOP_TYPE_UNSPECIFIED\020\000\022\017\n\013NE" +
+      "XT_HOP_IP\020\001\022\025\n\021NEXT_HOP_INSTANCE\020\002\022\024\n\020NE" +
+      "XT_HOP_NETWORK\020\003\022\024\n\020NEXT_HOP_PEERING\020\004\022\031" +
+      "\n\025NEXT_HOP_INTERCONNECT\020\005\022\027\n\023NEXT_HOP_VP" +
+      "N_TUNNEL\020\006\022\030\n\024NEXT_HOP_VPN_GATEWAY\020\007\022\035\n\031" +
+      "NEXT_HOP_INTERNET_GATEWAY\020\010\022\026\n\022NEXT_HOP_" +
+      "BLACKHOLE\020\t\022\020\n\014NEXT_HOP_ILB\020\n\022\035\n\031NEXT_HO" +
+      "P_ROUTER_APPLIANCE\020\013\"\237\001\n\022ForwardingRuleI" +
+      "nfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030" +
+      "\n\020matched_protocol\030\003 \001(\t\022\032\n\022matched_port" +
+      "_range\030\006 \001(\t\022\013\n\003vip\030\004 \001(\t\022\016\n\006target\030\005 \001(" +
+      "\t\022\023\n\013network_uri\030\007 \001(\t\"\251\004\n\020LoadBalancerI" +
+      "nfo\022`\n\022load_balancer_type\030\001 \001(\0162D.google" +
+      ".cloud.networkmanagement.v1.LoadBalancer" +
+      "Info.LoadBalancerType\022\030\n\020health_check_ur" +
+      "i\030\002 \001(\t\022H\n\010backends\030\003 \003(\01326.google.cloud" +
+      ".networkmanagement.v1.LoadBalancerBacken" +
+      "d\022U\n\014backend_type\030\004 \001(\0162?.google.cloud.n" +
+      "etworkmanagement.v1.LoadBalancerInfo.Bac" +
+      "kendType\022\023\n\013backend_uri\030\005 \001(\t\"\217\001\n\020LoadBa" +
+      "lancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSPECI" +
+      "FIED\020\000\022\024\n\020INTERNAL_TCP_UDP\020\001\022\023\n\017NETWORK_" +
+      "TCP_UDP\020\002\022\016\n\nHTTP_PROXY\020\003\022\r\n\tTCP_PROXY\020\004" +
+      "\022\r\n\tSSL_PROXY\020\005\"Q\n\013BackendType\022\034\n\030BACKEN" +
+      "D_TYPE_UNSPECIFIED\020\000\022\023\n\017BACKEND_SERVICE\020" +
+      "\001\022\017\n\013TARGET_POOL\020\002\"\366\002\n\023LoadBalancerBacke" +
+      "nd\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022t\n" +
+      "\033health_check_firewall_state\030\003 \001(\0162O.goo" +
+      "gle.cloud.networkmanagement.v1.LoadBalan" +
+      "cerBackend.HealthCheckFirewallState\022,\n$h" +
+      "ealth_check_allowing_firewall_rules\030\004 \003(" +
+      "\t\022,\n$health_check_blocking_firewall_rule" +
+      "s\030\005 \003(\t\"j\n\030HealthCheckFirewallState\022+\n\'H" +
+      "EALTH_CHECK_FIREWALL_STATE_UNSPECIFIED\020\000" +
+      "\022\016\n\nCONFIGURED\020\001\022\021\n\rMISCONFIGURED\020\002\"\204\001\n\016" +
+      "VpnGatewayInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003" +
+      "uri\030\002 \001(\t\022\023\n\013network_uri\030\003 \001(\t\022\022\n\nip_add" +
+      "ress\030\004 \001(\t\022\026\n\016vpn_tunnel_uri\030\005 \001(\t\022\016\n\006re" +
+      "gion\030\006 \001(\t\"\356\002\n\rVpnTunnelInfo\022\024\n\014display_" +
+      "name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\026\n\016source_gatewa" +
+      "y\030\003 \001(\t\022\026\n\016remote_gateway\030\004 \001(\t\022\031\n\021remot" +
+      "e_gateway_ip\030\005 \001(\t\022\031\n\021source_gateway_ip\030" +
+      "\006 \001(\t\022\023\n\013network_uri\030\007 \001(\t\022\016\n\006region\030\010 \001" +
+      "(\t\022R\n\014routing_type\030\t \001(\0162<.google.cloud." +
+      "networkmanagement.v1.VpnTunnelInfo.Routi" +
+      "ngType\"[\n\013RoutingType\022\034\n\030ROUTING_TYPE_UN" +
+      "SPECIFIED\020\000\022\017\n\013ROUTE_BASED\020\001\022\020\n\014POLICY_B" +
+      "ASED\020\002\022\013\n\007DYNAMIC\020\003\"\267\001\n\014EndpointInfo\022\021\n\t" +
+      "source_ip\030\001 \001(\t\022\026\n\016destination_ip\030\002 \001(\t\022" +
+      "\020\n\010protocol\030\003 \001(\t\022\023\n\013source_port\030\004 \001(\005\022\030" +
+      "\n\020destination_port\030\005 \001(\005\022\032\n\022source_netwo" +
+      "rk_uri\030\006 \001(\t\022\037\n\027destination_network_uri\030" +
+      "\007 \001(\t\"\340\001\n\013DeliverInfo\022E\n\006target\030\001 \001(\01625." +
+      "google.cloud.networkmanagement.v1.Delive" +
+      "rInfo.Target\022\024\n\014resource_uri\030\002 \001(\t\"t\n\006Ta" +
+      "rget\022\026\n\022TARGET_UNSPECIFIED\020\000\022\014\n\010INSTANCE" +
+      "\020\001\022\014\n\010INTERNET\020\002\022\016\n\nGOOGLE_API\020\003\022\016\n\nGKE_" +
+      "MASTER\020\004\022\026\n\022CLOUD_SQL_INSTANCE\020\005\"\215\002\n\013For" +
+      "wardInfo\022E\n\006target\030\001 \001(\01625.google.cloud." +
+      "networkmanagement.v1.ForwardInfo.Target\022" +
+      "\024\n\014resource_uri\030\002 \001(\t\"\240\001\n\006Target\022\026\n\022TARG" +
+      "ET_UNSPECIFIED\020\000\022\017\n\013PEERING_VPC\020\001\022\017\n\013VPN" +
+      "_GATEWAY\020\002\022\020\n\014INTERCONNECT\020\003\022\016\n\nGKE_MAST" +
+      "ER\020\004\022\"\n\036IMPORTED_CUSTOM_ROUTE_NEXT_HOP\020\005" +
+      "\022\026\n\022CLOUD_SQL_INSTANCE\020\006\"\230\004\n\tAbortInfo\022A" +
+      "\n\005cause\030\001 \001(\01622.google.cloud.networkmana" +
+      "gement.v1.AbortInfo.Cause\022\024\n\014resource_ur" +
+      "i\030\002 \001(\t\022#\n\033projects_missing_permission\030\003" +
+      " \003(\t\"\214\003\n\005Cause\022\025\n\021CAUSE_UNSPECIFIED\020\000\022\023\n" +
+      "\017UNKNOWN_NETWORK\020\001\022\016\n\nUNKNOWN_IP\020\002\022\023\n\017UN" +
+      "KNOWN_PROJECT\020\003\022\025\n\021PERMISSION_DENIED\020\004\022\026" +
+      "\n\022NO_SOURCE_LOCATION\020\005\022\024\n\020INVALID_ARGUME" +
+      "NT\020\006\022\022\n\016NO_EXTERNAL_IP\020\007\022\032\n\026UNINTENDED_D" +
+      "ESTINATION\020\010\022\022\n\016TRACE_TOO_LONG\020\t\022\022\n\016INTE" +
+      "RNAL_ERROR\020\n\022\035\n\031SOURCE_ENDPOINT_NOT_FOUN" +
+      "D\020\013\022\035\n\031MISMATCHED_SOURCE_NETWORK\020\014\022\"\n\036DE" +
+      "STINATION_ENDPOINT_NOT_FOUND\020\r\022\"\n\036MISMAT" +
+      "CHED_DESTINATION_NETWORK\020\016\022\017\n\013UNSUPPORTE" +
+      "D\020\017\"\232\006\n\010DropInfo\022@\n\005cause\030\001 \001(\01621.google" +
+      ".cloud.networkmanagement.v1.DropInfo.Cau" +
+      "se\022\024\n\014resource_uri\030\002 \001(\t\"\265\005\n\005Cause\022\025\n\021CA" +
+      "USE_UNSPECIFIED\020\000\022\034\n\030UNKNOWN_EXTERNAL_AD" +
+      "DRESS\020\001\022\031\n\025FOREIGN_IP_DISALLOWED\020\002\022\021\n\rFI" +
+      "REWALL_RULE\020\003\022\014\n\010NO_ROUTE\020\004\022\023\n\017ROUTE_BLA" +
+      "CKHOLE\020\005\022\027\n\023ROUTE_WRONG_NETWORK\020\006\022\037\n\033PRI" +
+      "VATE_TRAFFIC_TO_INTERNET\020\007\022$\n PRIVATE_GO" +
+      "OGLE_ACCESS_DISALLOWED\020\010\022\027\n\023NO_EXTERNAL_" +
+      "ADDRESS\020\t\022\034\n\030UNKNOWN_INTERNAL_ADDRESS\020\n\022" +
+      "\034\n\030FORWARDING_RULE_MISMATCH\020\013\022 \n\034FORWARD" +
+      "ING_RULE_NO_INSTANCES\020\014\0228\n4FIREWALL_BLOC" +
+      "KING_LOAD_BALANCER_BACKEND_HEALTH_CHECK\020" +
+      "\r\022\030\n\024INSTANCE_NOT_RUNNING\020\016\022\030\n\024TRAFFIC_T" +
+      "YPE_BLOCKED\020\017\022\"\n\036GKE_MASTER_UNAUTHORIZED" +
+      "_ACCESS\020\020\022*\n&CLOUD_SQL_INSTANCE_UNAUTHOR" +
+      "IZED_ACCESS\020\021\022\036\n\032DROPPED_INSIDE_GKE_SERV" +
+      "ICE\020\022\022$\n DROPPED_INSIDE_CLOUD_SQL_SERVIC" +
+      "E\020\023\022%\n!GOOGLE_MANAGED_SERVICE_NO_PEERING" +
+      "\020\024\022$\n CLOUD_SQL_INSTANCE_NO_IP_ADDRESS\020\025" +
+      "\"k\n\rGKEMasterInfo\022\023\n\013cluster_uri\030\002 \001(\t\022\033" +
+      "\n\023cluster_network_uri\030\004 \001(\t\022\023\n\013internal_" +
+      "ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\"\210\001\n\024CloudS" +
+      "QLInstanceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003" +
+      "uri\030\002 \001(\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013intern" +
+      "al_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016\n\006regi" +
+      "on\030\007 \001(\tB\371\001\n%com.google.cloud.networkman" +
+      "agement.v1B\nTraceProtoP\001ZScloud.google.c" +
+      "om/go/networkmanagement/apiv1/networkman" +
+      "agementpb;networkmanagementpb\252\002!Google.C" +
+      "loud.NetworkManagement.V1\312\002!Google\\Cloud" +
+      "\\NetworkManagement\\V1\352\002$Google::Cloud::N" +
+      "etworkManagement::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+    internal_static_google_cloud_networkmanagement_v1_Trace_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_Trace_descriptor,
+        new java.lang.String[] { "EndpointInfo", "Steps", });
+    internal_static_google_cloud_networkmanagement_v1_Step_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_Step_descriptor,
+        new java.lang.String[] { "Description", "State", "CausesDrop", "ProjectId", "Instance", "Firewall", "Route", "Endpoint", "ForwardingRule", "VpnGateway", "VpnTunnel", "Deliver", "Forward", "Abort", "Drop", "LoadBalancer", "Network", "GkeMaster", "CloudSqlInstance", "StepInfo", });
+    internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "Interface", "NetworkUri", "InternalIp", "ExternalIp", "NetworkTags", "ServiceAccount", });
+    internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "MatchedIpRange", });
+    internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "Direction", "Action", "Priority", "NetworkUri", "TargetTags", "TargetServiceAccounts", "Policy", "FirewallRuleType", });
+    internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor,
+        new java.lang.String[] { "RouteType", "NextHopType", "DisplayName", "Uri", "DestIpRange", "NextHop", "NetworkUri", "Priority", "InstanceTags", });
+    internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "MatchedProtocol", "MatchedPortRange", "Vip", "Target", "NetworkUri", });
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor,
+        new java.lang.String[] { "LoadBalancerType", "HealthCheckUri", "Backends", "BackendType", "BackendUri", });
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "HealthCheckFirewallState", "HealthCheckAllowingFirewallRules", "HealthCheckBlockingFirewallRules", });
+    internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "NetworkUri", "IpAddress", "VpnTunnelUri", "Region", });
+    internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "SourceGateway", "RemoteGateway", "RemoteGatewayIp", "SourceGatewayIp", "NetworkUri", "Region", "RoutingType", });
+    internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor,
+        new java.lang.String[] { "SourceIp", "DestinationIp", "Protocol", "SourcePort", "DestinationPort", "SourceNetworkUri", "DestinationNetworkUri", });
+    internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor,
+        new java.lang.String[] { "Target", "ResourceUri", });
+    internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor,
+        new java.lang.String[] { "Target", "ResourceUri", });
+    internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor,
+        new java.lang.String[] { "Cause", "ResourceUri", "ProjectsMissingPermission", });
+    internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor,
+        new java.lang.String[] { "Cause", "ResourceUri", });
+    internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor,
+        new java.lang.String[] { "ClusterUri", "ClusterNetworkUri", "InternalIp", "ExternalIp", });
+    internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "NetworkUri", "InternalIp", "ExternalIp", "Region", });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
similarity index 61%
rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
index c860fbc6d0c6..f50653fee596 100644
--- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
+++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
@@ -1,83 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1;
 
 /**
- *
- *
  * 
  * Request for the `UpdateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest} */ -public final class UpdateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) UpdateConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateConnectivityTestRequest.newBuilder() to construct. private UpdateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateConnectivityTestRequest() {} + private UpdateConnectivityTestRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -85,16 +63,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -102,15 +76,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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() { @@ -120,16 +91,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int RESOURCE_FIELD_NUMBER = 2; private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ @java.lang.Override @@ -137,44 +103,30 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -203,10 +156,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,21 +171,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.networkmanagement.v1.UpdateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,138 +213,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `UpdateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,16 +354,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override @@ -430,23 +375,23 @@ public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest build @java.lang.Override public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null + ? resource_ + : resourceBuilder_.build(); } } @@ -454,51 +399,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -531,25 +471,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getResourceFieldBuilder().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( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getResourceFieldBuilder().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) { @@ -559,63 +500,46 @@ 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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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) { @@ -631,17 +555,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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 { @@ -652,21 +574,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -679,15 +598,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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); @@ -700,15 +616,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -716,48 +629,38 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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_; @@ -765,58 +668,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> - resourceBuilder_; + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> resourceBuilder_; /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -832,15 +716,11 @@ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTes return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource( com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder builderForValue) { @@ -854,22 +734,17 @@ public Builder setResource( return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && resource_ != null - && resource_ - != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + resource_ != null && + resource_ != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -882,15 +757,11 @@ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityT return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000002); @@ -903,15 +774,11 @@ public Builder clearResource() { return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourceBuilder() { bitField0_ |= 0x00000002; @@ -919,55 +786,43 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; } } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, - com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,43 +832,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConnectivityTestRequest 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 UpdateConnectivityTestRequest 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; @@ -1025,8 +878,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java similarity index 57% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java index a4f918955d05..87ace3118942 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java @@ -1,107 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface UpdateConnectivityTestRequestOrBuilder - extends +public interface UpdateConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ com.google.cloud.networkmanagement.v1.ConnectivityTest getResource(); /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java index 8fec649aaf6a..ed90d29c1c21 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine VPN gateway.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnGatewayInfo} */ -public final class VpnGatewayInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VpnGatewayInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.VpnGatewayInfo) VpnGatewayInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VpnGatewayInfo.newBuilder() to construct. private VpnGatewayInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VpnGatewayInfo() { displayName_ = ""; uri_ = ""; @@ -48,43 +30,38 @@ private VpnGatewayInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VpnGatewayInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -93,29 +70,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -124,18 +101,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -144,29 +117,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -175,18 +148,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The networkUri. */ @java.lang.Override @@ -195,29 +164,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -226,18 +195,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int IP_ADDRESS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; - * * @return The ipAddress. */ @java.lang.Override @@ -246,29 +211,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 VPN gateway.
    * 
* * string ip_address = 4; - * * @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 { @@ -277,12 +242,9 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } public static final int VPN_TUNNEL_URI_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object vpnTunnelUri_ = ""; /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -290,7 +252,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
    * 
* * string vpn_tunnel_uri = 5; - * * @return The vpnTunnelUri. */ @java.lang.Override @@ -299,15 +260,14 @@ public java.lang.String getVpnTunnelUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; } } /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -315,15 +275,16 @@ public java.lang.String getVpnTunnelUri() {
    * 
* * string vpn_tunnel_uri = 5; - * * @return The bytes for vpnTunnelUri. */ @java.lang.Override - public com.google.protobuf.ByteString getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString + getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -332,18 +293,14 @@ public com.google.protobuf.ByteString getVpnTunnelUriBytes() { } public static final int REGION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The region. */ @java.lang.Override @@ -352,29 +309,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -383,7 +340,6 @@ public com.google.protobuf.ByteString getRegionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -449,20 +406,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.networkmanagement.v1.VpnGatewayInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.VpnGatewayInfo other = - (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (!getVpnTunnelUri().equals(other.getVpnTunnelUri())) return false; - if (!getRegion().equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1.VpnGatewayInfo other = (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (!getVpnTunnelUri() + .equals(other.getVpnTunnelUri())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -492,135 +454,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo 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.networkmanagement.v1.VpnGatewayInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.VpnGatewayInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine VPN gateway.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnGatewayInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.VpnGatewayInfo) com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.VpnGatewayInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -635,9 +591,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; } @java.lang.Override @@ -656,11 +612,8 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnGatewayInfo buildPartial() { - com.google.cloud.networkmanagement.v1.VpnGatewayInfo result = - new com.google.cloud.networkmanagement.v1.VpnGatewayInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.VpnGatewayInfo result = new com.google.cloud.networkmanagement.v1.VpnGatewayInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -691,39 +644,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.VpnGatewayInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.VpnGatewayInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.VpnGatewayInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.VpnGatewayInfo)other); } else { super.mergeFrom(other); return this; @@ -731,8 +683,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.VpnGatewayInfo other) { - if (other == com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -789,49 +740,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - vpnTunnelUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + vpnTunnelUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + region_ = 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) { @@ -841,25 +785,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -868,21 +809,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -890,35 +830,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -928,21 +861,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -952,20 +881,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -974,21 +901,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -996,35 +922,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1034,21 +953,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1058,20 +973,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1080,21 +993,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1102,35 +1014,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1140,21 +1045,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1164,20 +1065,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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; @@ -1186,21 +1085,20 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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 { @@ -1208,35 +1106,28 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1246,21 +1137,17 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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_ |= 0x00000008; @@ -1270,8 +1157,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object vpnTunnelUri_ = ""; /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1279,13 +1164,13 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * string vpn_tunnel_uri = 5; - * * @return The vpnTunnelUri. */ public java.lang.String getVpnTunnelUri() { java.lang.Object ref = vpnTunnelUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; @@ -1294,8 +1179,6 @@ public java.lang.String getVpnTunnelUri() { } } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1303,14 +1186,15 @@ public java.lang.String getVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; - * * @return The bytes for vpnTunnelUri. */ - public com.google.protobuf.ByteString getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString + getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -1318,8 +1202,6 @@ public com.google.protobuf.ByteString getVpnTunnelUriBytes() { } } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1327,22 +1209,18 @@ public com.google.protobuf.ByteString getVpnTunnelUriBytes() {
      * 
* * string vpn_tunnel_uri = 5; - * * @param value The vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVpnTunnelUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vpnTunnelUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1350,7 +1228,6 @@ public Builder setVpnTunnelUri(java.lang.String value) {
      * 
* * string vpn_tunnel_uri = 5; - * * @return This builder for chaining. */ public Builder clearVpnTunnelUri() { @@ -1360,8 +1237,6 @@ public Builder clearVpnTunnelUri() { return this; } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1369,14 +1244,12 @@ public Builder clearVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; - * * @param value The bytes for vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVpnTunnelUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vpnTunnelUri_ = value; bitField0_ |= 0x00000010; @@ -1386,20 +1259,18 @@ public Builder setVpnTunnelUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object region_ = ""; /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1408,21 +1279,20 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -1430,35 +1300,28 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1468,30 +1331,26 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1501,12 +1360,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.VpnGatewayInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.VpnGatewayInfo) private static final com.google.cloud.networkmanagement.v1.VpnGatewayInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.VpnGatewayInfo(); } @@ -1515,27 +1374,27 @@ public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnGatewayInfo 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 VpnGatewayInfo 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; @@ -1550,4 +1409,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java index ed4c8279bea3..ee79c16bc287 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java @@ -1,131 +1,93 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface VpnGatewayInfoOrBuilder - extends +public interface VpnGatewayInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.VpnGatewayInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -133,13 +95,10 @@ public interface VpnGatewayInfoOrBuilder
    * 
* * string vpn_tunnel_uri = 5; - * * @return The vpnTunnelUri. */ java.lang.String getVpnTunnelUri(); /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -147,33 +106,28 @@ public interface VpnGatewayInfoOrBuilder
    * 
* * string vpn_tunnel_uri = 5; - * * @return The bytes for vpnTunnelUri. */ - com.google.protobuf.ByteString getVpnTunnelUriBytes(); + com.google.protobuf.ByteString + getVpnTunnelUriBytes(); /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java index cfb5454ceaf2..c49459952fed 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine VPN tunnel.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnTunnelInfo} */ -public final class VpnTunnelInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VpnTunnelInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.VpnTunnelInfo) VpnTunnelInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VpnTunnelInfo.newBuilder() to construct. private VpnTunnelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VpnTunnelInfo() { displayName_ = ""; uri_ = ""; @@ -51,33 +33,30 @@ private VpnTunnelInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VpnTunnelInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); } /** - * - * *
    * Types of VPN routing policy. For details, refer to [Networks and Tunnel
    * routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
@@ -85,10 +64,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType}
    */
-  public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RoutingType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified type. Default value.
      * 
@@ -97,8 +75,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTING_TYPE_UNSPECIFIED(0), /** - * - * *
      * Route based VPN.
      * 
@@ -107,8 +83,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_BASED(1), /** - * - * *
      * Policy based routing.
      * 
@@ -117,8 +91,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ POLICY_BASED(2), /** - * - * *
      * Dynamic (BGP) routing.
      * 
@@ -130,8 +102,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -140,8 +110,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTING_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Route based VPN.
      * 
@@ -150,8 +118,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_BASED_VALUE = 1; /** - * - * *
      * Policy based routing.
      * 
@@ -160,8 +126,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POLICY_BASED_VALUE = 2; /** - * - * *
      * Dynamic (BGP) routing.
      * 
@@ -170,6 +134,7 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DYNAMIC_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -194,53 +159,50 @@ public static RoutingType valueOf(int value) { */ public static RoutingType forNumber(int value) { switch (value) { - case 0: - return ROUTING_TYPE_UNSPECIFIED; - case 1: - return ROUTE_BASED; - case 2: - return POLICY_BASED; - case 3: - return DYNAMIC; - default: - return null; + case 0: return ROUTING_TYPE_UNSPECIFIED; + case 1: return ROUTE_BASED; + case 2: return POLICY_BASED; + case 3: return DYNAMIC; + 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< + RoutingType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoutingType findValueByNumber(int number) { + return RoutingType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoutingType findValueByNumber(int number) { - return RoutingType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDescriptor().getEnumTypes().get(0); } private static final RoutingType[] VALUES = values(); - public static RoutingType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoutingType 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; @@ -258,18 +220,14 @@ private RoutingType(int value) { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -278,29 +236,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -309,18 +267,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -329,29 +283,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -360,18 +314,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int SOURCE_GATEWAY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceGateway_ = ""; /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The sourceGateway. */ @java.lang.Override @@ -380,29 +330,29 @@ public java.lang.String getSourceGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; } } /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The bytes for sourceGateway. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceGatewayBytes() { + public com.google.protobuf.ByteString + getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -411,18 +361,14 @@ public com.google.protobuf.ByteString getSourceGatewayBytes() { } public static final int REMOTE_GATEWAY_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object remoteGateway_ = ""; /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The remoteGateway. */ @java.lang.Override @@ -431,29 +377,29 @@ public java.lang.String getRemoteGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; } } /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The bytes for remoteGateway. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteGatewayBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -462,18 +408,14 @@ public com.google.protobuf.ByteString getRemoteGatewayBytes() { } public static final int REMOTE_GATEWAY_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object remoteGatewayIp_ = ""; /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The remoteGatewayIp. */ @java.lang.Override @@ -482,29 +424,29 @@ public java.lang.String getRemoteGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; } } /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The bytes for remoteGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -513,18 +455,14 @@ public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { } public static final int SOURCE_GATEWAY_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object sourceGatewayIp_ = ""; /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The sourceGatewayIp. */ @java.lang.Override @@ -533,29 +471,29 @@ public java.lang.String getSourceGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; } } /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The bytes for sourceGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString + getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -564,18 +502,14 @@ public com.google.protobuf.ByteString getSourceGatewayIpBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ @java.lang.Override @@ -584,29 +518,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -615,18 +549,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int REGION_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The region. */ @java.lang.Override @@ -635,29 +565,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -668,42 +598,30 @@ public com.google.protobuf.ByteString getRegionBytes() { public static final int ROUTING_TYPE_FIELD_NUMBER = 9; private int routingType_ = 0; /** - * - * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override - public int getRoutingTypeValue() { + @java.lang.Override public int getRoutingTypeValue() { return routingType_; } /** - * - * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return The routingType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); - return result == null - ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType() { + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); + return result == null ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -715,7 +633,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -740,9 +659,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, region_); } - if (routingType_ - != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED - .getNumber()) { + if (routingType_ != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, routingType_); } getUnknownFields().writeTo(output); @@ -778,10 +695,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, region_); } - if (routingType_ - != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, routingType_); + if (routingType_ != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, routingType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -791,22 +707,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.networkmanagement.v1.VpnTunnelInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.VpnTunnelInfo other = - (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getSourceGateway().equals(other.getSourceGateway())) return false; - if (!getRemoteGateway().equals(other.getRemoteGateway())) return false; - if (!getRemoteGatewayIp().equals(other.getRemoteGatewayIp())) return false; - if (!getSourceGatewayIp().equals(other.getSourceGatewayIp())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getRegion().equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1.VpnTunnelInfo other = (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getSourceGateway() + .equals(other.getSourceGateway())) return false; + if (!getRemoteGateway() + .equals(other.getRemoteGateway())) return false; + if (!getRemoteGatewayIp() + .equals(other.getRemoteGatewayIp())) return false; + if (!getSourceGatewayIp() + .equals(other.getSourceGatewayIp())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; if (routingType_ != other.routingType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -843,135 +766,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo 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.networkmanagement.v1.VpnTunnelInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.VpnTunnelInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine VPN tunnel.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnTunnelInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.VpnTunnelInfo) com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.VpnTunnelInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -989,9 +906,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto - .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; } @java.lang.Override @@ -1010,11 +927,8 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo buildPartial() { - com.google.cloud.networkmanagement.v1.VpnTunnelInfo result = - new com.google.cloud.networkmanagement.v1.VpnTunnelInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1.VpnTunnelInfo result = new com.google.cloud.networkmanagement.v1.VpnTunnelInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1054,39 +968,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.VpnTunnelInfo 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.networkmanagement.v1.VpnTunnelInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.VpnTunnelInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1.VpnTunnelInfo)other); } else { super.mergeFrom(other); return this; @@ -1094,8 +1007,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.VpnTunnelInfo other) { - if (other == com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -1165,67 +1077,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sourceGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - remoteGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - remoteGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - sourceGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: - { - routingType_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sourceGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + remoteGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + remoteGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + sourceGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + routingType_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 72 + 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) { @@ -1235,25 +1137,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1262,21 +1161,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1284,35 +1182,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1322,21 +1213,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1346,20 +1233,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1368,21 +1253,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1390,35 +1274,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1428,21 +1305,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1452,20 +1325,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceGateway_ = ""; /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @return The sourceGateway. */ public java.lang.String getSourceGateway() { java.lang.Object ref = sourceGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; @@ -1474,21 +1345,20 @@ public java.lang.String getSourceGateway() { } } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @return The bytes for sourceGateway. */ - public com.google.protobuf.ByteString getSourceGatewayBytes() { + public com.google.protobuf.ByteString + getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -1496,35 +1366,28 @@ public com.google.protobuf.ByteString getSourceGatewayBytes() { } } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @param value The sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGateway(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGateway( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceGateway_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @return This builder for chaining. */ public Builder clearSourceGateway() { @@ -1534,21 +1397,17 @@ public Builder clearSourceGateway() { return this; } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @param value The bytes for sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGatewayBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGatewayBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceGateway_ = value; bitField0_ |= 0x00000004; @@ -1558,20 +1417,18 @@ public Builder setSourceGatewayBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteGateway_ = ""; /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @return The remoteGateway. */ public java.lang.String getRemoteGateway() { java.lang.Object ref = remoteGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; @@ -1580,21 +1437,20 @@ public java.lang.String getRemoteGateway() { } } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @return The bytes for remoteGateway. */ - public com.google.protobuf.ByteString getRemoteGatewayBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -1602,35 +1458,28 @@ public com.google.protobuf.ByteString getRemoteGatewayBytes() { } } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @param value The remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGateway(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGateway( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } remoteGateway_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @return This builder for chaining. */ public Builder clearRemoteGateway() { @@ -1640,21 +1489,17 @@ public Builder clearRemoteGateway() { return this; } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @param value The bytes for remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGatewayBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); remoteGateway_ = value; bitField0_ |= 0x00000008; @@ -1664,20 +1509,18 @@ public Builder setRemoteGatewayBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteGatewayIp_ = ""; /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @return The remoteGatewayIp. */ public java.lang.String getRemoteGatewayIp() { java.lang.Object ref = remoteGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; @@ -1686,21 +1529,20 @@ public java.lang.String getRemoteGatewayIp() { } } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @return The bytes for remoteGatewayIp. */ - public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -1708,35 +1550,28 @@ public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { } } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @param value The remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGatewayIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } remoteGatewayIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @return This builder for chaining. */ public Builder clearRemoteGatewayIp() { @@ -1746,21 +1581,17 @@ public Builder clearRemoteGatewayIp() { return this; } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @param value The bytes for remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGatewayIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); remoteGatewayIp_ = value; bitField0_ |= 0x00000010; @@ -1770,20 +1601,18 @@ public Builder setRemoteGatewayIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceGatewayIp_ = ""; /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @return The sourceGatewayIp. */ public java.lang.String getSourceGatewayIp() { java.lang.Object ref = sourceGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; @@ -1792,21 +1621,20 @@ public java.lang.String getSourceGatewayIp() { } } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @return The bytes for sourceGatewayIp. */ - public com.google.protobuf.ByteString getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString + getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -1814,35 +1642,28 @@ public com.google.protobuf.ByteString getSourceGatewayIpBytes() { } } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @param value The sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGatewayIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceGatewayIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @return This builder for chaining. */ public Builder clearSourceGatewayIp() { @@ -1852,21 +1673,17 @@ public Builder clearSourceGatewayIp() { return this; } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @param value The bytes for sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGatewayIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceGatewayIp_ = value; bitField0_ |= 0x00000020; @@ -1876,20 +1693,18 @@ public Builder setSourceGatewayIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1898,21 +1713,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1920,35 +1734,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1958,21 +1765,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -1982,20 +1785,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object region_ = ""; /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -2004,21 +1805,20 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -2026,35 +1826,28 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -2064,21 +1857,17 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000080; @@ -2088,29 +1877,22 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { private int routingType_ = 0; /** - * - * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override - public int getRoutingTypeValue() { + @java.lang.Override public int getRoutingTypeValue() { return routingType_; } /** - * - * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @param value The enum numeric value on the wire for routingType to set. * @return This builder for chaining. */ @@ -2121,38 +1903,28 @@ public Builder setRoutingTypeValue(int value) { return this; } /** - * - * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return The routingType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); - return result == null - ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); + return result == null ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @param value The routingType to set. * @return This builder for chaining. */ - public Builder setRoutingType( - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType value) { + public Builder setRoutingType(com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType value) { if (value == null) { throw new NullPointerException(); } @@ -2162,14 +1934,11 @@ public Builder setRoutingType( return this; } /** - * - * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return This builder for chaining. */ public Builder clearRoutingType() { @@ -2178,9 +1947,9 @@ public Builder clearRoutingType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2190,12 +1959,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.VpnTunnelInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.VpnTunnelInfo) private static final com.google.cloud.networkmanagement.v1.VpnTunnelInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.VpnTunnelInfo(); } @@ -2204,27 +1973,27 @@ public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnTunnelInfo 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 VpnTunnelInfo 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; @@ -2239,4 +2008,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java similarity index 73% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java index 5f7f379eb4bc..b790a2c12f1f 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java @@ -1,249 +1,187 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface VpnTunnelInfoOrBuilder - extends +public interface VpnTunnelInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.VpnTunnelInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The sourceGateway. */ java.lang.String getSourceGateway(); /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The bytes for sourceGateway. */ - com.google.protobuf.ByteString getSourceGatewayBytes(); + com.google.protobuf.ByteString + getSourceGatewayBytes(); /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The remoteGateway. */ java.lang.String getRemoteGateway(); /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The bytes for remoteGateway. */ - com.google.protobuf.ByteString getRemoteGatewayBytes(); + com.google.protobuf.ByteString + getRemoteGatewayBytes(); /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The remoteGatewayIp. */ java.lang.String getRemoteGatewayIp(); /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The bytes for remoteGatewayIp. */ - com.google.protobuf.ByteString getRemoteGatewayIpBytes(); + com.google.protobuf.ByteString + getRemoteGatewayIpBytes(); /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The sourceGatewayIp. */ java.lang.String getSourceGatewayIp(); /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The bytes for sourceGatewayIp. */ - com.google.protobuf.ByteString getSourceGatewayIpBytes(); + com.google.protobuf.ByteString + getSourceGatewayIpBytes(); /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); /** - * - * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return The enum numeric value on the wire for routingType. */ int getRoutingTypeValue(); /** - * - * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; - * * @return The routingType. */ com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType(); diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto similarity index 95% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto index 78685ba735ec..30fdfc0b9ef9 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto +++ b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto @@ -103,15 +103,18 @@ message ConnectivityTest { map labels = 8; // Output only. The time the test was created. - google.protobuf.Timestamp create_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the test's configuration was updated. - google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The reachability details of this test from the latest run. // The details are updated when creating a new test, updating an // existing test, or triggering a one-time rerun of an existing test. - ReachabilityDetails reachability_details = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + ReachabilityDetails reachability_details = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Source or destination of the Connectivity Test. @@ -122,12 +125,12 @@ message Endpoint { // Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0; - // A network hosted within Google Cloud Platform. + // A network hosted within Google Cloud. // To receive more detailed output, specify the URI for the source or // destination network. GCP_NETWORK = 1; - // A network hosted outside of Google Cloud Platform. + // A network hosted outside of Google Cloud. // This can be an on-premises network, or a network hosted by another cloud // provider. NON_GCP_NETWORK = 2; @@ -164,8 +167,8 @@ message Endpoint { // The Project ID can be derived from the URI if you provide a VM instance or // network URI. // The following are two cases where you must provide the project ID: - // 1. Only the IP address is specified, and the IP address is within a GCP - // project. + // 1. Only the IP address is specified, and the IP address is within a Google + // Cloud project. // 2. When you are using Shared VPC and the IP address that you provide is // from the service project. In this case, the network that the IP address // resides in is defined in the host project. diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto similarity index 100% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto similarity index 100% rename from java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto rename to owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java similarity index 99% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java index a52c4a7ee084..61c1b43bf2a1 100644 --- a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java +++ b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStubSettings; diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java similarity index 99% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java index 69e3413b4c9b..7daedfb2f19a 100644 --- a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java +++ b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java @@ -42,6 +42,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java similarity index 99% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java index 3ce50718aad4..1be6b1e0bae7 100644 --- a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java +++ b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java @@ -31,6 +31,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java diff --git a/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java diff --git a/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java diff --git a/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java diff --git a/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java b/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java similarity index 100% rename from java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java rename to owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java diff --git a/java-network-management/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java b/owl-bot-staging/java-network-management/v1beta1/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java similarity index 54% rename from java-network-management/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java rename to owl-bot-staging/java-network-management/v1beta1/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java index e6d3e7277198..5f2aa26fd7fd 100644 --- a/java-network-management/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java +++ b/owl-bot-staging/java-network-management/v1beta1/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.networkmanagement.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * The Reachability service in the Google Cloud Network Management API provides
  * services that analyze the reachability within a single Google Virtual Private
@@ -38,355 +21,240 @@ public final class ReachabilityServiceGrpc {
 
   private ReachabilityServiceGrpc() {}
 
-  public static final String SERVICE_NAME =
-      "google.cloud.networkmanagement.v1beta1.ReachabilityService";
+  public static final String SERVICE_NAME = "google.cloud.networkmanagement.v1beta1.ReachabilityService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest,
-          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>
-      getListConnectivityTestsMethod;
+  private static volatile io.grpc.MethodDescriptor getListConnectivityTestsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListConnectivityTests",
       requestType = com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class,
       responseType = com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest,
-          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>
-      getListConnectivityTestsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest,
-            com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>
-        getListConnectivityTestsMethod;
-    if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListConnectivityTestsMethod() {
+    io.grpc.MethodDescriptor getListConnectivityTestsMethod;
+    if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getListConnectivityTestsMethod =
-                ReachabilityServiceGrpc.getListConnectivityTestsMethod)
-            == null) {
-          ReachabilityServiceGrpc.getListConnectivityTestsMethod =
-              getListConnectivityTestsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListConnectivityTests"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1
-                                  .ListConnectivityTestsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1
-                                  .ListConnectivityTestsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests"))
-                      .build();
+        if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) {
+          ReachabilityServiceGrpc.getListConnectivityTestsMethod = getListConnectivityTestsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectivityTests"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests"))
+              .build();
         }
       }
     }
     return getListConnectivityTestsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest,
-          com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>
-      getGetConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor getGetConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class,
       responseType = com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest,
-          com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>
-      getGetConnectivityTestMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest,
-            com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>
-        getGetConnectivityTestMethod;
-    if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getGetConnectivityTestMethod() {
+    io.grpc.MethodDescriptor getGetConnectivityTestMethod;
+    if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod)
-            == null) {
-          ReachabilityServiceGrpc.getGetConnectivityTestMethod =
-              getGetConnectivityTestMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "GetConnectivityTest"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1.ConnectivityTest
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest"))
-                      .build();
+        if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) {
+          ReachabilityServiceGrpc.getGetConnectivityTestMethod = getGetConnectivityTestMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectivityTest"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()))
+              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest"))
+              .build();
         }
       }
     }
     return getGetConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getCreateConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getCreateConnectivityTestMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest,
-            com.google.longrunning.Operation>
-        getCreateConnectivityTestMethod;
-    if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getCreateConnectivityTestMethod() {
+    io.grpc.MethodDescriptor getCreateConnectivityTestMethod;
+    if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getCreateConnectivityTestMethod =
-                ReachabilityServiceGrpc.getCreateConnectivityTestMethod)
-            == null) {
-          ReachabilityServiceGrpc.getCreateConnectivityTestMethod =
-              getCreateConnectivityTestMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1
-                                  .CreateConnectivityTestRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest"))
-                      .build();
+        if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) {
+          ReachabilityServiceGrpc.getCreateConnectivityTestMethod = getCreateConnectivityTestMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest"))
+              .build();
         }
       }
     }
     return getCreateConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getUpdateConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getUpdateConnectivityTestMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest,
-            com.google.longrunning.Operation>
-        getUpdateConnectivityTestMethod;
-    if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getUpdateConnectivityTestMethod() {
+    io.grpc.MethodDescriptor getUpdateConnectivityTestMethod;
+    if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getUpdateConnectivityTestMethod =
-                ReachabilityServiceGrpc.getUpdateConnectivityTestMethod)
-            == null) {
-          ReachabilityServiceGrpc.getUpdateConnectivityTestMethod =
-              getUpdateConnectivityTestMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1
-                                  .UpdateConnectivityTestRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest"))
-                      .build();
+        if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) {
+          ReachabilityServiceGrpc.getUpdateConnectivityTestMethod = getUpdateConnectivityTestMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest"))
+              .build();
         }
       }
     }
     return getUpdateConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getRerunConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor getRerunConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RerunConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getRerunConnectivityTestMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest,
-            com.google.longrunning.Operation>
-        getRerunConnectivityTestMethod;
-    if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getRerunConnectivityTestMethod() {
+    io.grpc.MethodDescriptor getRerunConnectivityTestMethod;
+    if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getRerunConnectivityTestMethod =
-                ReachabilityServiceGrpc.getRerunConnectivityTestMethod)
-            == null) {
-          ReachabilityServiceGrpc.getRerunConnectivityTestMethod =
-              getRerunConnectivityTestMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1
-                                  .RerunConnectivityTestRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest"))
-                      .build();
+        if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) {
+          ReachabilityServiceGrpc.getRerunConnectivityTestMethod = getRerunConnectivityTestMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest"))
+              .build();
         }
       }
     }
     return getRerunConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getDeleteConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest,
-          com.google.longrunning.Operation>
-      getDeleteConnectivityTestMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest,
-            com.google.longrunning.Operation>
-        getDeleteConnectivityTestMethod;
-    if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getDeleteConnectivityTestMethod() {
+    io.grpc.MethodDescriptor getDeleteConnectivityTestMethod;
+    if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getDeleteConnectivityTestMethod =
-                ReachabilityServiceGrpc.getDeleteConnectivityTestMethod)
-            == null) {
-          ReachabilityServiceGrpc.getDeleteConnectivityTestMethod =
-              getDeleteConnectivityTestMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.networkmanagement.v1beta1
-                                  .DeleteConnectivityTestRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest"))
-                      .build();
+        if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) {
+          ReachabilityServiceGrpc.getDeleteConnectivityTestMethod = getDeleteConnectivityTestMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest"))
+              .build();
         }
       }
     }
     return getDeleteConnectivityTestMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static ReachabilityServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public ReachabilityServiceStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new ReachabilityServiceStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public ReachabilityServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new ReachabilityServiceStub(channel, callOptions);
+        }
+      };
     return ReachabilityServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static ReachabilityServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static ReachabilityServiceBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public ReachabilityServiceBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new ReachabilityServiceBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public ReachabilityServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new ReachabilityServiceBlockingStub(channel, callOptions);
+        }
+      };
     return ReachabilityServiceBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static ReachabilityServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static ReachabilityServiceFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public ReachabilityServiceFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new ReachabilityServiceFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public ReachabilityServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new ReachabilityServiceFutureStub(channel, callOptions);
+        }
+      };
     return ReachabilityServiceFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -400,39 +268,26 @@ public ReachabilityServiceFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - default void listConnectivityTests( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConnectivityTestsMethod(), responseObserver); + default void listConnectivityTests(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectivityTestsMethod(), responseObserver); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - default void getConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectivityTestMethod(), responseObserver); + default void getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -447,16 +302,12 @@ default void getConnectivityTest(
      * see the Connectivity Test documentation.
      * 
*/ - default void createConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, + default void createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -472,16 +323,12 @@ default void createConnectivityTest(
      * in `ConnectivityTest` for for more details.
      * 
*/ - default void updateConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, + default void updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -495,31 +342,24 @@ default void updateConnectivityTest(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - default void rerunConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, + default void rerunConnectivityTest(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRerunConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRerunConnectivityTestMethod(), responseObserver); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - default void deleteConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, + default void deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectivityTestMethod(), responseObserver); } } /** * Base class for the server implementation of the service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -530,18 +370,16 @@ default void deleteConnectivityTest(
    * to troubleshoot connectivity issues.
    * 
*/ - public abstract static class ReachabilityServiceImplBase + public static abstract class ReachabilityServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return ReachabilityServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -554,7 +392,8 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class ReachabilityServiceStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private ReachabilityServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private ReachabilityServiceStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -565,43 +404,28 @@ protected ReachabilityServiceStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public void listConnectivityTests( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> - responseObserver) { + public void listConnectivityTests(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public void getConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -616,18 +440,13 @@ public void getConnectivityTest(
      * see the Connectivity Test documentation.
      * 
*/ - public void createConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, + public void createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -643,18 +462,13 @@ public void createConnectivityTest(
      * in `ConnectivityTest` for for more details.
      * 
*/ - public void updateConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, + public void updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -668,35 +482,26 @@ public void updateConnectivityTest(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public void rerunConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, + public void rerunConnectivityTest(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public void deleteConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, + public void deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -721,35 +526,26 @@ protected ReachabilityServiceBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - listConnectivityTests( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse listConnectivityTests(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectivityTestsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -764,15 +560,12 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getConnectivi
      * see the Connectivity Test documentation.
      * 
*/ - public com.google.longrunning.Operation createConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) { + public com.google.longrunning.Operation createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -788,15 +581,12 @@ public com.google.longrunning.Operation createConnectivityTest(
      * in `ConnectivityTest` for for more details.
      * 
*/ - public com.google.longrunning.Operation updateConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) { + public com.google.longrunning.Operation updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -810,21 +600,17 @@ public com.google.longrunning.Operation updateConnectivityTest(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public com.google.longrunning.Operation rerunConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) { + public com.google.longrunning.Operation rerunConnectivityTest(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRerunConnectivityTestMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.longrunning.Operation deleteConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { + public com.google.longrunning.Operation deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectivityTestMethod(), getCallOptions(), request); } @@ -832,7 +618,6 @@ public com.google.longrunning.Operation deleteConnectivityTest( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ReachabilityService. - * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -857,38 +642,28 @@ protected ReachabilityServiceFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> - listConnectivityTests( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listConnectivityTests( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest> - getConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture getConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -903,16 +678,13 @@ protected ReachabilityServiceFutureStub build(
      * see the Connectivity Test documentation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture createConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -928,16 +700,13 @@ protected ReachabilityServiceFutureStub build(
      * in `ConnectivityTest` for for more details.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -951,23 +720,19 @@ protected ReachabilityServiceFutureStub build(
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - rerunConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture rerunConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request); } @@ -980,11 +745,11 @@ protected ReachabilityServiceFutureStub build( private static final int METHODID_RERUN_CONNECTIVITY_TEST = 4; private static final int METHODID_DELETE_CONNECTIVITY_TEST = 5; - 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 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; @@ -998,37 +763,27 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_CONNECTIVITY_TESTS: - serviceImpl.listConnectivityTests( - (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>) - responseObserver); + serviceImpl.listConnectivityTests((com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CONNECTIVITY_TEST: - serviceImpl.getConnectivityTest( - (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>) - responseObserver); + serviceImpl.getConnectivityTest((com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CONNECTIVITY_TEST: - serviceImpl.createConnectivityTest( - (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) request, + serviceImpl.createConnectivityTest((com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONNECTIVITY_TEST: - serviceImpl.updateConnectivityTest( - (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) request, + serviceImpl.updateConnectivityTest((com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RERUN_CONNECTIVITY_TEST: - serviceImpl.rerunConnectivityTest( - (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) request, + serviceImpl.rerunConnectivityTest((com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTIVITY_TEST: - serviceImpl.deleteConnectivityTest( - (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) request, + serviceImpl.deleteConnectivityTest((com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1050,49 +805,52 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListConnectivityTestsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>( - service, METHODID_LIST_CONNECTIVITY_TESTS))) + getListConnectivityTestsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest, + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>( + service, METHODID_LIST_CONNECTIVITY_TESTS))) .addMethod( - getGetConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>( - service, METHODID_GET_CONNECTIVITY_TEST))) + getGetConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>( + service, METHODID_GET_CONNECTIVITY_TEST))) .addMethod( - getCreateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CONNECTIVITY_TEST))) + getCreateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CONNECTIVITY_TEST))) .addMethod( - getUpdateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_CONNECTIVITY_TEST))) + getUpdateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CONNECTIVITY_TEST))) .addMethod( - getRerunConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_RERUN_CONNECTIVITY_TEST))) + getRerunConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_RERUN_CONNECTIVITY_TEST))) .addMethod( - getDeleteConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_CONNECTIVITY_TEST))) + getDeleteConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_CONNECTIVITY_TEST))) .build(); } - private abstract static class ReachabilityServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class ReachabilityServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ReachabilityServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -1134,17 +892,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ReachabilityServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) - .addMethod(getListConnectivityTestsMethod()) - .addMethod(getGetConnectivityTestMethod()) - .addMethod(getCreateConnectivityTestMethod()) - .addMethod(getUpdateConnectivityTestMethod()) - .addMethod(getRerunConnectivityTestMethod()) - .addMethod(getDeleteConnectivityTestMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) + .addMethod(getListConnectivityTestsMethod()) + .addMethod(getGetConnectivityTestMethod()) + .addMethod(getCreateConnectivityTestMethod()) + .addMethod(getUpdateConnectivityTestMethod()) + .addMethod(getRerunConnectivityTestMethod()) + .addMethod(getDeleteConnectivityTestMethod()) + .build(); } } } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java index e660d95f2d1b..659cc2758059 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Details of the final state "abort" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.AbortInfo} */ -public final class AbortInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AbortInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.AbortInfo) AbortInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AbortInfo.newBuilder() to construct. private AbortInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AbortInfo() { cause_ = 0; resourceUri_ = ""; @@ -45,43 +27,39 @@ private AbortInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AbortInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); } /** - * - * *
    * Abort cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.AbortInfo.Cause} */ - public enum Cause implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Cause is unspecified.
      * 
@@ -90,8 +68,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ CAUSE_UNSPECIFIED(0), /** - * - * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -104,8 +80,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_NETWORK(1),
     /**
-     *
-     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -114,8 +88,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN_IP(2), /** - * - * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -125,8 +97,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_PROJECT(3),
     /**
-     *
-     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -136,8 +106,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     PERMISSION_DENIED(4),
     /**
-     *
-     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -147,8 +115,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_SOURCE_LOCATION(5),
     /**
-     *
-     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -161,8 +127,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     INVALID_ARGUMENT(6),
     /**
-     *
-     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -172,8 +136,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_EXTERNAL_IP(7),
     /**
-     *
-     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -183,8 +145,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNINTENDED_DESTINATION(8),
     /**
-     *
-     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -194,8 +154,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRACE_TOO_LONG(9),
     /**
-     *
-     *
      * 
      * Aborted due to internal server error.
      * 
@@ -204,8 +162,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ INTERNAL_ERROR(10), /** - * - * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -214,8 +170,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ SOURCE_ENDPOINT_NOT_FOUND(11), /** - * - * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -224,8 +178,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ MISMATCHED_SOURCE_NETWORK(12), /** - * - * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -234,8 +186,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ DESTINATION_ENDPOINT_NOT_FOUND(13), /** - * - * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -245,8 +195,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     MISMATCHED_DESTINATION_NETWORK(14),
     /**
-     *
-     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -258,8 +206,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Cause is unspecified.
      * 
@@ -268,8 +214,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -282,8 +226,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_NETWORK_VALUE = 1;
     /**
-     *
-     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -292,8 +234,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_IP_VALUE = 2; /** - * - * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -303,8 +243,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_PROJECT_VALUE = 3;
     /**
-     *
-     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -314,8 +252,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PERMISSION_DENIED_VALUE = 4;
     /**
-     *
-     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -325,8 +261,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_SOURCE_LOCATION_VALUE = 5;
     /**
-     *
-     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -339,8 +273,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INVALID_ARGUMENT_VALUE = 6;
     /**
-     *
-     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -350,8 +282,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_EXTERNAL_IP_VALUE = 7;
     /**
-     *
-     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -361,8 +291,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNINTENDED_DESTINATION_VALUE = 8;
     /**
-     *
-     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -372,8 +300,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRACE_TOO_LONG_VALUE = 9;
     /**
-     *
-     *
      * 
      * Aborted due to internal server error.
      * 
@@ -382,8 +308,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNAL_ERROR_VALUE = 10; /** - * - * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -392,8 +316,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_ENDPOINT_NOT_FOUND_VALUE = 11; /** - * - * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -402,8 +324,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MISMATCHED_SOURCE_NETWORK_VALUE = 12; /** - * - * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -412,8 +332,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESTINATION_ENDPOINT_NOT_FOUND_VALUE = 13; /** - * - * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -423,8 +341,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
     /**
-     *
-     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -433,6 +349,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSUPPORTED_VALUE = 15; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -457,77 +374,62 @@ public static Cause valueOf(int value) { */ public static Cause forNumber(int value) { switch (value) { - case 0: - return CAUSE_UNSPECIFIED; - case 1: - return UNKNOWN_NETWORK; - case 2: - return UNKNOWN_IP; - case 3: - return UNKNOWN_PROJECT; - case 4: - return PERMISSION_DENIED; - case 5: - return NO_SOURCE_LOCATION; - case 6: - return INVALID_ARGUMENT; - case 7: - return NO_EXTERNAL_IP; - case 8: - return UNINTENDED_DESTINATION; - case 9: - return TRACE_TOO_LONG; - case 10: - return INTERNAL_ERROR; - case 11: - return SOURCE_ENDPOINT_NOT_FOUND; - case 12: - return MISMATCHED_SOURCE_NETWORK; - case 13: - return DESTINATION_ENDPOINT_NOT_FOUND; - case 14: - return MISMATCHED_DESTINATION_NETWORK; - case 15: - return UNSUPPORTED; - default: - return null; + case 0: return CAUSE_UNSPECIFIED; + case 1: return UNKNOWN_NETWORK; + case 2: return UNKNOWN_IP; + case 3: return UNKNOWN_PROJECT; + case 4: return PERMISSION_DENIED; + case 5: return NO_SOURCE_LOCATION; + case 6: return INVALID_ARGUMENT; + case 7: return NO_EXTERNAL_IP; + case 8: return UNINTENDED_DESTINATION; + case 9: return TRACE_TOO_LONG; + case 10: return INTERNAL_ERROR; + case 11: return SOURCE_ENDPOINT_NOT_FOUND; + case 12: return MISMATCHED_SOURCE_NETWORK; + case 13: return DESTINATION_ENDPOINT_NOT_FOUND; + case 14: return MISMATCHED_DESTINATION_NETWORK; + case 15: return UNSUPPORTED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Cause findValueByNumber(int number) { - return Cause.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Cause> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Cause findValueByNumber(int number) { + return Cause.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.networkmanagement.v1beta1.AbortInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDescriptor().getEnumTypes().get(0); } private static final Cause[] VALUES = values(); - public static Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Cause 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; @@ -547,53 +449,38 @@ private Cause(int value) { public static final int CAUSE_FIELD_NUMBER = 1; private int cause_ = 0; /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return The cause. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -602,29 +489,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -633,12 +520,9 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList projectsMissingPermission_; /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -646,15 +530,13 @@ public com.google.protobuf.ByteString getResourceUriBytes() {
    * 
* * repeated string projects_missing_permission = 3; - * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList + getProjectsMissingPermissionList() { return projectsMissingPermission_; } /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -662,15 +544,12 @@ public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList()
    * 
* * repeated string projects_missing_permission = 3; - * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -678,7 +557,6 @@ public int getProjectsMissingPermissionCount() {
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -686,8 +564,6 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -695,16 +571,15 @@ public java.lang.String getProjectsMissingPermission(int index) {
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString + getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -716,18 +591,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (cause_ - != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (cause_ != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceUri_); } for (int i = 0; i < projectsMissingPermission_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, projectsMissingPermission_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, projectsMissingPermission_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -738,10 +611,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ - != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); + if (cause_ != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -762,18 +634,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.networkmanagement.v1beta1.AbortInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.AbortInfo other = - (com.google.cloud.networkmanagement.v1beta1.AbortInfo) obj; + com.google.cloud.networkmanagement.v1beta1.AbortInfo other = (com.google.cloud.networkmanagement.v1beta1.AbortInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; - if (!getProjectsMissingPermissionList().equals(other.getProjectsMissingPermissionList())) - return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; + if (!getProjectsMissingPermissionList() + .equals(other.getProjectsMissingPermissionList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -799,135 +671,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo 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.networkmanagement.v1beta1.AbortInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.AbortInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "abort" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.AbortInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.AbortInfo) com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.AbortInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -940,9 +806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; } @java.lang.Override @@ -961,18 +827,14 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.AbortInfo result = - new com.google.cloud.networkmanagement.v1beta1.AbortInfo(this); + com.google.cloud.networkmanagement.v1beta1.AbortInfo result = new com.google.cloud.networkmanagement.v1beta1.AbortInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.AbortInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.AbortInfo result) { if (((bitField0_ & 0x00000004) != 0)) { projectsMissingPermission_ = projectsMissingPermission_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -994,39 +856,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.AbortInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.AbortInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.AbortInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.AbortInfo)other); } else { super.mergeFrom(other); return this; @@ -1034,8 +895,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.AbortInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) return this; if (other.cause_ != 0) { setCauseValue(other.getCauseValue()); } @@ -1080,32 +940,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureProjectsMissingPermissionIsMutable(); - projectsMissingPermission_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureProjectsMissingPermissionIsMutable(); + projectsMissingPermission_.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) { @@ -1115,34 +971,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int cause_ = 0; /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1153,33 +1001,24 @@ public Builder setCauseValue(int value) { return this; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED : result; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @param value The cause to set. * @return This builder for chaining. */ @@ -1193,14 +1032,11 @@ public Builder setCause(com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cau return this; } /** - * - * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return This builder for chaining. */ public Builder clearCause() { @@ -1212,20 +1048,18 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1234,21 +1068,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1256,35 +1089,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1294,21 +1120,17 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = value; bitField0_ |= 0x00000002; @@ -1316,19 +1138,14 @@ public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList projectsMissingPermission_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList projectsMissingPermission_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureProjectsMissingPermissionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - projectsMissingPermission_ = - new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); + projectsMissingPermission_ = new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1336,15 +1153,13 @@ private void ensureProjectsMissingPermissionIsMutable() {
      * 
* * repeated string projects_missing_permission = 3; - * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList + getProjectsMissingPermissionList() { return projectsMissingPermission_.getUnmodifiableView(); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1352,15 +1167,12 @@ public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList()
      * 
* * repeated string projects_missing_permission = 3; - * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1368,7 +1180,6 @@ public int getProjectsMissingPermissionCount() {
      * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -1376,8 +1187,6 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1385,16 +1194,14 @@ public java.lang.String getProjectsMissingPermission(int index) {
      * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString + getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1402,23 +1209,19 @@ public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int inde
      * 
* * repeated string projects_missing_permission = 3; - * * @param index The index to set the value at. * @param value The projectsMissingPermission to set. * @return This builder for chaining. */ - public Builder setProjectsMissingPermission(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectsMissingPermission( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1426,22 +1229,18 @@ public Builder setProjectsMissingPermission(int index, java.lang.String value) {
      * 
* * repeated string projects_missing_permission = 3; - * * @param value The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermission(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addProjectsMissingPermission( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1449,19 +1248,18 @@ public Builder addProjectsMissingPermission(java.lang.String value) {
      * 
* * repeated string projects_missing_permission = 3; - * * @param values The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addAllProjectsMissingPermission(java.lang.Iterable values) { + public Builder addAllProjectsMissingPermission( + java.lang.Iterable values) { ensureProjectsMissingPermissionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projectsMissingPermission_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, projectsMissingPermission_); onChanged(); return this; } /** - * - * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1469,7 +1267,6 @@ public Builder addAllProjectsMissingPermission(java.lang.Iterable
      *
      * repeated string projects_missing_permission = 3;
-     *
      * @return This builder for chaining.
      */
     public Builder clearProjectsMissingPermission() {
@@ -1479,8 +1276,6 @@ public Builder clearProjectsMissingPermission() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1488,23 +1283,21 @@ public Builder clearProjectsMissingPermission() {
      * 
* * repeated string projects_missing_permission = 3; - * * @param value The bytes of the projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermissionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addProjectsMissingPermissionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1514,12 +1307,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.AbortInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.AbortInfo) private static final com.google.cloud.networkmanagement.v1beta1.AbortInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.AbortInfo(); } @@ -1528,27 +1321,27 @@ public static com.google.cloud.networkmanagement.v1beta1.AbortInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbortInfo 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 AbortInfo 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; @@ -1563,4 +1356,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.AbortInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java index 2b5e89da837c..3e359cfff6f3 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface AbortInfoOrBuilder - extends +public interface AbortInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.AbortInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** - * - * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; - * * @return The cause. */ com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause(); /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -83,13 +54,11 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @return A list containing the projectsMissingPermission. */ - java.util.List getProjectsMissingPermissionList(); + java.util.List + getProjectsMissingPermissionList(); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -97,13 +66,10 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @return The count of projectsMissingPermission. */ int getProjectsMissingPermissionCount(); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -111,14 +77,11 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ java.lang.String getProjectsMissingPermission(int index); /** - * - * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -126,9 +89,9 @@ public interface AbortInfoOrBuilder
    * 
* * repeated string projects_missing_permission = 3; - * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index); + com.google.protobuf.ByteString + getProjectsMissingPermissionBytes(int index); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java index 17841024f622..bcbf73bb5fba 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Cloud function.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudFunctionInfo} */ -public final class CloudFunctionInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudFunctionInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) CloudFunctionInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudFunctionInfo.newBuilder() to construct. private CloudFunctionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudFunctionInfo() { displayName_ = ""; uri_ = ""; @@ -45,43 +27,38 @@ private CloudFunctionInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudFunctionInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Cloud function.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Cloud function.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -172,18 +145,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int LOCATION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; - * * @return The location. */ @java.lang.Override @@ -192,29 +161,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,14 +194,11 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int VERSION_ID_FIELD_NUMBER = 4; private long versionId_ = 0L; /** - * - * *
    * Latest successfully deployed version id of the Cloud function.
    * 
* * int64 version_id = 4; - * * @return The versionId. */ @java.lang.Override @@ -241,7 +207,6 @@ public long getVersionId() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +218,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -285,7 +251,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, location_); } if (versionId_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, versionId_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, versionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,18 +262,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.networkmanagement.v1beta1.CloudFunctionInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other = - (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) obj; + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other = (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (getVersionId() != other.getVersionId()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (getVersionId() + != other.getVersionId()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,143 +295,137 @@ public int hashCode() { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersionId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getVersionId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo 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.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Cloud function.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudFunctionInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -474,14 +438,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); } @@ -496,17 +459,13 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result = - new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result = new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -526,39 +485,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo)other); } else { super.mergeFrom(other); return this; @@ -566,9 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -613,37 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - versionId_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + versionId_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -653,25 +604,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -680,21 +628,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -702,35 +649,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -740,21 +680,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -764,20 +700,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Cloud function.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -786,21 +720,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Cloud function.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -808,35 +741,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Cloud function.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Cloud function.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -846,21 +772,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Cloud function.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -870,20 +792,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -892,21 +812,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -914,35 +833,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -952,21 +864,17 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000004; @@ -974,16 +882,13 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { return this; } - private long versionId_; + private long versionId_ ; /** - * - * *
      * Latest successfully deployed version id of the Cloud function.
      * 
* * int64 version_id = 4; - * * @return The versionId. */ @java.lang.Override @@ -991,33 +896,27 @@ public long getVersionId() { return versionId_; } /** - * - * *
      * Latest successfully deployed version id of the Cloud function.
      * 
* * int64 version_id = 4; - * * @param value The versionId to set. * @return This builder for chaining. */ public Builder setVersionId(long value) { - + versionId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Latest successfully deployed version id of the Cloud function.
      * 
* * int64 version_id = 4; - * * @return This builder for chaining. */ public Builder clearVersionId() { @@ -1026,9 +925,9 @@ public Builder clearVersionId() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1038,13 +937,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) - private static final com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo(); } @@ -1053,27 +951,27 @@ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudFunctionInfo 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 CloudFunctionInfo 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; @@ -1088,4 +986,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java similarity index 62% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java index b8f151332da0..116942da00a8 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java @@ -1,112 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface CloudFunctionInfoOrBuilder - extends +public interface CloudFunctionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Cloud function.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Cloud function.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Latest successfully deployed version id of the Cloud function.
    * 
* * int64 version_id = 4; - * * @return The versionId. */ long getVersionId(); diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java index 96fed2e1b87e..55f5fce1861e 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo} */ -public final class CloudSQLInstanceInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudSQLInstanceInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) CloudSQLInstanceInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudSQLInstanceInfo.newBuilder() to construct. private CloudSQLInstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudSQLInstanceInfo() { displayName_ = ""; uri_ = ""; @@ -48,43 +30,38 @@ private CloudSQLInstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudSQLInstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -93,29 +70,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -124,18 +101,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -144,29 +117,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -175,19 +148,15 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ @java.lang.Override @@ -196,30 +165,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -228,18 +197,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ @java.lang.Override @@ -248,29 +213,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -279,18 +244,14 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ @java.lang.Override @@ -299,29 +260,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -330,18 +291,14 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } public static final int REGION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The region. */ @java.lang.Override @@ -350,29 +307,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -381,7 +338,6 @@ public com.google.protobuf.ByteString getRegionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +349,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -447,20 +404,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.networkmanagement.v1beta1.CloudSQLInstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other = - (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; - if (!getRegion().equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other = (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -490,136 +452,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo 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.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -634,14 +589,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); } @@ -656,17 +610,13 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result = - new com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result = new com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -692,50 +642,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other) { + if (other == com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -792,49 +738,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: - { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: - { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + 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) { @@ -844,25 +783,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -871,21 +807,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -893,35 +828,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -931,21 +859,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -955,20 +879,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -977,21 +899,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -999,35 +920,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1037,21 +951,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1061,21 +971,19 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1084,22 +992,21 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1107,37 +1014,30 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1147,22 +1047,18 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1172,20 +1068,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1194,21 +1088,20 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1216,35 +1109,28 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } internalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1254,21 +1140,17 @@ public Builder clearInternalIp() { return this; } /** - * - * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000008; @@ -1278,20 +1160,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1300,21 +1180,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1322,35 +1201,28 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } externalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1360,21 +1232,17 @@ public Builder clearExternalIp() { return this; } /** - * - * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000010; @@ -1384,20 +1252,18 @@ public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object region_ = ""; /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1406,21 +1272,20 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -1428,35 +1293,28 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1466,30 +1324,26 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1499,43 +1353,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) - private static final com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo(); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSQLInstanceInfo 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 CloudSQLInstanceInfo 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; @@ -1547,8 +1399,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java index 44b129754c7d..02361701e017 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java @@ -1,177 +1,131 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface CloudSQLInstanceInfoOrBuilder - extends +public interface CloudSQLInstanceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java index 1758f47e5af6..cc525dcfed39 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * A Connectivity Test for a network reachability analysis.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ConnectivityTest} */ -public final class ConnectivityTest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConnectivityTest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ConnectivityTest) ConnectivityTestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConnectivityTest.newBuilder() to construct. private ConnectivityTest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConnectivityTest() { name_ = ""; description_ = ""; @@ -47,55 +29,51 @@ private ConnectivityTest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConnectivityTest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetLabels(); 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.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -104,30 +82,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * 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 { @@ -136,19 +114,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -157,30 +131,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; } } /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -191,8 +165,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int SOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1beta1.Endpoint source_; /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -213,10 +185,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -224,8 +193,6 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -246,21 +213,14 @@ public boolean hasSource() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() { - return source_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; } /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -281,22 +241,16 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrBuilder() { - return source_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; } public static final int DESTINATION_FIELD_NUMBER = 4; private com.google.cloud.networkmanagement.v1beta1.Endpoint destination_; /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -314,10 +268,7 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ @java.lang.Override @@ -325,8 +276,6 @@ public boolean hasDestination() { return destination_ != null; } /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -344,21 +293,14 @@ public boolean hasDestination() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() { - return destination_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; } /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -376,30 +318,22 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() {
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinationOrBuilder() { - return destination_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; } public static final int PROTOCOL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The protocol. */ @java.lang.Override @@ -408,29 +342,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -439,49 +373,40 @@ public com.google.protobuf.ByteString getProtocolBytes() { } public static final int RELATED_PROJECTS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList relatedProjects_; /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList + getRelatedProjectsList() { return relatedProjects_; } /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -489,35 +414,29 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString + getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } public static final int DISPLAY_NAME_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ @java.lang.Override @@ -526,29 +445,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -557,34 +476,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LABELS_FIELD_NUMBER = 8; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -592,21 +509,20 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -618,8 +534,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -627,19 +541,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -647,11 +559,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -661,15 +573,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int CREATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -677,15 +585,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -693,14 +597,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -710,15 +611,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -726,15 +623,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -742,14 +635,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -759,18 +649,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int REACHABILITY_DETAILS_FIELD_NUMBER = 12; private com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachabilityDetails_; /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the reachabilityDetails field is set. */ @java.lang.Override @@ -778,52 +663,36 @@ public boolean hasReachabilityDetails() { return reachabilityDetails_ != null; } /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The reachabilityDetails. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachabilityDetails() { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder - getReachabilityDetailsOrBuilder() { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { + return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } public static final int PROBING_DETAILS_FIELD_NUMBER = 14; private com.google.cloud.networkmanagement.v1beta1.ProbingDetails probingDetails_; /** - * - * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -831,10 +700,7 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachab
    * existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the probingDetails field is set. */ @java.lang.Override @@ -842,8 +708,6 @@ public boolean hasProbingDetails() { return probingDetails_ != null; } /** - * - * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -851,21 +715,14 @@ public boolean hasProbingDetails() {
    * existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The probingDetails. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetails() { - return probingDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() - : probingDetails_; + return probingDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; } /** - * - * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -873,20 +730,14 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetai
    * existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder - getProbingDetailsOrBuilder() { - return probingDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() - : probingDetails_; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getProbingDetailsOrBuilder() { + return probingDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -898,7 +749,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -920,8 +772,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } @@ -950,10 +806,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSource()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDestination()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, protocol_); @@ -969,28 +827,31 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, displayName_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } if (reachabilityDetails_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(12, getReachabilityDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getReachabilityDetails()); } if (probingDetails_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getProbingDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getProbingDetails()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1000,43 +861,54 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ConnectivityTest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest other = - (com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) obj; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest other = (com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination().equals(other.getDestination())) return false; - } - if (!getProtocol().equals(other.getProtocol())) return false; - if (!getRelatedProjectsList().equals(other.getRelatedProjectsList())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDestination() + .equals(other.getDestination())) return false; + } + if (!getProtocol() + .equals(other.getProtocol())) return false; + if (!getRelatedProjectsList() + .equals(other.getRelatedProjectsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (hasReachabilityDetails() != other.hasReachabilityDetails()) return false; if (hasReachabilityDetails()) { - if (!getReachabilityDetails().equals(other.getReachabilityDetails())) return false; + if (!getReachabilityDetails() + .equals(other.getReachabilityDetails())) return false; } if (hasProbingDetails() != other.hasProbingDetails()) return false; if (hasProbingDetails()) { - if (!getProbingDetails().equals(other.getProbingDetails())) return false; + if (!getProbingDetails() + .equals(other.getProbingDetails())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1095,156 +967,151 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest 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.networkmanagement.v1beta1.ConnectivityTest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Connectivity Test for a network reachability analysis.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ConnectivityTest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ConnectivityTest) com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 8: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 8: return internalGetMutableLabels(); 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.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1290,9 +1157,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; } @java.lang.Override @@ -1311,18 +1178,14 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result = - new com.google.cloud.networkmanagement.v1beta1.ConnectivityTest(this); + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result = new com.google.cloud.networkmanagement.v1beta1.ConnectivityTest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result) { if (((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = relatedProjects_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); @@ -1339,11 +1202,14 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Connectivi result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.source_ = sourceBuilder_ == null ? source_ : sourceBuilder_.build(); + result.source_ = sourceBuilder_ == null + ? source_ + : sourceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.destination_ = - destinationBuilder_ == null ? destination_ : destinationBuilder_.build(); + result.destination_ = destinationBuilder_ == null + ? destination_ + : destinationBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.protocol_ = protocol_; @@ -1356,20 +1222,24 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Connectivi result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.reachabilityDetails_ = - reachabilityDetailsBuilder_ == null - ? reachabilityDetails_ - : reachabilityDetailsBuilder_.build(); + result.reachabilityDetails_ = reachabilityDetailsBuilder_ == null + ? reachabilityDetails_ + : reachabilityDetailsBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.probingDetails_ = - probingDetailsBuilder_ == null ? probingDetails_ : probingDetailsBuilder_.build(); + result.probingDetails_ = probingDetailsBuilder_ == null + ? probingDetails_ + : probingDetailsBuilder_.build(); } } @@ -1377,39 +1247,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Connectivi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ConnectivityTest)other); } else { super.mergeFrom(other); return this; @@ -1417,8 +1286,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1455,7 +1323,8 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Connectivity bitField0_ |= 0x00000040; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000080; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -1495,93 +1364,89 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getSourceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - protocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelatedProjectsIsMutable(); - relatedProjects_.add(s); - break; - } // case 50 - case 58: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: - { - input.readMessage( - getReachabilityDetailsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 114: - { - input.readMessage(getProbingDetailsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 114 - 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: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getSourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getDestinationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + protocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelatedProjectsIsMutable(); + relatedProjects_.add(s); + break; + } // case 50 + case 58: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: { + input.readMessage( + getReachabilityDetailsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 114: { + input.readMessage( + getProbingDetailsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 114 + 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) { @@ -1591,26 +1456,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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; @@ -1619,22 +1481,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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 { @@ -1642,37 +1503,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1682,22 +1536,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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; @@ -1707,21 +1557,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1730,22 +1578,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1753,37 +1600,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @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_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1793,22 +1633,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; - * * @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_ |= 0x00000002; @@ -1818,13 +1654,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.networkmanagement.v1beta1.Endpoint source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> - sourceBuilder_; + com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> sourceBuilder_; /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1845,18 +1676,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1877,24 +1703,17 @@ public boolean hasSource() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1915,9 +1734,7 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (sourceBuilder_ == null) { @@ -1933,8 +1750,6 @@ public Builder setSource(com.google.cloud.networkmanagement.v1beta1.Endpoint val return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1955,9 +1770,7 @@ public Builder setSource(com.google.cloud.networkmanagement.v1beta1.Endpoint val
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder builderForValue) { @@ -1971,8 +1784,6 @@ public Builder setSource( return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1993,16 +1804,13 @@ public Builder setSource(
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (sourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && source_ != null - && source_ - != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + source_ != null && + source_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { getSourceBuilder().mergeFrom(value); } else { source_ = value; @@ -2015,8 +1823,6 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1beta1.Endpoint v return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -2037,9 +1843,7 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1beta1.Endpoint v
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2052,8 +1856,6 @@ public Builder clearSource() { return this; } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -2074,9 +1876,7 @@ public Builder clearSource() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getSourceBuilder() { bitField0_ |= 0x00000004; @@ -2084,8 +1884,6 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getSourceBuil return getSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -2106,22 +1904,17 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getSourceBuil
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; } } /** - * - * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -2142,22 +1935,17 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; @@ -2165,13 +1953,8 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB private com.google.cloud.networkmanagement.v1beta1.Endpoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> - destinationBuilder_; + com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> destinationBuilder_; /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2189,18 +1972,13 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ public boolean hasDestination() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2218,24 +1996,17 @@ public boolean hasDestination() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; } else { return destinationBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2253,9 +2024,7 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestination(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (destinationBuilder_ == null) { @@ -2271,8 +2040,6 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1beta1.Endpoin return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2290,9 +2057,7 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1beta1.Endpoin
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestination( com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder builderForValue) { @@ -2306,8 +2071,6 @@ public Builder setDestination( return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2325,16 +2088,13 @@ public Builder setDestination(
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDestination(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (destinationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && destination_ != null - && destination_ - != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + destination_ != null && + destination_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { getDestinationBuilder().mergeFrom(value); } else { destination_ = value; @@ -2347,8 +2107,6 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1beta1.Endpo return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2366,9 +2124,7 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1beta1.Endpo
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestination() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2381,8 +2137,6 @@ public Builder clearDestination() { return this; } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2400,9 +2154,7 @@ public Builder clearDestination() {
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getDestinationBuilder() { bitField0_ |= 0x00000008; @@ -2410,8 +2162,6 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getDestinatio return getDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2429,22 +2179,17 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getDestinatio
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() - : destination_; + return destination_ == null ? + com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; } } /** - * - * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2462,22 +2207,17 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinati
      * intend to test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( - getDestination(), getParentForChildren(), isClean()); + destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( + getDestination(), + getParentForChildren(), + isClean()); destination_ = null; } return destinationBuilder_; @@ -2485,20 +2225,18 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinati private java.lang.Object protocol_ = ""; /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -2507,21 +2245,20 @@ public java.lang.String getProtocol() { } } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -2529,35 +2266,28 @@ public com.google.protobuf.ByteString getProtocolBytes() { } } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocol( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } protocol_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -2567,21 +2297,17 @@ public Builder clearProtocol() { return this; } /** - * - * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; - * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000010; @@ -2589,55 +2315,45 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList relatedProjects_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList relatedProjects_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRelatedProjectsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = new com.google.protobuf.LazyStringArrayList(relatedProjects_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList + getRelatedProjectsList() { return relatedProjects_.getUnmodifiableView(); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -2645,95 +2361,81 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString + getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param index The index to set the value at. * @param value The relatedProjects to set. * @return This builder for chaining. */ - public Builder setRelatedProjects(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelatedProjects( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRelatedProjectsIsMutable(); relatedProjects_.set(index, value); onChanged(); return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param value The relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjects(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelatedProjects( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); onChanged(); return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param values The relatedProjects to add. * @return This builder for chaining. */ - public Builder addAllRelatedProjects(java.lang.Iterable values) { + public Builder addAllRelatedProjects( + java.lang.Iterable values) { ensureRelatedProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedProjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relatedProjects_); onChanged(); return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @return This builder for chaining. */ public Builder clearRelatedProjects() { @@ -2743,22 +2445,18 @@ public Builder clearRelatedProjects() { return this; } /** - * - * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; - * * @param value The bytes of the relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelatedProjectsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); @@ -2768,20 +2466,18 @@ public Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2790,21 +2486,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2812,35 +2507,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2850,21 +2538,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000040; @@ -2872,19 +2556,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { 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(); @@ -2893,13 +2579,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2907,21 +2590,20 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2933,8 +2615,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2942,19 +2622,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2962,133 +2640,112 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - 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_ |= 0x00000080; return this; } /** - * - * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3104,17 +2761,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3125,21 +2779,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3152,15 +2802,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3173,15 +2819,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -3189,48 +2831,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the test was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3238,58 +2868,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3305,17 +2916,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3326,21 +2934,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3353,15 +2957,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3374,15 +2974,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3390,48 +2986,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time the test's configuration was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3439,67 +3023,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachabilityDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> - reachabilityDetailsBuilder_; + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> reachabilityDetailsBuilder_; /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the reachabilityDetails field is set. */ public boolean hasReachabilityDetails() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The reachabilityDetails. */ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachabilityDetails() { if (reachabilityDetailsBuilder_ == null) { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } else { return reachabilityDetailsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setReachabilityDetails( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { + public Builder setReachabilityDetails(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3513,17 +3077,13 @@ public Builder setReachabilityDetails( return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setReachabilityDetails( com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder builderForValue) { @@ -3537,26 +3097,19 @@ public Builder setReachabilityDetails( return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeReachabilityDetails( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { + public Builder mergeReachabilityDetails(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && reachabilityDetails_ != null - && reachabilityDetails_ - != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails - .getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + reachabilityDetails_ != null && + reachabilityDetails_ != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance()) { getReachabilityDetailsBuilder().mergeFrom(value); } else { reachabilityDetails_ = value; @@ -3569,17 +3122,13 @@ public Builder mergeReachabilityDetails( return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearReachabilityDetails() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3592,72 +3141,54 @@ public Builder clearReachabilityDetails() { return this; } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder - getReachabilityDetailsBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder getReachabilityDetailsBuilder() { bitField0_ |= 0x00000400; onChanged(); return getReachabilityDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder - getReachabilityDetailsOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { if (reachabilityDetailsBuilder_ != null) { return reachabilityDetailsBuilder_.getMessageOrBuilder(); } else { - return reachabilityDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() - : reachabilityDetails_; + return reachabilityDetails_ == null ? + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; } } /** - * - * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> getReachabilityDetailsFieldBuilder() { if (reachabilityDetailsBuilder_ == null) { - reachabilityDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder>( - getReachabilityDetails(), getParentForChildren(), isClean()); + reachabilityDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder>( + getReachabilityDetails(), + getParentForChildren(), + isClean()); reachabilityDetails_ = null; } return reachabilityDetailsBuilder_; @@ -3665,13 +3196,8 @@ public Builder clearReachabilityDetails() { private com.google.cloud.networkmanagement.v1beta1.ProbingDetails probingDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, - com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> - probingDetailsBuilder_; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> probingDetailsBuilder_; /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3679,18 +3205,13 @@ public Builder clearReachabilityDetails() {
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the probingDetails field is set. */ public boolean hasProbingDetails() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3698,24 +3219,17 @@ public boolean hasProbingDetails() {
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The probingDetails. */ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetails() { if (probingDetailsBuilder_ == null) { - return probingDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() - : probingDetails_; + return probingDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; } else { return probingDetailsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3723,12 +3237,9 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetai
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setProbingDetails( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { + public Builder setProbingDetails(com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { if (probingDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3742,8 +3253,6 @@ public Builder setProbingDetails( return this; } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3751,9 +3260,7 @@ public Builder setProbingDetails(
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProbingDetails( com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder builderForValue) { @@ -3767,8 +3274,6 @@ public Builder setProbingDetails( return this; } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3776,17 +3281,13 @@ public Builder setProbingDetails(
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeProbingDetails( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { + public Builder mergeProbingDetails(com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { if (probingDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && probingDetails_ != null - && probingDetails_ - != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + probingDetails_ != null && + probingDetails_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) { getProbingDetailsBuilder().mergeFrom(value); } else { probingDetails_ = value; @@ -3799,8 +3300,6 @@ public Builder mergeProbingDetails( return this; } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3808,9 +3307,7 @@ public Builder mergeProbingDetails(
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProbingDetails() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3823,8 +3320,6 @@ public Builder clearProbingDetails() { return this; } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3832,19 +3327,14 @@ public Builder clearProbingDetails() {
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder - getProbingDetailsBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder getProbingDetailsBuilder() { bitField0_ |= 0x00000800; onChanged(); return getProbingDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3852,23 +3342,17 @@ public Builder clearProbingDetails() {
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder - getProbingDetailsOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getProbingDetailsOrBuilder() { if (probingDetailsBuilder_ != null) { return probingDetailsBuilder_.getMessageOrBuilder(); } else { - return probingDetails_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() - : probingDetails_; + return probingDetails_ == null ? + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; } } /** - * - * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3876,29 +3360,24 @@ public Builder clearProbingDetails() {
      * existing test.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, - com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ProbingDetails, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> getProbingDetailsFieldBuilder() { if (probingDetailsBuilder_ == null) { - probingDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, - com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder>( - getProbingDetails(), getParentForChildren(), isClean()); + probingDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ProbingDetails, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder>( + getProbingDetails(), + getParentForChildren(), + isClean()); probingDetails_ = null; } return probingDetailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3908,12 +3387,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ConnectivityTest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ConnectivityTest) private static final com.google.cloud.networkmanagement.v1beta1.ConnectivityTest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ConnectivityTest(); } @@ -3922,27 +3401,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectivityTest 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 ConnectivityTest 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; @@ -3957,4 +3436,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java similarity index 78% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java index e53efd566557..97ebac485399 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java @@ -1,85 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ConnectivityTestOrBuilder - extends +public interface ConnectivityTestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ConnectivityTest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -100,16 +72,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -130,16 +97,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.networkmanagement.v1beta1.Endpoint getSource(); /** - * - * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -160,15 +122,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrBuilder(); /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -186,16 +144,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ boolean hasDestination(); /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -213,16 +166,11 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination(); /** - * - * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -240,120 +188,96 @@ public interface ConnectivityTestOrBuilder
    * intend to test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinationOrBuilder(); /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The protocol. */ java.lang.String getProtocol(); /** - * - * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; - * * @return The bytes for protocol. */ - com.google.protobuf.ByteString getProtocolBytes(); + com.google.protobuf.ByteString + getProtocolBytes(); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return A list containing the relatedProjects. */ - java.util.List getRelatedProjectsList(); + java.util.List + getRelatedProjectsList(); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @return The count of relatedProjects. */ int getRelatedProjectsCount(); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ java.lang.String getRelatedProjects(int index); /** - * - * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; - * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - com.google.protobuf.ByteString getRelatedProjectsBytes(int index); + com.google.protobuf.ByteString + getRelatedProjectsBytes(int index); /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -362,31 +286,30 @@ public interface ConnectivityTestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -394,148 +317,108 @@ public interface ConnectivityTestOrBuilder * map<string, string> labels = 8; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the reachabilityDetails field is set. */ boolean hasReachabilityDetails(); /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The reachabilityDetails. */ com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachabilityDetails(); /** - * - * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder - getReachabilityDetailsOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder(); /** - * - * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -543,16 +426,11 @@ java.lang.String getLabelsOrDefault(
    * existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the probingDetails field is set. */ boolean hasProbingDetails(); /** - * - * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -560,16 +438,11 @@ java.lang.String getLabelsOrDefault(
    * existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The probingDetails. */ com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetails(); /** - * - * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -577,9 +450,7 @@ java.lang.String getLabelsOrDefault(
    * existing test.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getProbingDetailsOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java similarity index 63% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java index c3236f29f877..2bec863c5672 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Request for the `CreateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest} */ -public final class CreateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) CreateConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConnectivityTestRequest.newBuilder() to construct. private CreateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConnectivityTestRequest() { parent_ = ""; testId_ = ""; @@ -44,44 +26,39 @@ private CreateConnectivityTestRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,12 +99,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object testId_ = ""; /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -139,7 +113,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The testId. */ @java.lang.Override @@ -148,15 +121,14 @@ public java.lang.String getTestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; } } /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -168,15 +140,16 @@ public java.lang.String getTestId() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for testId. */ @java.lang.Override - public com.google.protobuf.ByteString getTestIdBytes() { + public com.google.protobuf.ByteString + getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); testId_ = b; return b; } else { @@ -187,16 +160,11 @@ public com.google.protobuf.ByteString getTestIdBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ @java.lang.Override @@ -204,45 +172,30 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder - getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { + return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -280,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, testId_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -290,20 +245,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.networkmanagement.v1beta1.CreateConnectivityTestRequest)) { + if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTestId().equals(other.getTestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTestId() + .equals(other.getTestId())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -330,139 +286,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `CreateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,22 +424,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -502,17 +445,13 @@ public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -521,7 +460,9 @@ private void buildPartial0( result.testId_ = testId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null + ? resource_ + : resourceBuilder_.build(); } } @@ -529,52 +470,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -614,31 +549,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - testId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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: { + testId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getResourceFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -648,26 +581,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -676,22 +606,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -699,37 +628,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - 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. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -739,22 +661,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - 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; @@ -764,8 +682,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object testId_ = ""; /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -777,13 +693,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The testId. */ public java.lang.String getTestId() { java.lang.Object ref = testId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; @@ -792,8 +708,6 @@ public java.lang.String getTestId() { } } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -805,14 +719,15 @@ public java.lang.String getTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for testId. */ - public com.google.protobuf.ByteString getTestIdBytes() { + public com.google.protobuf.ByteString + getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); testId_ = b; return b; } else { @@ -820,8 +735,6 @@ public com.google.protobuf.ByteString getTestIdBytes() { } } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -833,22 +746,18 @@ public com.google.protobuf.ByteString getTestIdBytes() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The testId to set. * @return This builder for chaining. */ - public Builder setTestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } testId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -860,7 +769,6 @@ public Builder setTestId(java.lang.String value) {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTestId() { @@ -870,8 +778,6 @@ public Builder clearTestId() { return this; } /** - * - * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -883,14 +789,12 @@ public Builder clearTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for testId to set. * @return This builder for chaining. */ - public Builder setTestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); testId_ = value; bitField0_ |= 0x00000002; @@ -900,58 +804,39 @@ public Builder setTestIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> - resourceBuilder_; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> resourceBuilder_; /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -967,15 +852,11 @@ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.Connectivi return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource( com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { @@ -989,24 +870,17 @@ public Builder setResource( return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeResource( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { + public Builder mergeResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && resource_ != null - && resource_ - != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + resource_ != null && + resource_ != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1019,15 +893,11 @@ public Builder mergeResource( return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1040,73 +910,55 @@ public Builder clearResource() { return this; } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder - getResourceBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getResourceBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder - getResourceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } } /** - * - * *
      * Required. A `ConnectivityTest` resource
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,44 +968,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectivityTestRequest 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 CreateConnectivityTestRequest 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; @@ -1165,8 +1014,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java similarity index 65% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java index 11200c32d471..772b46e4308f 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface CreateConnectivityTestRequestOrBuilder - extends +public interface CreateConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -64,13 +41,10 @@ public interface CreateConnectivityTestRequestOrBuilder
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The testId. */ java.lang.String getTestId(); /** - * - * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -82,49 +56,35 @@ public interface CreateConnectivityTestRequestOrBuilder
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for testId. */ - com.google.protobuf.ByteString getTestIdBytes(); + com.google.protobuf.ByteString + getTestIdBytes(); /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource(); /** - * - * *
    * Required. A `ConnectivityTest` resource
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java similarity index 61% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java index 53179bde8934..2c1749e170e6 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Request for the `DeleteConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest} */ -public final class DeleteConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) DeleteConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConnectivityTestRequest.newBuilder() to construct. private DeleteConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,16 +134,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.networkmanagement.v1beta1.DeleteConnectivityTestRequest)) { + if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,139 +162,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `DeleteConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,22 +294,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -352,17 +315,13 @@ public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -373,52 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -450,19 +403,17 @@ 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) { @@ -472,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -500,22 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -523,37 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -563,31 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,44 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectivityTestRequest 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 DeleteConnectivityTestRequest 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; @@ -646,8 +579,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java similarity index 56% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java index a14c38f75eb0..516faccf54ef 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface DeleteConnectivityTestRequestOrBuilder - extends +public interface DeleteConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java index c78a20aa7e1e..18ea50cf607c 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Details of the final state "deliver" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeliverInfo} */ -public final class DeliverInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeliverInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.DeliverInfo) DeliverInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeliverInfo.newBuilder() to construct. private DeliverInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeliverInfo() { target_ = 0; resourceUri_ = ""; @@ -44,43 +26,39 @@ private DeliverInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeliverInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); } /** - * - * *
    * Deliver target types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.DeliverInfo.Target} */ - public enum Target implements com.google.protobuf.ProtocolMessageEnum { + public enum Target + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Target not specified.
      * 
@@ -89,8 +67,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ TARGET_UNSPECIFIED(0), /** - * - * *
      * Target is a Compute Engine instance.
      * 
@@ -99,8 +75,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE(1), /** - * - * *
      * Target is the internet.
      * 
@@ -109,8 +83,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ INTERNET(2), /** - * - * *
      * Target is a Google API.
      * 
@@ -119,8 +91,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_API(3), /** - * - * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -129,8 +99,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ GKE_MASTER(4), /** - * - * *
      * Target is a Cloud SQL instance.
      * 
@@ -139,8 +107,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ CLOUD_SQL_INSTANCE(5), /** - * - * *
      * Target is a published service using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
@@ -150,8 +116,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
      */
     PSC_PUBLISHED_SERVICE(6),
     /**
-     *
-     *
      * 
      * Target is all Google APIs using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -161,8 +125,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
      */
     PSC_GOOGLE_API(7),
     /**
-     *
-     *
      * 
      * Target is VPC-SC using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -175,8 +137,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Target not specified.
      * 
@@ -185,8 +145,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Target is a Compute Engine instance.
      * 
@@ -195,8 +153,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_VALUE = 1; /** - * - * *
      * Target is the internet.
      * 
@@ -205,8 +161,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNET_VALUE = 2; /** - * - * *
      * Target is a Google API.
      * 
@@ -215,8 +169,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_API_VALUE = 3; /** - * - * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -225,8 +177,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GKE_MASTER_VALUE = 4; /** - * - * *
      * Target is a Cloud SQL instance.
      * 
@@ -235,8 +185,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_SQL_INSTANCE_VALUE = 5; /** - * - * *
      * Target is a published service using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
@@ -246,8 +194,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PSC_PUBLISHED_SERVICE_VALUE = 6;
     /**
-     *
-     *
      * 
      * Target is all Google APIs using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -257,8 +203,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PSC_GOOGLE_API_VALUE = 7;
     /**
-     *
-     *
      * 
      * Target is VPC-SC using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -268,6 +212,7 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PSC_VPC_SC_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -292,63 +237,55 @@ public static Target valueOf(int value) {
      */
     public static Target forNumber(int value) {
       switch (value) {
-        case 0:
-          return TARGET_UNSPECIFIED;
-        case 1:
-          return INSTANCE;
-        case 2:
-          return INTERNET;
-        case 3:
-          return GOOGLE_API;
-        case 4:
-          return GKE_MASTER;
-        case 5:
-          return CLOUD_SQL_INSTANCE;
-        case 6:
-          return PSC_PUBLISHED_SERVICE;
-        case 7:
-          return PSC_GOOGLE_API;
-        case 8:
-          return PSC_VPC_SC;
-        default:
-          return null;
+        case 0: return TARGET_UNSPECIFIED;
+        case 1: return INSTANCE;
+        case 2: return INTERNET;
+        case 3: return GOOGLE_API;
+        case 4: return GKE_MASTER;
+        case 5: return CLOUD_SQL_INSTANCE;
+        case 6: return PSC_PUBLISHED_SERVICE;
+        case 7: return PSC_GOOGLE_API;
+        case 8: return PSC_VPC_SC;
+        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<
+        Target> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Target findValueByNumber(int number) {
+              return Target.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Target findValueByNumber(int number) {
-            return Target.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Target[] VALUES = values();
 
-    public static Target valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Target 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;
@@ -368,53 +305,38 @@ private Target(int value) {
   public static final int TARGET_FIELD_NUMBER = 1;
   private int target_ = 0;
   /**
-   *
-   *
    * 
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return The target. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -423,29 +345,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -454,7 +376,6 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,10 +387,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (target_ - != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (target_ != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -484,10 +404,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ - != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); + if (target_ != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -500,16 +419,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.networkmanagement.v1beta1.DeliverInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.DeliverInfo other = - (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) obj; + com.google.cloud.networkmanagement.v1beta1.DeliverInfo other = (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -531,136 +450,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo 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.networkmanagement.v1beta1.DeliverInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.DeliverInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.DeliverInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "deliver" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeliverInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.DeliverInfo) com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.DeliverInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -671,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; } @java.lang.Override @@ -692,11 +604,8 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.DeliverInfo result = - new com.google.cloud.networkmanagement.v1beta1.DeliverInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.DeliverInfo result = new com.google.cloud.networkmanagement.v1beta1.DeliverInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -715,39 +624,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DeliverInf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.DeliverInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DeliverInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DeliverInfo)other); } else { super.mergeFrom(other); return this; @@ -755,8 +663,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.DeliverInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -791,25 +698,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = 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) { @@ -819,34 +723,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int target_ = 0; /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -857,33 +753,24 @@ public Builder setTargetValue(int value) { return this; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED : result; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @param value The target to set. * @return This builder for chaining. */ @@ -897,14 +784,11 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1beta1.DeliverInfo. return this; } /** - * - * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -916,20 +800,18 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -938,21 +820,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -960,35 +841,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -998,30 +872,26 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -1031,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.DeliverInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.DeliverInfo) private static final com.google.cloud.networkmanagement.v1beta1.DeliverInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.DeliverInfo(); } @@ -1045,27 +915,27 @@ public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeliverInfo 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 DeliverInfo 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; @@ -1080,4 +950,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java similarity index 62% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java index adc642a7e00b..d2b1edf9f74f 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface DeliverInfoOrBuilder - extends +public interface DeliverInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.DeliverInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** - * - * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; - * * @return The target. */ com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget(); /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java index 1a4a3d7e415e..0bfdafffeba9 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Details of the final state "drop" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DropInfo} */ -public final class DropInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DropInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.DropInfo) DropInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DropInfo.newBuilder() to construct. private DropInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DropInfo() { cause_ = 0; resourceUri_ = ""; @@ -44,43 +26,39 @@ private DropInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DropInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DropInfo.class, - com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DropInfo.class, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); } /** - * - * *
    * Drop cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.DropInfo.Cause} */ - public enum Cause implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Cause is unspecified.
      * 
@@ -89,8 +67,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ CAUSE_UNSPECIFIED(0), /** - * - * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -101,8 +77,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_EXTERNAL_ADDRESS(1),
     /**
-     *
-     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -112,8 +86,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FOREIGN_IP_DISALLOWED(2),
     /**
-     *
-     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -123,8 +95,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FIREWALL_RULE(3),
     /**
-     *
-     *
      * 
      * Dropped due to no routes.
      * 
@@ -133,8 +103,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ NO_ROUTE(4), /** - * - * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -143,8 +111,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_BLACKHOLE(5), /** - * - * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -155,8 +121,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     ROUTE_WRONG_NETWORK(6),
     /**
-     *
-     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -165,8 +129,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ PRIVATE_TRAFFIC_TO_INTERNET(7), /** - * - * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -176,8 +138,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     PRIVATE_GOOGLE_ACCESS_DISALLOWED(8),
     /**
-     *
-     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -188,8 +148,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_EXTERNAL_ADDRESS(9),
     /**
-     *
-     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -201,8 +159,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNKNOWN_INTERNAL_ADDRESS(10),
     /**
-     *
-     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -211,8 +167,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ FORWARDING_RULE_MISMATCH(11), /** - * - * *
      * Forwarding rule does not have backends configured.
      * 
@@ -221,8 +175,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ FORWARDING_RULE_NO_INSTANCES(12), /** - * - * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -234,8 +186,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK(13),
     /**
-     *
-     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -245,8 +195,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     INSTANCE_NOT_RUNNING(14),
     /**
-     *
-     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -258,8 +206,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRAFFIC_TYPE_BLOCKED(15),
     /**
-     *
-     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -271,8 +217,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     GKE_MASTER_UNAUTHORIZED_ACCESS(16),
     /**
-     *
-     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -284,8 +228,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS(17),
     /**
-     *
-     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -294,8 +236,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ DROPPED_INSIDE_GKE_SERVICE(18), /** - * - * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -304,8 +244,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ DROPPED_INSIDE_CLOUD_SQL_SERVICE(19), /** - * - * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -315,8 +253,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_MANAGED_SERVICE_NO_PEERING(20),
     /**
-     *
-     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -326,8 +262,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     CLOUD_SQL_INSTANCE_NO_IP_ADDRESS(21),
     /**
-     *
-     *
      * 
      * Packet could be dropped because the Cloud function is not in an active
      * status.
@@ -337,8 +271,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     CLOUD_FUNCTION_NOT_ACTIVE(22),
     /**
-     *
-     *
      * 
      * Packet could be dropped because no VPC connector is set.
      * 
@@ -347,8 +279,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ VPC_CONNECTOR_NOT_SET(23), /** - * - * *
      * Packet could be dropped because the VPC connector is not in a running
      * state.
@@ -358,8 +288,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     VPC_CONNECTOR_NOT_RUNNING(24),
     /**
-     *
-     *
      * 
      * Packet could be dropped because it was sent from a different region
      * to a regional forwarding without global access.
@@ -369,8 +297,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     FORWARDING_RULE_REGION_MISMATCH(25),
     /**
-     *
-     *
      * 
      * Privte Service Connect (PSC) connection is not in accepted state.
      * 
@@ -382,8 +308,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Cause is unspecified.
      * 
@@ -392,8 +316,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -404,8 +326,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_EXTERNAL_ADDRESS_VALUE = 1;
     /**
-     *
-     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -415,8 +335,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FOREIGN_IP_DISALLOWED_VALUE = 2;
     /**
-     *
-     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -426,8 +344,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FIREWALL_RULE_VALUE = 3;
     /**
-     *
-     *
      * 
      * Dropped due to no routes.
      * 
@@ -436,8 +352,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_ROUTE_VALUE = 4; /** - * - * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -446,8 +360,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_BLACKHOLE_VALUE = 5; /** - * - * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -458,8 +370,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROUTE_WRONG_NETWORK_VALUE = 6;
     /**
-     *
-     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -468,8 +378,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATE_TRAFFIC_TO_INTERNET_VALUE = 7; /** - * - * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -479,8 +387,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRIVATE_GOOGLE_ACCESS_DISALLOWED_VALUE = 8;
     /**
-     *
-     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -491,8 +397,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_EXTERNAL_ADDRESS_VALUE = 9;
     /**
-     *
-     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -504,8 +408,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_INTERNAL_ADDRESS_VALUE = 10;
     /**
-     *
-     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -514,8 +416,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORWARDING_RULE_MISMATCH_VALUE = 11; /** - * - * *
      * Forwarding rule does not have backends configured.
      * 
@@ -524,8 +424,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORWARDING_RULE_NO_INSTANCES_VALUE = 12; /** - * - * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -537,8 +435,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK_VALUE = 13;
     /**
-     *
-     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -548,8 +444,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INSTANCE_NOT_RUNNING_VALUE = 14;
     /**
-     *
-     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -561,8 +455,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRAFFIC_TYPE_BLOCKED_VALUE = 15;
     /**
-     *
-     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -574,8 +466,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_MASTER_UNAUTHORIZED_ACCESS_VALUE = 16;
     /**
-     *
-     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -587,8 +477,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS_VALUE = 17;
     /**
-     *
-     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -597,8 +485,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DROPPED_INSIDE_GKE_SERVICE_VALUE = 18; /** - * - * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -607,8 +493,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DROPPED_INSIDE_CLOUD_SQL_SERVICE_VALUE = 19; /** - * - * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -618,8 +502,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_MANAGED_SERVICE_NO_PEERING_VALUE = 20;
     /**
-     *
-     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -629,8 +511,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE = 21;
     /**
-     *
-     *
      * 
      * Packet could be dropped because the Cloud function is not in an active
      * status.
@@ -640,8 +520,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_FUNCTION_NOT_ACTIVE_VALUE = 22;
     /**
-     *
-     *
      * 
      * Packet could be dropped because no VPC connector is set.
      * 
@@ -650,8 +528,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VPC_CONNECTOR_NOT_SET_VALUE = 23; /** - * - * *
      * Packet could be dropped because the VPC connector is not in a running
      * state.
@@ -661,8 +537,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VPC_CONNECTOR_NOT_RUNNING_VALUE = 24;
     /**
-     *
-     *
      * 
      * Packet could be dropped because it was sent from a different region
      * to a regional forwarding without global access.
@@ -672,8 +546,6 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FORWARDING_RULE_REGION_MISMATCH_VALUE = 25;
     /**
-     *
-     *
      * 
      * Privte Service Connect (PSC) connection is not in accepted state.
      * 
@@ -682,6 +554,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PSC_CONNECTION_NOT_ACCEPTED_VALUE = 26; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -706,99 +579,73 @@ public static Cause valueOf(int value) { */ public static Cause forNumber(int value) { switch (value) { - case 0: - return CAUSE_UNSPECIFIED; - case 1: - return UNKNOWN_EXTERNAL_ADDRESS; - case 2: - return FOREIGN_IP_DISALLOWED; - case 3: - return FIREWALL_RULE; - case 4: - return NO_ROUTE; - case 5: - return ROUTE_BLACKHOLE; - case 6: - return ROUTE_WRONG_NETWORK; - case 7: - return PRIVATE_TRAFFIC_TO_INTERNET; - case 8: - return PRIVATE_GOOGLE_ACCESS_DISALLOWED; - case 9: - return NO_EXTERNAL_ADDRESS; - case 10: - return UNKNOWN_INTERNAL_ADDRESS; - case 11: - return FORWARDING_RULE_MISMATCH; - case 12: - return FORWARDING_RULE_NO_INSTANCES; - case 13: - return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK; - case 14: - return INSTANCE_NOT_RUNNING; - case 15: - return TRAFFIC_TYPE_BLOCKED; - case 16: - return GKE_MASTER_UNAUTHORIZED_ACCESS; - case 17: - return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS; - case 18: - return DROPPED_INSIDE_GKE_SERVICE; - case 19: - return DROPPED_INSIDE_CLOUD_SQL_SERVICE; - case 20: - return GOOGLE_MANAGED_SERVICE_NO_PEERING; - case 21: - return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS; - case 22: - return CLOUD_FUNCTION_NOT_ACTIVE; - case 23: - return VPC_CONNECTOR_NOT_SET; - case 24: - return VPC_CONNECTOR_NOT_RUNNING; - case 25: - return FORWARDING_RULE_REGION_MISMATCH; - case 26: - return PSC_CONNECTION_NOT_ACCEPTED; - default: - return null; + case 0: return CAUSE_UNSPECIFIED; + case 1: return UNKNOWN_EXTERNAL_ADDRESS; + case 2: return FOREIGN_IP_DISALLOWED; + case 3: return FIREWALL_RULE; + case 4: return NO_ROUTE; + case 5: return ROUTE_BLACKHOLE; + case 6: return ROUTE_WRONG_NETWORK; + case 7: return PRIVATE_TRAFFIC_TO_INTERNET; + case 8: return PRIVATE_GOOGLE_ACCESS_DISALLOWED; + case 9: return NO_EXTERNAL_ADDRESS; + case 10: return UNKNOWN_INTERNAL_ADDRESS; + case 11: return FORWARDING_RULE_MISMATCH; + case 12: return FORWARDING_RULE_NO_INSTANCES; + case 13: return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK; + case 14: return INSTANCE_NOT_RUNNING; + case 15: return TRAFFIC_TYPE_BLOCKED; + case 16: return GKE_MASTER_UNAUTHORIZED_ACCESS; + case 17: return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS; + case 18: return DROPPED_INSIDE_GKE_SERVICE; + case 19: return DROPPED_INSIDE_CLOUD_SQL_SERVICE; + case 20: return GOOGLE_MANAGED_SERVICE_NO_PEERING; + case 21: return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS; + case 22: return CLOUD_FUNCTION_NOT_ACTIVE; + case 23: return VPC_CONNECTOR_NOT_SET; + case 24: return VPC_CONNECTOR_NOT_RUNNING; + case 25: return FORWARDING_RULE_REGION_MISMATCH; + case 26: return PSC_CONNECTION_NOT_ACCEPTED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Cause findValueByNumber(int number) { - return Cause.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Cause> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Cause findValueByNumber(int number) { + return Cause.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.networkmanagement.v1beta1.DropInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDescriptor().getEnumTypes().get(0); } private static final Cause[] VALUES = values(); - public static Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Cause valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -818,53 +665,38 @@ private Cause(int value) { public static final int CAUSE_FIELD_NUMBER = 1; private int cause_ = 0; /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return The cause. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = - com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -873,29 +705,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -904,7 +736,6 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -916,10 +747,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (cause_ - != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (cause_ != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -934,10 +764,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ - != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); + if (cause_ != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -950,16 +779,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.networkmanagement.v1beta1.DropInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.DropInfo other = - (com.google.cloud.networkmanagement.v1beta1.DropInfo) obj; + com.google.cloud.networkmanagement.v1beta1.DropInfo other = (com.google.cloud.networkmanagement.v1beta1.DropInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -981,135 +810,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo 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.networkmanagement.v1beta1.DropInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.DropInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "drop" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DropInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.DropInfo) com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DropInfo.class, - com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DropInfo.class, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.DropInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1120,9 +943,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; } @java.lang.Override @@ -1141,11 +964,8 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.DropInfo result = - new com.google.cloud.networkmanagement.v1beta1.DropInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.DropInfo result = new com.google.cloud.networkmanagement.v1beta1.DropInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1164,39 +984,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DropInfo 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.networkmanagement.v1beta1.DropInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DropInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DropInfo)other); } else { super.mergeFrom(other); return this; @@ -1204,8 +1023,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.DropInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) return this; if (other.cause_ != 0) { setCauseValue(other.getCauseValue()); } @@ -1240,25 +1058,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = 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) { @@ -1268,34 +1083,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int cause_ = 0; /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override - public int getCauseValue() { + @java.lang.Override public int getCauseValue() { return cause_; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1306,33 +1113,24 @@ public Builder setCauseValue(int value) { return this; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = - com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED : result; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @param value The cause to set. * @return This builder for chaining. */ @@ -1346,14 +1144,11 @@ public Builder setCause(com.google.cloud.networkmanagement.v1beta1.DropInfo.Caus return this; } /** - * - * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return This builder for chaining. */ public Builder clearCause() { @@ -1365,20 +1160,18 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1387,21 +1180,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1409,35 +1201,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1447,30 +1232,26 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -1480,12 +1261,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.DropInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.DropInfo) private static final com.google.cloud.networkmanagement.v1beta1.DropInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.DropInfo(); } @@ -1494,27 +1275,27 @@ public static com.google.cloud.networkmanagement.v1beta1.DropInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropInfo 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 DropInfo 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; @@ -1529,4 +1310,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.DropInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java similarity index 61% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java index 8cf72c766f2f..6b7ab7e4e128 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface DropInfoOrBuilder - extends +public interface DropInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.DropInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** - * - * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; - * * @return The cause. */ com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause(); /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java index 095b0f87638e..b9fd6ff41a7c 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Source or destination of the Connectivity Test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint} */ -public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Endpoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Endpoint) EndpointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Endpoint.newBuilder() to construct. private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Endpoint() { ipAddress_ = ""; instance_ = ""; @@ -49,33 +31,30 @@ private Endpoint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Endpoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.class, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); } /** - * - * *
    * The type definition of an endpoint's network. Use one of the
    * following choices:
@@ -83,10 +62,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType}
    */
-  public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum NetworkType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default type if unspecified.
      * 
@@ -95,10 +73,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ NETWORK_TYPE_UNSPECIFIED(0), /** - * - * *
-     * A network hosted within Google Cloud Platform.
+     * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
      * destination network.
      * 
@@ -107,10 +83,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ GCP_NETWORK(1), /** - * - * *
-     * A network hosted outside of Google Cloud Platform.
+     * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
      * provider.
      * 
@@ -122,8 +96,6 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default type if unspecified.
      * 
@@ -132,10 +104,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NETWORK_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
-     * A network hosted within Google Cloud Platform.
+     * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
      * destination network.
      * 
@@ -144,10 +114,8 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCP_NETWORK_VALUE = 1; /** - * - * *
-     * A network hosted outside of Google Cloud Platform.
+     * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
      * provider.
      * 
@@ -156,6 +124,7 @@ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NON_GCP_NETWORK_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,51 +149,49 @@ public static NetworkType valueOf(int value) { */ public static NetworkType forNumber(int value) { switch (value) { - case 0: - return NETWORK_TYPE_UNSPECIFIED; - case 1: - return GCP_NETWORK; - case 2: - return NON_GCP_NETWORK; - default: - return null; + case 0: return NETWORK_TYPE_UNSPECIFIED; + case 1: return GCP_NETWORK; + case 2: return NON_GCP_NETWORK; + 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< + NetworkType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NetworkType findValueByNumber(int number) { + return NetworkType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NetworkType findValueByNumber(int number) { - return NetworkType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.Endpoint.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.Endpoint.getDescriptor().getEnumTypes().get(0); } private static final NetworkType[] VALUES = values(); - public static NetworkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static NetworkType 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; @@ -241,99 +208,84 @@ private NetworkType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType) } - public interface CloudFunctionEndpointOrBuilder - extends + public interface CloudFunctionEndpointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); } /** - * - * *
    * Wrapper for cloud function attributes.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint} */ - public static final class CloudFunctionEndpoint extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CloudFunctionEndpoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) CloudFunctionEndpointOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudFunctionEndpoint.newBuilder() to construct. private CloudFunctionEndpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudFunctionEndpoint() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudFunctionEndpoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder.class); } public static final int URI_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -342,29 +294,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -373,7 +325,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +336,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -409,16 +361,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.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)) { + if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other = - (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) obj; + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other = (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) obj; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -437,101 +388,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -541,43 +479,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Wrapper for cloud function attributes.
      * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -587,22 +521,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint build() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -610,19 +541,14 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - buildPartial() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = - new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint buildPartial() { + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.uri_ = uri_; @@ -633,54 +559,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other) { + if (other == com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; bitField0_ |= 0x00000001; @@ -712,19 +630,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + uri_ = 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) { @@ -734,25 +650,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object uri_ = ""; /** - * - * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -761,21 +674,20 @@ public java.lang.String getUri() { } } /** - * - * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -783,35 +695,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -821,28 +726,23 @@ public Builder clearUri() { return this; } /** - * - * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -855,45 +755,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) - private static final com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudFunctionEndpoint 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 CloudFunctionEndpoint 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; @@ -905,19 +801,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int IP_ADDRESS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -926,7 +819,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string ip_address = 1; - * * @return The ipAddress. */ @java.lang.Override @@ -935,15 +827,14 @@ 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 the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -952,15 +843,16 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 1; - * * @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 { @@ -971,15 +863,12 @@ public com.google.protobuf.ByteString getIpAddressBytes() { public static final int PORT_FIELD_NUMBER = 2; private int port_ = 0; /** - * - * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -988,18 +877,14 @@ public int getPort() { } public static final int INSTANCE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object instance_ = ""; /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -1008,29 +893,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1039,19 +924,15 @@ public com.google.protobuf.ByteString getInstanceBytes() { } public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object gkeMasterCluster_ = ""; /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The gkeMasterCluster. */ @java.lang.Override @@ -1060,30 +941,30 @@ public java.lang.String getGkeMasterCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; } } /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The bytes for gkeMasterCluster. */ @java.lang.Override - public com.google.protobuf.ByteString getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString + getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -1092,18 +973,14 @@ public com.google.protobuf.ByteString getGkeMasterClusterBytes() { } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object cloudSqlInstance_ = ""; /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The cloudSqlInstance. */ @java.lang.Override @@ -1112,29 +989,29 @@ public java.lang.String getCloudSqlInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; } } /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The bytes for cloudSqlInstance. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString + getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -1145,16 +1022,11 @@ public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { public static final int CLOUD_FUNCTION_FIELD_NUMBER = 10; private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloudFunction_; /** - * - * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; * @return Whether the cloudFunction field is set. */ @java.lang.Override @@ -1162,59 +1034,38 @@ public boolean hasCloudFunction() { return cloudFunction_ != null; } /** - * - * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; * @return The cloudFunction. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - getCloudFunction() { - return cloudFunction_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance() - : cloudFunction_; + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction() { + return cloudFunction_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; } /** - * - * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder - getCloudFunctionOrBuilder() { - return cloudFunction_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance() - : cloudFunction_; + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder() { + return cloudFunction_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; } public static final int NETWORK_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @return The network. */ @java.lang.Override @@ -1223,29 +1074,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; } } /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @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 { @@ -1256,8 +1107,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int NETWORK_TYPE_FIELD_NUMBER = 5; private int networkType_ = 0; /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -1265,16 +1114,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override - public int getNetworkTypeValue() { + @java.lang.Override public int getNetworkTypeValue() { return networkType_; } /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -1282,39 +1127,30 @@ public int getNetworkTypeValue() {
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return The networkType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType() { + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED : result; } public static final int PROJECT_ID_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The projectId. */ @java.lang.Override @@ -1323,37 +1159,37 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1362,7 +1198,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1374,7 +1209,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddress_); } @@ -1387,9 +1223,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, network_); } - if (networkType_ - != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED - .getNumber()) { + if (networkType_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { @@ -1417,7 +1251,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ipAddress_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instance_); @@ -1425,10 +1260,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, network_); } - if (networkType_ - != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, networkType_); + if (networkType_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, projectId_); @@ -1440,7 +1274,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudSqlInstance_); } if (cloudFunction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCloudFunction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCloudFunction()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1450,26 +1285,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.networkmanagement.v1beta1.Endpoint)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.Endpoint other = - (com.google.cloud.networkmanagement.v1beta1.Endpoint) obj; - - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (getPort() != other.getPort()) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false; - if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; + com.google.cloud.networkmanagement.v1beta1.Endpoint other = (com.google.cloud.networkmanagement.v1beta1.Endpoint) obj; + + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (getPort() + != other.getPort()) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getGkeMasterCluster() + .equals(other.getGkeMasterCluster())) return false; + if (!getCloudSqlInstance() + .equals(other.getCloudSqlInstance())) return false; if (hasCloudFunction() != other.hasCloudFunction()) return false; if (hasCloudFunction()) { - if (!getCloudFunction().equals(other.getCloudFunction())) return false; + if (!getCloudFunction() + .equals(other.getCloudFunction())) return false; } - if (!getNetwork().equals(other.getNetwork())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; if (networkType_ != other.networkType_) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1507,135 +1349,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint 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.networkmanagement.v1beta1.Endpoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Endpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Source or destination of the Connectivity Test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Endpoint) com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.class, - com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.Endpoint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1657,9 +1493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; } @java.lang.Override @@ -1678,11 +1514,8 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint buildPartial() { - com.google.cloud.networkmanagement.v1beta1.Endpoint result = - new com.google.cloud.networkmanagement.v1beta1.Endpoint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.Endpoint result = new com.google.cloud.networkmanagement.v1beta1.Endpoint(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1705,8 +1538,9 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint r result.cloudSqlInstance_ = cloudSqlInstance_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.cloudFunction_ = - cloudFunctionBuilder_ == null ? cloudFunction_ : cloudFunctionBuilder_.build(); + result.cloudFunction_ = cloudFunctionBuilder_ == null + ? cloudFunction_ + : cloudFunctionBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.network_ = network_; @@ -1723,39 +1557,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint 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.networkmanagement.v1beta1.Endpoint) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Endpoint) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Endpoint)other); } else { super.mergeFrom(other); return this; @@ -1763,8 +1596,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint other) { - if (other == com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) return this; if (!other.getIpAddress().isEmpty()) { ipAddress_ = other.ipAddress_; bitField0_ |= 0x00000001; @@ -1830,67 +1662,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - port_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - instance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 40: - { - networkType_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 40 - case 50: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 50 - case 58: - { - gkeMasterCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 58 - case 66: - { - cloudSqlInstance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 66 - case 82: - { - input.readMessage(getCloudFunctionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + port_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + instance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 40: { + networkType_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 40 + case 50: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 50 + case 58: { + gkeMasterCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 58 + case 66: { + cloudSqlInstance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 66 + case 82: { + input.readMessage( + getCloudFunctionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 82 + 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) { @@ -1900,13 +1724,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object ipAddress_ = ""; /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1915,13 +1736,13 @@ public Builder mergeFrom(
      * 
* * string ip_address = 1; - * * @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; @@ -1930,8 +1751,6 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1940,14 +1759,15 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 1; - * * @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 { @@ -1955,8 +1775,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1965,22 +1783,18 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
      * 
* * string ip_address = 1; - * * @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_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1989,7 +1803,6 @@ public Builder setIpAddress(java.lang.String value) {
      * 
* * string ip_address = 1; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1999,8 +1812,6 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -2009,14 +1820,12 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 1; - * * @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_ |= 0x00000001; @@ -2024,17 +1833,14 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { return this; } - private int port_; + private int port_ ; /** - * - * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -2042,35 +1848,29 @@ public int getPort() { return port_; } /** - * - * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; - * * @return This builder for chaining. */ public Builder clearPort() { @@ -2082,20 +1882,18 @@ public Builder clearPort() { private java.lang.Object instance_ = ""; /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -2104,21 +1902,20 @@ public java.lang.String getInstance() { } } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -2126,35 +1923,28 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstance( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instance_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { @@ -2164,21 +1954,17 @@ public Builder clearInstance() { return this; } /** - * - * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instance_ = value; bitField0_ |= 0x00000004; @@ -2188,21 +1974,19 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object gkeMasterCluster_ = ""; /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @return The gkeMasterCluster. */ public java.lang.String getGkeMasterCluster() { java.lang.Object ref = gkeMasterCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; @@ -2211,22 +1995,21 @@ public java.lang.String getGkeMasterCluster() { } } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @return The bytes for gkeMasterCluster. */ - public com.google.protobuf.ByteString getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString + getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -2234,37 +2017,30 @@ public com.google.protobuf.ByteString getGkeMasterClusterBytes() { } } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @param value The gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGkeMasterCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } gkeMasterCluster_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @return This builder for chaining. */ public Builder clearGkeMasterCluster() { @@ -2274,22 +2050,18 @@ public Builder clearGkeMasterCluster() { return this; } /** - * - * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; - * * @param value The bytes for gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGkeMasterClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gkeMasterCluster_ = value; bitField0_ |= 0x00000008; @@ -2299,20 +2071,18 @@ public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object cloudSqlInstance_ = ""; /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @return The cloudSqlInstance. */ public java.lang.String getCloudSqlInstance() { java.lang.Object ref = cloudSqlInstance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; @@ -2321,21 +2091,20 @@ public java.lang.String getCloudSqlInstance() { } } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @return The bytes for cloudSqlInstance. */ - public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString + getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -2343,35 +2112,28 @@ public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { } } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @param value The cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstance(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudSqlInstance( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cloudSqlInstance_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @return This builder for chaining. */ public Builder clearCloudSqlInstance() { @@ -2381,21 +2143,17 @@ public Builder clearCloudSqlInstance() { return this; } /** - * - * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; - * * @param value The bytes for cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudSqlInstanceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cloudSqlInstance_ = value; bitField0_ |= 0x00000010; @@ -2403,66 +2161,43 @@ public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - cloudFunction_; + private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloudFunction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> - cloudFunctionBuilder_; + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> cloudFunctionBuilder_; /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; * @return Whether the cloudFunction field is set. */ public boolean hasCloudFunction() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; * @return The cloudFunction. */ - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - getCloudFunction() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction() { if (cloudFunctionBuilder_ == null) { - return cloudFunction_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance() - : cloudFunction_; + return cloudFunction_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; } else { return cloudFunctionBuilder_.getMessage(); } } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ - public Builder setCloudFunction( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { + public Builder setCloudFunction(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { if (cloudFunctionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2476,19 +2211,14 @@ public Builder setCloudFunction( return this; } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ public Builder setCloudFunction( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder - builderForValue) { + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder builderForValue) { if (cloudFunctionBuilder_ == null) { cloudFunction_ = builderForValue.build(); } else { @@ -2499,24 +2229,17 @@ public Builder setCloudFunction( return this; } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ - public Builder mergeCloudFunction( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { + public Builder mergeCloudFunction(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { if (cloudFunctionBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && cloudFunction_ != null - && cloudFunction_ - != com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + cloudFunction_ != null && + cloudFunction_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance()) { getCloudFunctionBuilder().mergeFrom(value); } else { cloudFunction_ = value; @@ -2529,15 +2252,11 @@ public Builder mergeCloudFunction( return this; } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ public Builder clearCloudFunction() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2550,67 +2269,48 @@ public Builder clearCloudFunction() { return this; } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder - getCloudFunctionBuilder() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder getCloudFunctionBuilder() { bitField0_ |= 0x00000020; onChanged(); return getCloudFunctionFieldBuilder().getBuilder(); } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder - getCloudFunctionOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder() { if (cloudFunctionBuilder_ != null) { return cloudFunctionBuilder_.getMessageOrBuilder(); } else { - return cloudFunction_ == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint - .getDefaultInstance() - : cloudFunction_; + return cloudFunction_ == null ? + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; } } /** - * - * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> getCloudFunctionFieldBuilder() { if (cloudFunctionBuilder_ == null) { - cloudFunctionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>( - getCloudFunction(), getParentForChildren(), isClean()); + cloudFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>( + getCloudFunction(), + getParentForChildren(), + isClean()); cloudFunction_ = null; } return cloudFunctionBuilder_; @@ -2618,20 +2318,18 @@ public Builder clearCloudFunction() { private java.lang.Object network_ = ""; /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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; @@ -2640,21 +2338,20 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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 { @@ -2662,35 +2359,28 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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; } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -2700,21 +2390,17 @@ public Builder clearNetwork() { return this; } /** - * - * *
      * A Compute Engine network URI.
      * 
* * string network = 4; - * * @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; @@ -2724,8 +2410,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private int networkType_ = 0; /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2733,16 +2417,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override - public int getNetworkTypeValue() { + @java.lang.Override public int getNetworkTypeValue() { return networkType_; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2750,7 +2430,6 @@ public int getNetworkTypeValue() {
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @param value The enum numeric value on the wire for networkType to set. * @return This builder for chaining. */ @@ -2761,8 +2440,6 @@ public Builder setNetworkTypeValue(int value) { return this; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2770,20 +2447,14 @@ public Builder setNetworkTypeValue(int value) {
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return The networkType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2791,12 +2462,10 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetwor
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @param value The networkType to set. * @return This builder for chaining. */ - public Builder setNetworkType( - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType value) { + public Builder setNetworkType(com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType value) { if (value == null) { throw new NullPointerException(); } @@ -2806,8 +2475,6 @@ public Builder setNetworkType( return this; } /** - * - * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2815,7 +2482,6 @@ public Builder setNetworkType(
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return This builder for chaining. */ public Builder clearNetworkType() { @@ -2827,28 +2493,26 @@ public Builder clearNetworkType() { private java.lang.Object projectId_ = ""; /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2857,29 +2521,28 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -2887,51 +2550,44 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2941,38 +2597,34 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
      * network URI.
      * The following are two cases where you must provide the project ID:
-     * 1. Only the IP address is specified, and the IP address is within a GCP
-     * project.
+     * 1. Only the IP address is specified, and the IP address is within a Google
+     * Cloud project.
      * 2. When you are using Shared VPC and the IP address that you provide is
      * from the service project. In this case, the network that the IP address
      * resides in is defined in the host project.
      * 
* * string project_id = 6; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2982,12 +2634,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Endpoint) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Endpoint) private static final com.google.cloud.networkmanagement.v1beta1.Endpoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Endpoint(); } @@ -2996,27 +2648,27 @@ public static com.google.cloud.networkmanagement.v1beta1.Endpoint getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoint 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 Endpoint 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; @@ -3031,4 +2683,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.Endpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java similarity index 72% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java index 3094bf06c8f1..9799e9027716 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. The specification of the endpoints for the test.
  * EndpointInfo is derived from source and destination Endpoint and validated
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.EndpointInfo}
  */
-public final class EndpointInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EndpointInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.EndpointInfo)
     EndpointInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EndpointInfo.newBuilder() to construct.
   private EndpointInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EndpointInfo() {
     sourceIp_ = "";
     destinationIp_ = "";
@@ -50,43 +32,38 @@ private EndpointInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EndpointInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
   }
 
   public static final int SOURCE_IP_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceIp_ = "";
   /**
-   *
-   *
    * 
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The sourceIp. */ @java.lang.Override @@ -95,29 +72,29 @@ public java.lang.String getSourceIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; } } /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The bytes for sourceIp. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceIpBytes() { + public com.google.protobuf.ByteString + getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -126,18 +103,14 @@ public com.google.protobuf.ByteString getSourceIpBytes() { } public static final int DESTINATION_IP_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object destinationIp_ = ""; /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The destinationIp. */ @java.lang.Override @@ -146,29 +119,29 @@ public java.lang.String getDestinationIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; } } /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The bytes for destinationIp. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationIpBytes() { + public com.google.protobuf.ByteString + getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -177,18 +150,14 @@ public com.google.protobuf.ByteString getDestinationIpBytes() { } public static final int PROTOCOL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The protocol. */ @java.lang.Override @@ -197,29 +166,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -230,14 +199,11 @@ public com.google.protobuf.ByteString getProtocolBytes() { public static final int SOURCE_PORT_FIELD_NUMBER = 4; private int sourcePort_ = 0; /** - * - * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; - * * @return The sourcePort. */ @java.lang.Override @@ -248,14 +214,11 @@ public int getSourcePort() { public static final int DESTINATION_PORT_FIELD_NUMBER = 5; private int destinationPort_ = 0; /** - * - * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; - * * @return The destinationPort. */ @java.lang.Override @@ -264,18 +227,14 @@ public int getDestinationPort() { } public static final int SOURCE_NETWORK_URI_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object sourceNetworkUri_ = ""; /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The sourceNetworkUri. */ @java.lang.Override @@ -284,29 +243,29 @@ public java.lang.String getSourceNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; } } /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The bytes for sourceNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString + getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -315,18 +274,14 @@ public com.google.protobuf.ByteString getSourceNetworkUriBytes() { } public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object destinationNetworkUri_ = ""; /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The destinationNetworkUri. */ @java.lang.Override @@ -335,29 +290,29 @@ public java.lang.String getDestinationNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; } } /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The bytes for destinationNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString + getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -366,18 +321,14 @@ public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { } public static final int SOURCE_AGENT_URI_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object sourceAgentUri_ = ""; /** - * - * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; - * * @return The sourceAgentUri. */ @java.lang.Override @@ -386,29 +337,29 @@ public java.lang.String getSourceAgentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceAgentUri_ = s; return s; } } /** - * - * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; - * * @return The bytes for sourceAgentUri. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceAgentUriBytes() { + public com.google.protobuf.ByteString + getSourceAgentUriBytes() { java.lang.Object ref = sourceAgentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceAgentUri_ = b; return b; } else { @@ -417,7 +368,6 @@ public com.google.protobuf.ByteString getSourceAgentUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -429,7 +379,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceIp_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceIp_); } @@ -473,10 +424,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, protocol_); } if (sourcePort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, sourcePort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, sourcePort_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, destinationPort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, destinationPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNetworkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sourceNetworkUri_); @@ -495,22 +448,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.networkmanagement.v1beta1.EndpointInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.EndpointInfo other = - (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) obj; - - if (!getSourceIp().equals(other.getSourceIp())) return false; - if (!getDestinationIp().equals(other.getDestinationIp())) return false; - if (!getProtocol().equals(other.getProtocol())) return false; - if (getSourcePort() != other.getSourcePort()) return false; - if (getDestinationPort() != other.getDestinationPort()) return false; - if (!getSourceNetworkUri().equals(other.getSourceNetworkUri())) return false; - if (!getDestinationNetworkUri().equals(other.getDestinationNetworkUri())) return false; - if (!getSourceAgentUri().equals(other.getSourceAgentUri())) return false; + com.google.cloud.networkmanagement.v1beta1.EndpointInfo other = (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) obj; + + if (!getSourceIp() + .equals(other.getSourceIp())) return false; + if (!getDestinationIp() + .equals(other.getDestinationIp())) return false; + if (!getProtocol() + .equals(other.getProtocol())) return false; + if (getSourcePort() + != other.getSourcePort()) return false; + if (getDestinationPort() + != other.getDestinationPort()) return false; + if (!getSourceNetworkUri() + .equals(other.getSourceNetworkUri())) return false; + if (!getDestinationNetworkUri() + .equals(other.getDestinationNetworkUri())) return false; + if (!getSourceAgentUri() + .equals(other.getSourceAgentUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -544,104 +504,96 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo 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.networkmanagement.v1beta1.EndpointInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.EndpointInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.EndpointInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. The specification of the endpoints for the test.
    * EndpointInfo is derived from source and destination Endpoint and validated
@@ -650,32 +602,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.EndpointInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.EndpointInfo)
       com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class,
-              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.EndpointInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -692,9 +645,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
@@ -713,11 +666,8 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.EndpointInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.EndpointInfo result =
-          new com.google.cloud.networkmanagement.v1beta1.EndpointInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.networkmanagement.v1beta1.EndpointInfo result = new com.google.cloud.networkmanagement.v1beta1.EndpointInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -754,39 +704,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.EndpointIn
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.EndpointInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.EndpointInfo) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.EndpointInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -794,8 +743,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.EndpointInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) return this;
       if (!other.getSourceIp().isEmpty()) {
         sourceIp_ = other.sourceIp_;
         bitField0_ |= 0x00000001;
@@ -858,61 +806,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                sourceIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                destinationIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                protocol_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                sourcePort_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                destinationPort_ = input.readInt32();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                sourceNetworkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                destinationNetworkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                sourceAgentUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              sourceIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              destinationIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              protocol_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              sourcePort_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              destinationPort_ = input.readInt32();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              sourceNetworkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              destinationNetworkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              sourceAgentUri_ = input.readStringRequireUtf8();
+              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) {
@@ -922,25 +861,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object sourceIp_ = "";
     /**
-     *
-     *
      * 
      * Source IP address.
      * 
* * string source_ip = 1; - * * @return The sourceIp. */ public java.lang.String getSourceIp() { java.lang.Object ref = sourceIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; @@ -949,21 +885,20 @@ public java.lang.String getSourceIp() { } } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @return The bytes for sourceIp. */ - public com.google.protobuf.ByteString getSourceIpBytes() { + public com.google.protobuf.ByteString + getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -971,35 +906,28 @@ public com.google.protobuf.ByteString getSourceIpBytes() { } } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @param value The sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceIp_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @return This builder for chaining. */ public Builder clearSourceIp() { @@ -1009,21 +937,17 @@ public Builder clearSourceIp() { return this; } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 1; - * * @param value The bytes for sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceIp_ = value; bitField0_ |= 0x00000001; @@ -1033,20 +957,18 @@ public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationIp_ = ""; /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @return The destinationIp. */ public java.lang.String getDestinationIp() { java.lang.Object ref = destinationIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; @@ -1055,21 +977,20 @@ public java.lang.String getDestinationIp() { } } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @return The bytes for destinationIp. */ - public com.google.protobuf.ByteString getDestinationIpBytes() { + public com.google.protobuf.ByteString + getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -1077,35 +998,28 @@ public com.google.protobuf.ByteString getDestinationIpBytes() { } } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @param value The destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationIp_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @return This builder for chaining. */ public Builder clearDestinationIp() { @@ -1115,21 +1029,17 @@ public Builder clearDestinationIp() { return this; } /** - * - * *
      * Destination IP address.
      * 
* * string destination_ip = 2; - * * @param value The bytes for destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationIp_ = value; bitField0_ |= 0x00000002; @@ -1139,20 +1049,18 @@ public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object protocol_ = ""; /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -1161,21 +1069,20 @@ public java.lang.String getProtocol() { } } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString getProtocolBytes() { + public com.google.protobuf.ByteString + getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protocol_ = b; return b; } else { @@ -1183,35 +1090,28 @@ public com.google.protobuf.ByteString getProtocolBytes() { } } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocol( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } protocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -1221,21 +1121,17 @@ public Builder clearProtocol() { return this; } /** - * - * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; - * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtocolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000004; @@ -1243,16 +1139,13 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { return this; } - private int sourcePort_; + private int sourcePort_ ; /** - * - * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; - * * @return The sourcePort. */ @java.lang.Override @@ -1260,33 +1153,27 @@ public int getSourcePort() { return sourcePort_; } /** - * - * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; - * * @param value The sourcePort to set. * @return This builder for chaining. */ public Builder setSourcePort(int value) { - + sourcePort_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; - * * @return This builder for chaining. */ public Builder clearSourcePort() { @@ -1296,16 +1183,13 @@ public Builder clearSourcePort() { return this; } - private int destinationPort_; + private int destinationPort_ ; /** - * - * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; - * * @return The destinationPort. */ @java.lang.Override @@ -1313,33 +1197,27 @@ public int getDestinationPort() { return destinationPort_; } /** - * - * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; - * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; - * * @return This builder for chaining. */ public Builder clearDestinationPort() { @@ -1351,20 +1229,18 @@ public Builder clearDestinationPort() { private java.lang.Object sourceNetworkUri_ = ""; /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @return The sourceNetworkUri. */ public java.lang.String getSourceNetworkUri() { java.lang.Object ref = sourceNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; @@ -1373,21 +1249,20 @@ public java.lang.String getSourceNetworkUri() { } } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @return The bytes for sourceNetworkUri. */ - public com.google.protobuf.ByteString getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString + getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -1395,35 +1270,28 @@ public com.google.protobuf.ByteString getSourceNetworkUriBytes() { } } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @param value The sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceNetworkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @return This builder for chaining. */ public Builder clearSourceNetworkUri() { @@ -1433,21 +1301,17 @@ public Builder clearSourceNetworkUri() { return this; } /** - * - * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; - * * @param value The bytes for sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceNetworkUri_ = value; bitField0_ |= 0x00000020; @@ -1457,20 +1321,18 @@ public Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationNetworkUri_ = ""; /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @return The destinationNetworkUri. */ public java.lang.String getDestinationNetworkUri() { java.lang.Object ref = destinationNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; @@ -1479,21 +1341,20 @@ public java.lang.String getDestinationNetworkUri() { } } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @return The bytes for destinationNetworkUri. */ - public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString + getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -1501,35 +1362,28 @@ public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { } } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @param value The destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationNetworkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @return This builder for chaining. */ public Builder clearDestinationNetworkUri() { @@ -1539,21 +1393,17 @@ public Builder clearDestinationNetworkUri() { return this; } /** - * - * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; - * * @param value The bytes for destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationNetworkUri_ = value; bitField0_ |= 0x00000040; @@ -1563,20 +1413,18 @@ public Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString valu private java.lang.Object sourceAgentUri_ = ""; /** - * - * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; - * * @return The sourceAgentUri. */ public java.lang.String getSourceAgentUri() { java.lang.Object ref = sourceAgentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceAgentUri_ = s; return s; @@ -1585,21 +1433,20 @@ public java.lang.String getSourceAgentUri() { } } /** - * - * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; - * * @return The bytes for sourceAgentUri. */ - public com.google.protobuf.ByteString getSourceAgentUriBytes() { + public com.google.protobuf.ByteString + getSourceAgentUriBytes() { java.lang.Object ref = sourceAgentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceAgentUri_ = b; return b; } else { @@ -1607,35 +1454,28 @@ public com.google.protobuf.ByteString getSourceAgentUriBytes() { } } /** - * - * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; - * * @param value The sourceAgentUri to set. * @return This builder for chaining. */ - public Builder setSourceAgentUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceAgentUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceAgentUri_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; - * * @return This builder for chaining. */ public Builder clearSourceAgentUri() { @@ -1645,30 +1485,26 @@ public Builder clearSourceAgentUri() { return this; } /** - * - * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; - * * @param value The bytes for sourceAgentUri to set. * @return This builder for chaining. */ - public Builder setSourceAgentUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceAgentUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceAgentUri_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1678,12 +1514,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.EndpointInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.EndpointInfo) private static final com.google.cloud.networkmanagement.v1beta1.EndpointInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.EndpointInfo(); } @@ -1692,27 +1528,27 @@ public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EndpointInfo 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 EndpointInfo 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; @@ -1727,4 +1563,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java index f45420078fc0..c326c8fdaa98 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java @@ -1,201 +1,149 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface EndpointInfoOrBuilder - extends +public interface EndpointInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.EndpointInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The sourceIp. */ java.lang.String getSourceIp(); /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 1; - * * @return The bytes for sourceIp. */ - com.google.protobuf.ByteString getSourceIpBytes(); + com.google.protobuf.ByteString + getSourceIpBytes(); /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The destinationIp. */ java.lang.String getDestinationIp(); /** - * - * *
    * Destination IP address.
    * 
* * string destination_ip = 2; - * * @return The bytes for destinationIp. */ - com.google.protobuf.ByteString getDestinationIpBytes(); + com.google.protobuf.ByteString + getDestinationIpBytes(); /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The protocol. */ java.lang.String getProtocol(); /** - * - * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; - * * @return The bytes for protocol. */ - com.google.protobuf.ByteString getProtocolBytes(); + com.google.protobuf.ByteString + getProtocolBytes(); /** - * - * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; - * * @return The sourcePort. */ int getSourcePort(); /** - * - * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; - * * @return The destinationPort. */ int getDestinationPort(); /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The sourceNetworkUri. */ java.lang.String getSourceNetworkUri(); /** - * - * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; - * * @return The bytes for sourceNetworkUri. */ - com.google.protobuf.ByteString getSourceNetworkUriBytes(); + com.google.protobuf.ByteString + getSourceNetworkUriBytes(); /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The destinationNetworkUri. */ java.lang.String getDestinationNetworkUri(); /** - * - * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; - * * @return The bytes for destinationNetworkUri. */ - com.google.protobuf.ByteString getDestinationNetworkUriBytes(); + com.google.protobuf.ByteString + getDestinationNetworkUriBytes(); /** - * - * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; - * * @return The sourceAgentUri. */ java.lang.String getSourceAgentUri(); /** - * - * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; - * * @return The bytes for sourceAgentUri. */ - com.google.protobuf.ByteString getSourceAgentUriBytes(); + com.google.protobuf.ByteString + getSourceAgentUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java similarity index 76% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java index 11687b0e2a56..11d31808bd8e 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface EndpointOrBuilder - extends +public interface EndpointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Endpoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -34,13 +16,10 @@ public interface EndpointOrBuilder
    * 
* * string ip_address = 1; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -49,172 +28,132 @@ public interface EndpointOrBuilder
    * 
* * string ip_address = 1; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; - * * @return The port. */ int getPort(); /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The gkeMasterCluster. */ java.lang.String getGkeMasterCluster(); /** - * - * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; - * * @return The bytes for gkeMasterCluster. */ - com.google.protobuf.ByteString getGkeMasterClusterBytes(); + com.google.protobuf.ByteString + getGkeMasterClusterBytes(); /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The cloudSqlInstance. */ java.lang.String getCloudSqlInstance(); /** - * - * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; - * * @return The bytes for cloudSqlInstance. */ - com.google.protobuf.ByteString getCloudSqlInstanceBytes(); + com.google.protobuf.ByteString + getCloudSqlInstanceBytes(); /** - * - * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; * @return Whether the cloudFunction field is set. */ boolean hasCloudFunction(); /** - * - * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; * @return The cloudFunction. */ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction(); /** - * - * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; - * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; */ - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder - getCloudFunctionOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder(); /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * A Compute Engine network URI.
    * 
* * string network = 4; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -222,13 +161,10 @@ public interface EndpointOrBuilder
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return The enum numeric value on the wire for networkType. */ int getNetworkTypeValue(); /** - * - * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -236,49 +172,43 @@ public interface EndpointOrBuilder
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; - * * @return The networkType. */ com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType(); /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
    * network URI.
    * The following are two cases where you must provide the project ID:
-   * 1. Only the IP address is specified, and the IP address is within a GCP
-   * project.
+   * 1. Only the IP address is specified, and the IP address is within a Google
+   * Cloud project.
    * 2. When you are using Shared VPC and the IP address that you provide is
    * from the service project. In this case, the network that the IP address
    * resides in is defined in the host project.
    * 
* * string project_id = 6; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java similarity index 73% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java index 44d4cf40548f..95b632179129 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a VPC firewall rule, an implied
  * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.FirewallInfo}
  */
-public final class FirewallInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FirewallInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.FirewallInfo)
     FirewallInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FirewallInfo.newBuilder() to construct.
   private FirewallInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FirewallInfo() {
     displayName_ = "";
     uri_ = "";
@@ -52,43 +34,39 @@ private FirewallInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FirewallInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class,
-            com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The firewall rule's type.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType} */ - public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum { + public enum FirewallRuleType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type.
      * 
@@ -97,8 +75,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum */ FIREWALL_RULE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -109,8 +85,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     HIERARCHICAL_FIREWALL_POLICY_RULE(1),
     /**
-     *
-     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -121,8 +95,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     VPC_FIREWALL_RULE(2),
     /**
-     *
-     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -133,8 +105,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     IMPLIED_VPC_FIREWALL_RULE(3),
     /**
-     *
-     *
      * 
      * Implicit firewall rules that are managed by serverless VPC access to
      * allow ingress access. They are not visible in the Google Cloud console.
@@ -149,8 +119,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified type.
      * 
@@ -159,8 +127,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum */ public static final int FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -171,8 +137,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE = 1;
     /**
-     *
-     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -183,8 +147,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int VPC_FIREWALL_RULE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -195,8 +157,6 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int IMPLIED_VPC_FIREWALL_RULE_VALUE = 3;
     /**
-     *
-     *
      * 
      * Implicit firewall rules that are managed by serverless VPC access to
      * allow ingress access. They are not visible in the Google Cloud console.
@@ -208,6 +168,7 @@ public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -232,49 +193,42 @@ public static FirewallRuleType valueOf(int value) {
      */
     public static FirewallRuleType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FIREWALL_RULE_TYPE_UNSPECIFIED;
-        case 1:
-          return HIERARCHICAL_FIREWALL_POLICY_RULE;
-        case 2:
-          return VPC_FIREWALL_RULE;
-        case 3:
-          return IMPLIED_VPC_FIREWALL_RULE;
-        case 4:
-          return SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE;
-        default:
-          return null;
+        case 0: return FIREWALL_RULE_TYPE_UNSPECIFIED;
+        case 1: return HIERARCHICAL_FIREWALL_POLICY_RULE;
+        case 2: return VPC_FIREWALL_RULE;
+        case 3: return IMPLIED_VPC_FIREWALL_RULE;
+        case 4: return SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE;
+        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<
+        FirewallRuleType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FirewallRuleType findValueByNumber(int number) {
+              return FirewallRuleType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public FirewallRuleType findValueByNumber(int number) {
-                return FirewallRuleType.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FirewallRuleType[] VALUES = values();
@@ -282,7 +236,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static FirewallRuleType 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;
@@ -300,19 +255,15 @@ private FirewallRuleType(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -321,30 +272,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -353,19 +304,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -374,30 +321,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -406,18 +353,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int DIRECTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object direction_ = ""; /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The direction. */ @java.lang.Override @@ -426,29 +369,29 @@ public java.lang.String getDirection() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; } } /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The bytes for direction. */ @java.lang.Override - public com.google.protobuf.ByteString getDirectionBytes() { + public com.google.protobuf.ByteString + getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); direction_ = b; return b; } else { @@ -457,18 +400,14 @@ public com.google.protobuf.ByteString getDirectionBytes() { } public static final int ACTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The action. */ @java.lang.Override @@ -477,29 +416,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -510,14 +449,11 @@ public com.google.protobuf.ByteString getActionBytes() { public static final int PRIORITY_FIELD_NUMBER = 5; private int priority_ = 0; /** - * - * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; - * * @return The priority. */ @java.lang.Override @@ -526,19 +462,15 @@ public int getPriority() { } public static final int NETWORK_URI_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The networkUri. */ @java.lang.Override @@ -547,30 +479,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -579,49 +511,40 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int TARGET_TAGS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetTags_; /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList getTargetTagsList() { + public com.google.protobuf.ProtocolStringList + getTargetTagsList() { return targetTags_; } /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -629,63 +552,52 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString + getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } public static final int TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetServiceAccounts_; /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList + getTargetServiceAccountsList() { return targetServiceAccounts_; } /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -693,35 +605,29 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString + getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } public static final int POLICY_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object policy_ = ""; /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The policy. */ @java.lang.Override @@ -730,30 +636,30 @@ public java.lang.String getPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; } } /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The bytes for policy. */ @java.lang.Override - public com.google.protobuf.ByteString getPolicyBytes() { + public com.google.protobuf.ByteString + getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policy_ = b; return b; } else { @@ -764,48 +670,30 @@ public com.google.protobuf.ByteString getPolicyBytes() { public static final int FIREWALL_RULE_TYPE_FIELD_NUMBER = 10; private int firewallRuleType_ = 0; /** - * - * *
    * The firewall rule's type.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override - public int getFirewallRuleTypeValue() { + @java.lang.Override public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** - * - * *
    * The firewall rule's type.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The firewallRuleType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType - getFirewallRuleType() { - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber( - firewallRuleType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType getFirewallRuleType() { + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -817,7 +705,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -840,16 +729,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 7, targetTags_.getRaw(i)); } for (int i = 0; i < targetServiceAccounts_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 8, targetServiceAccounts_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, targetServiceAccounts_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, policy_); } - if (firewallRuleType_ - != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType - .FIREWALL_RULE_TYPE_UNSPECIFIED - .getNumber()) { + if (firewallRuleType_ != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, firewallRuleType_); } getUnknownFields().writeTo(output); @@ -874,7 +759,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, priority_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, networkUri_); @@ -898,11 +784,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, policy_); } - if (firewallRuleType_ - != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType - .FIREWALL_RULE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, firewallRuleType_); + if (firewallRuleType_ != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, firewallRuleType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -912,23 +796,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.FirewallInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.FirewallInfo other = - (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDirection().equals(other.getDirection())) return false; - if (!getAction().equals(other.getAction())) return false; - if (getPriority() != other.getPriority()) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getTargetTagsList().equals(other.getTargetTagsList())) return false; - if (!getTargetServiceAccountsList().equals(other.getTargetServiceAccountsList())) return false; - if (!getPolicy().equals(other.getPolicy())) return false; + com.google.cloud.networkmanagement.v1beta1.FirewallInfo other = (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDirection() + .equals(other.getDirection())) return false; + if (!getAction() + .equals(other.getAction())) return false; + if (getPriority() + != other.getPriority()) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getTargetTagsList() + .equals(other.getTargetTagsList())) return false; + if (!getTargetServiceAccountsList() + .equals(other.getTargetServiceAccountsList())) return false; + if (!getPolicy() + .equals(other.getPolicy())) return false; if (firewallRuleType_ != other.firewallRuleType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -971,104 +863,96 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo 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.networkmanagement.v1beta1.FirewallInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.FirewallInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.FirewallInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a VPC firewall rule, an implied
    * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -1076,32 +960,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.FirewallInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.FirewallInfo)
       com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class,
-              com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.FirewallInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1122,9 +1007,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
@@ -1143,18 +1028,14 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.FirewallInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.FirewallInfo result =
-          new com.google.cloud.networkmanagement.v1beta1.FirewallInfo(this);
+      com.google.cloud.networkmanagement.v1beta1.FirewallInfo result = new com.google.cloud.networkmanagement.v1beta1.FirewallInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.networkmanagement.v1beta1.FirewallInfo result) {
+    private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.FirewallInfo result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         targetTags_ = targetTags_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -1199,39 +1080,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.FirewallIn
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.FirewallInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.FirewallInfo) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.FirewallInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1239,8 +1119,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.FirewallInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance()) return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -1323,75 +1202,64 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                uri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                direction_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                action_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                priority_ = input.readInt32();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                networkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTargetTagsIsMutable();
-                targetTags_.add(s);
-                break;
-              } // case 58
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTargetServiceAccountsIsMutable();
-                targetServiceAccounts_.add(s);
-                break;
-              } // case 66
-            case 74:
-              {
-                policy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 74
-            case 80:
-              {
-                firewallRuleType_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 80
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              uri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              direction_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              action_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              priority_ = input.readInt32();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              networkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTargetTagsIsMutable();
+              targetTags_.add(s);
+              break;
+            } // case 58
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTargetServiceAccountsIsMutable();
+              targetServiceAccounts_.add(s);
+              break;
+            } // case 66
+            case 74: {
+              policy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 74
+            case 80: {
+              firewallRuleType_ = 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) {
@@ -1401,26 +1269,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1429,22 +1294,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1452,37 +1316,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1492,22 +1349,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1517,21 +1370,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1540,22 +1391,21 @@ public java.lang.String getUri() { } } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1563,37 +1413,30 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1603,22 +1446,18 @@ public Builder clearUri() { return this; } /** - * - * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1628,20 +1467,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object direction_ = ""; /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @return The direction. */ public java.lang.String getDirection() { java.lang.Object ref = direction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; @@ -1650,21 +1487,20 @@ public java.lang.String getDirection() { } } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @return The bytes for direction. */ - public com.google.protobuf.ByteString getDirectionBytes() { + public com.google.protobuf.ByteString + getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); direction_ = b; return b; } else { @@ -1672,35 +1508,28 @@ public com.google.protobuf.ByteString getDirectionBytes() { } } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @param value The direction to set. * @return This builder for chaining. */ - public Builder setDirection(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDirection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } direction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @return This builder for chaining. */ public Builder clearDirection() { @@ -1710,21 +1539,17 @@ public Builder clearDirection() { return this; } /** - * - * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; - * * @param value The bytes for direction to set. * @return This builder for chaining. */ - public Builder setDirectionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDirectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); direction_ = value; bitField0_ |= 0x00000004; @@ -1734,20 +1559,18 @@ public Builder setDirectionBytes(com.google.protobuf.ByteString value) { private java.lang.Object action_ = ""; /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -1756,21 +1579,20 @@ public java.lang.String getAction() { } } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @return The bytes for action. */ - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -1778,35 +1600,28 @@ public com.google.protobuf.ByteString getActionBytes() { } } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -1816,21 +1631,17 @@ public Builder clearAction() { return this; } /** - * - * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; - * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; @@ -1838,16 +1649,13 @@ public Builder setActionBytes(com.google.protobuf.ByteString value) { return this; } - private int priority_; + private int priority_ ; /** - * - * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; - * * @return The priority. */ @java.lang.Override @@ -1855,33 +1663,27 @@ public int getPriority() { return priority_; } /** - * - * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; - * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -1893,21 +1695,19 @@ public Builder clearPriority() { private java.lang.Object networkUri_ = ""; /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1916,22 +1716,21 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1939,37 +1738,30 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1979,22 +1771,18 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000020; @@ -2002,55 +1790,45 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList targetTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList targetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { targetTags_ = new com.google.protobuf.LazyStringArrayList(targetTags_); bitField0_ |= 0x00000040; - } + } } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList getTargetTagsList() { + public com.google.protobuf.ProtocolStringList + getTargetTagsList() { return targetTags_.getUnmodifiableView(); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -2058,95 +1836,81 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString + getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param index The index to set the value at. * @param value The targetTags to set. * @return This builder for chaining. */ - public Builder setTargetTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetTagsIsMutable(); targetTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param value The targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetTagsIsMutable(); targetTags_.add(value); onChanged(); return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param values The targetTags to add. * @return This builder for chaining. */ - public Builder addAllTargetTags(java.lang.Iterable values) { + public Builder addAllTargetTags( + java.lang.Iterable values) { ensureTargetTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetTags_); onChanged(); return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @return This builder for chaining. */ public Builder clearTargetTags() { @@ -2156,22 +1920,18 @@ public Builder clearTargetTags() { return this; } /** - * - * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; - * * @param value The bytes of the targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTargetTagsIsMutable(); targetTags_.add(value); @@ -2179,53 +1939,42 @@ public Builder addTargetTagsBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList targetServiceAccounts_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetServiceAccountsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - targetServiceAccounts_ = - new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); + targetServiceAccounts_ = new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); bitField0_ |= 0x00000080; - } + } } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList + getTargetServiceAccountsList() { return targetServiceAccounts_.getUnmodifiableView(); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -2233,90 +1982,76 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString + getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param index The index to set the value at. * @param value The targetServiceAccounts to set. * @return This builder for chaining. */ - public Builder setTargetServiceAccounts(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetServiceAccounts( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.set(index, value); onChanged(); return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param value The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccounts(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetServiceAccounts( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); onChanged(); return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param values The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addAllTargetServiceAccounts(java.lang.Iterable values) { + public Builder addAllTargetServiceAccounts( + java.lang.Iterable values) { ensureTargetServiceAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetServiceAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetServiceAccounts_); onChanged(); return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @return This builder for chaining. */ public Builder clearTargetServiceAccounts() { @@ -2326,21 +2061,17 @@ public Builder clearTargetServiceAccounts() { return this; } /** - * - * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; - * * @param value The bytes of the targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccountsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTargetServiceAccountsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); @@ -2350,21 +2081,19 @@ public Builder addTargetServiceAccountsBytes(com.google.protobuf.ByteString valu private java.lang.Object policy_ = ""; /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @return The policy. */ public java.lang.String getPolicy() { java.lang.Object ref = policy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; @@ -2373,22 +2102,21 @@ public java.lang.String getPolicy() { } } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @return The bytes for policy. */ - public com.google.protobuf.ByteString getPolicyBytes() { + public com.google.protobuf.ByteString + getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policy_ = b; return b; } else { @@ -2396,37 +2124,30 @@ public com.google.protobuf.ByteString getPolicyBytes() { } } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @param value The policy to set. * @return This builder for chaining. */ - public Builder setPolicy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } policy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @return This builder for chaining. */ public Builder clearPolicy() { @@ -2436,22 +2157,18 @@ public Builder clearPolicy() { return this; } /** - * - * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; - * * @param value The bytes for policy to set. * @return This builder for chaining. */ - public Builder setPolicyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); policy_ = value; bitField0_ |= 0x00000100; @@ -2461,33 +2178,22 @@ public Builder setPolicyBytes(com.google.protobuf.ByteString value) { private int firewallRuleType_ = 0; /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override - public int getFirewallRuleTypeValue() { + @java.lang.Override public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @param value The enum numeric value on the wire for firewallRuleType to set. * @return This builder for chaining. */ @@ -2498,44 +2204,28 @@ public Builder setFirewallRuleTypeValue(int value) { return this; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The firewallRuleType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType - getFirewallRuleType() { - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber( - firewallRuleType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType getFirewallRuleType() { + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @param value The firewallRuleType to set. * @return This builder for chaining. */ - public Builder setFirewallRuleType( - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType value) { + public Builder setFirewallRuleType(com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType value) { if (value == null) { throw new NullPointerException(); } @@ -2545,16 +2235,11 @@ public Builder setFirewallRuleType( return this; } /** - * - * *
      * The firewall rule's type.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return This builder for chaining. */ public Builder clearFirewallRuleType() { @@ -2563,9 +2248,9 @@ public Builder clearFirewallRuleType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2575,12 +2260,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.FirewallInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.FirewallInfo) private static final com.google.cloud.networkmanagement.v1beta1.FirewallInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.FirewallInfo(); } @@ -2589,27 +2274,27 @@ public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirewallInfo 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 FirewallInfo 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; @@ -2624,4 +2309,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java similarity index 76% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java index 934c59157101..95b88d9315db 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java @@ -1,330 +1,251 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface FirewallInfoOrBuilder - extends +public interface FirewallInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.FirewallInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The direction. */ java.lang.String getDirection(); /** - * - * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; - * * @return The bytes for direction. */ - com.google.protobuf.ByteString getDirectionBytes(); + com.google.protobuf.ByteString + getDirectionBytes(); /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The action. */ java.lang.String getAction(); /** - * - * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; - * * @return The bytes for action. */ - com.google.protobuf.ByteString getActionBytes(); + com.google.protobuf.ByteString + getActionBytes(); /** - * - * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; - * * @return The priority. */ int getPriority(); /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return A list containing the targetTags. */ - java.util.List getTargetTagsList(); + java.util.List + getTargetTagsList(); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @return The count of targetTags. */ int getTargetTagsCount(); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the element to return. * @return The targetTags at the given index. */ java.lang.String getTargetTags(int index); /** - * - * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - com.google.protobuf.ByteString getTargetTagsBytes(int index); + com.google.protobuf.ByteString + getTargetTagsBytes(int index); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return A list containing the targetServiceAccounts. */ - java.util.List getTargetServiceAccountsList(); + java.util.List + getTargetServiceAccountsList(); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @return The count of targetServiceAccounts. */ int getTargetServiceAccountsCount(); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ java.lang.String getTargetServiceAccounts(int index); /** - * - * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; - * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index); + com.google.protobuf.ByteString + getTargetServiceAccountsBytes(int index); /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The policy. */ java.lang.String getPolicy(); /** - * - * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; - * * @return The bytes for policy. */ - com.google.protobuf.ByteString getPolicyBytes(); + com.google.protobuf.ByteString + getPolicyBytes(); /** - * - * *
    * The firewall rule's type.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The enum numeric value on the wire for firewallRuleType. */ int getFirewallRuleTypeValue(); /** - * - * *
    * The firewall rule's type.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; - * - * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; * @return The firewallRuleType. */ com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType getFirewallRuleType(); diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java index f73db8c6ef9c..c5efc0f2b471 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Details of the final state "forward" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardInfo} */ -public final class ForwardInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ForwardInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ForwardInfo) ForwardInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ForwardInfo.newBuilder() to construct. private ForwardInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ForwardInfo() { target_ = 0; resourceUri_ = ""; @@ -44,43 +26,39 @@ private ForwardInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ForwardInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); } /** - * - * *
    * Forward target types.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ForwardInfo.Target} */ - public enum Target implements com.google.protobuf.ProtocolMessageEnum { + public enum Target + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Target not specified.
      * 
@@ -89,8 +67,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ TARGET_UNSPECIFIED(0), /** - * - * *
      * Forwarded to a VPC peering network.
      * 
@@ -99,8 +75,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ PEERING_VPC(1), /** - * - * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -109,8 +83,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ VPN_GATEWAY(2), /** - * - * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -119,8 +91,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ INTERCONNECT(3), /** - * - * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -129,8 +99,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ GKE_MASTER(4), /** - * - * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -139,8 +107,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ IMPORTED_CUSTOM_ROUTE_NEXT_HOP(5), /** - * - * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -152,8 +118,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Target not specified.
      * 
@@ -162,8 +126,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Forwarded to a VPC peering network.
      * 
@@ -172,8 +134,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_VPC_VALUE = 1; /** - * - * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -182,8 +142,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VPN_GATEWAY_VALUE = 2; /** - * - * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -192,8 +150,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERCONNECT_VALUE = 3; /** - * - * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -202,8 +158,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GKE_MASTER_VALUE = 4; /** - * - * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -212,8 +166,6 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE = 5; /** - * - * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -222,6 +174,7 @@ public enum Target implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_SQL_INSTANCE_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -246,59 +199,53 @@ public static Target valueOf(int value) { */ public static Target forNumber(int value) { switch (value) { - case 0: - return TARGET_UNSPECIFIED; - case 1: - return PEERING_VPC; - case 2: - return VPN_GATEWAY; - case 3: - return INTERCONNECT; - case 4: - return GKE_MASTER; - case 5: - return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; - case 6: - return CLOUD_SQL_INSTANCE; - default: - return null; + case 0: return TARGET_UNSPECIFIED; + case 1: return PEERING_VPC; + case 2: return VPN_GATEWAY; + case 3: return INTERCONNECT; + case 4: return GKE_MASTER; + case 5: return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; + case 6: return CLOUD_SQL_INSTANCE; + 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< + Target> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Target findValueByNumber(int number) { + return Target.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Target findValueByNumber(int number) { - return Target.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDescriptor().getEnumTypes().get(0); } private static final Target[] VALUES = values(); - public static Target valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Target valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -318,53 +265,38 @@ private Target(int value) { public static final int TARGET_FIELD_NUMBER = 1; private int target_ = 0; /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return The target. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ @java.lang.Override @@ -373,29 +305,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -404,7 +336,6 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,10 +347,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (target_ - != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (target_ != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -434,10 +364,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ - != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); + if (target_ != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -450,16 +379,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.networkmanagement.v1beta1.ForwardInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ForwardInfo other = - (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) obj; + com.google.cloud.networkmanagement.v1beta1.ForwardInfo other = (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getResourceUri() + .equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -481,136 +410,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo 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.networkmanagement.v1beta1.ForwardInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ForwardInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ForwardInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the final state "forward" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ForwardInfo) com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ForwardInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +543,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; } @java.lang.Override @@ -642,11 +564,8 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ForwardInfo result = - new com.google.cloud.networkmanagement.v1beta1.ForwardInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.ForwardInfo result = new com.google.cloud.networkmanagement.v1beta1.ForwardInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -665,39 +584,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ForwardInf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ForwardInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardInfo)other); } else { super.mergeFrom(other); return this; @@ -705,8 +623,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ForwardInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -741,25 +658,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resourceUri_ = 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) { @@ -769,34 +683,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int target_ = 0; /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ - @java.lang.Override - public int getTargetValue() { + @java.lang.Override public int getTargetValue() { return target_; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -807,33 +713,24 @@ public Builder setTargetValue(int value) { return this; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED : result; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @param value The target to set. * @return This builder for chaining. */ @@ -847,14 +744,11 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1beta1.ForwardInfo. return this; } /** - * - * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -866,20 +760,18 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -888,21 +780,20 @@ public java.lang.String getResourceUri() { } } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString getResourceUriBytes() { + public com.google.protobuf.ByteString + getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -910,35 +801,28 @@ public com.google.protobuf.ByteString getResourceUriBytes() { } } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -948,30 +832,26 @@ public Builder clearResourceUri() { return this; } /** - * - * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; - * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -981,12 +861,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ForwardInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ForwardInfo) private static final com.google.cloud.networkmanagement.v1beta1.ForwardInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ForwardInfo(); } @@ -995,27 +875,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardInfo 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 ForwardInfo 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; @@ -1030,4 +910,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java similarity index 62% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java index 5675787e36b0..9344928c5e71 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ForwardInfoOrBuilder - extends +public interface ForwardInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ForwardInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** - * - * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; - * * @return The target. */ com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget(); /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The resourceUri. */ java.lang.String getResourceUri(); /** - * - * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; - * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString getResourceUriBytes(); + com.google.protobuf.ByteString + getResourceUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java index f453aee32ee7..f4954916d03a 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine forwarding rule.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo} */ -public final class ForwardingRuleInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ForwardingRuleInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) ForwardingRuleInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ForwardingRuleInfo.newBuilder() to construct. private ForwardingRuleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ForwardingRuleInfo() { displayName_ = ""; uri_ = ""; @@ -49,43 +31,38 @@ private ForwardingRuleInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ForwardingRuleInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -94,29 +71,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -125,18 +102,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -145,29 +118,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -176,18 +149,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int MATCHED_PROTOCOL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object matchedProtocol_ = ""; /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The matchedProtocol. */ @java.lang.Override @@ -196,29 +165,29 @@ public java.lang.String getMatchedProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; } } /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The bytes for matchedProtocol. */ @java.lang.Override - public com.google.protobuf.ByteString getMatchedProtocolBytes() { + public com.google.protobuf.ByteString + getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -227,18 +196,14 @@ public com.google.protobuf.ByteString getMatchedProtocolBytes() { } public static final int MATCHED_PORT_RANGE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object matchedPortRange_ = ""; /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The matchedPortRange. */ @java.lang.Override @@ -247,29 +212,29 @@ public java.lang.String getMatchedPortRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; } } /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The bytes for matchedPortRange. */ @java.lang.Override - public com.google.protobuf.ByteString getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString + getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -278,18 +243,14 @@ public com.google.protobuf.ByteString getMatchedPortRangeBytes() { } public static final int VIP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object vip_ = ""; /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The vip. */ @java.lang.Override @@ -298,29 +259,29 @@ public java.lang.String getVip() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; } } /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The bytes for vip. */ @java.lang.Override - public com.google.protobuf.ByteString getVipBytes() { + public com.google.protobuf.ByteString + getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vip_ = b; return b; } else { @@ -329,18 +290,14 @@ public com.google.protobuf.ByteString getVipBytes() { } public static final int TARGET_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @return The target. */ @java.lang.Override @@ -349,29 +306,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; } } /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @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 { @@ -380,18 +337,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ @java.lang.Override @@ -400,29 +353,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -431,7 +384,6 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,7 +395,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -503,21 +456,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.networkmanagement.v1beta1.ForwardingRuleInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo other = - (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getMatchedProtocol().equals(other.getMatchedProtocol())) return false; - if (!getMatchedPortRange().equals(other.getMatchedPortRange())) return false; - if (!getVip().equals(other.getVip())) return false; - if (!getTarget().equals(other.getTarget())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo other = (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getMatchedProtocol() + .equals(other.getMatchedProtocol())) return false; + if (!getMatchedPortRange() + .equals(other.getMatchedPortRange())) return false; + if (!getVip() + .equals(other.getVip())) return false; + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -549,136 +508,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo 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.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine forwarding rule.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -694,14 +646,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); } @@ -716,17 +667,13 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result = - new com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result = new com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -755,39 +702,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo)other); } else { super.mergeFrom(other); return this; @@ -795,9 +741,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -859,55 +803,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - matchedProtocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - vip_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: - { - matchedPortRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + matchedProtocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + vip_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: { + matchedPortRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + networkUri_ = 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) { @@ -917,25 +853,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -944,21 +877,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -966,35 +898,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1004,21 +929,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1028,20 +949,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1050,21 +969,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1072,35 +990,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1110,21 +1021,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1134,20 +1041,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object matchedProtocol_ = ""; /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @return The matchedProtocol. */ public java.lang.String getMatchedProtocol() { java.lang.Object ref = matchedProtocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; @@ -1156,21 +1061,20 @@ public java.lang.String getMatchedProtocol() { } } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @return The bytes for matchedProtocol. */ - public com.google.protobuf.ByteString getMatchedProtocolBytes() { + public com.google.protobuf.ByteString + getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -1178,35 +1082,28 @@ public com.google.protobuf.ByteString getMatchedProtocolBytes() { } } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @param value The matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedProtocol( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } matchedProtocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @return This builder for chaining. */ public Builder clearMatchedProtocol() { @@ -1216,21 +1113,17 @@ public Builder clearMatchedProtocol() { return this; } /** - * - * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; - * * @param value The bytes for matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedProtocolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); matchedProtocol_ = value; bitField0_ |= 0x00000004; @@ -1240,20 +1133,18 @@ public Builder setMatchedProtocolBytes(com.google.protobuf.ByteString value) { private java.lang.Object matchedPortRange_ = ""; /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @return The matchedPortRange. */ public java.lang.String getMatchedPortRange() { java.lang.Object ref = matchedPortRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; @@ -1262,21 +1153,20 @@ public java.lang.String getMatchedPortRange() { } } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @return The bytes for matchedPortRange. */ - public com.google.protobuf.ByteString getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString + getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -1284,35 +1174,28 @@ public com.google.protobuf.ByteString getMatchedPortRangeBytes() { } } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @param value The matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedPortRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } matchedPortRange_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @return This builder for chaining. */ public Builder clearMatchedPortRange() { @@ -1322,21 +1205,17 @@ public Builder clearMatchedPortRange() { return this; } /** - * - * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; - * * @param value The bytes for matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedPortRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); matchedPortRange_ = value; bitField0_ |= 0x00000008; @@ -1346,20 +1225,18 @@ public Builder setMatchedPortRangeBytes(com.google.protobuf.ByteString value) { private java.lang.Object vip_ = ""; /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @return The vip. */ public java.lang.String getVip() { java.lang.Object ref = vip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; @@ -1368,21 +1245,20 @@ public java.lang.String getVip() { } } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @return The bytes for vip. */ - public com.google.protobuf.ByteString getVipBytes() { + public com.google.protobuf.ByteString + getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vip_ = b; return b; } else { @@ -1390,35 +1266,28 @@ public com.google.protobuf.ByteString getVipBytes() { } } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @param value The vip to set. * @return This builder for chaining. */ - public Builder setVip(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVip( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vip_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @return This builder for chaining. */ public Builder clearVip() { @@ -1428,21 +1297,17 @@ public Builder clearVip() { return this; } /** - * - * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; - * * @param value The bytes for vip to set. * @return This builder for chaining. */ - public Builder setVipBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVipBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vip_ = value; bitField0_ |= 0x00000010; @@ -1452,20 +1317,18 @@ public Builder setVipBytes(com.google.protobuf.ByteString value) { private java.lang.Object target_ = ""; /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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; @@ -1474,21 +1337,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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 { @@ -1496,35 +1358,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1534,21 +1389,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; - * * @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_ |= 0x00000020; @@ -1558,20 +1409,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1580,21 +1429,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1602,35 +1450,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1640,30 +1481,26 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = 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); } @@ -1673,13 +1510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) - private static final com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo(); } @@ -1688,27 +1524,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardingRuleInfo 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 ForwardingRuleInfo 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; @@ -1723,4 +1559,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java index e4614809e315..d0b61193f6e8 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java @@ -1,200 +1,149 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ForwardingRuleInfoOrBuilder - extends +public interface ForwardingRuleInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The matchedProtocol. */ java.lang.String getMatchedProtocol(); /** - * - * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; - * * @return The bytes for matchedProtocol. */ - com.google.protobuf.ByteString getMatchedProtocolBytes(); + com.google.protobuf.ByteString + getMatchedProtocolBytes(); /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The matchedPortRange. */ java.lang.String getMatchedPortRange(); /** - * - * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; - * * @return The bytes for matchedPortRange. */ - com.google.protobuf.ByteString getMatchedPortRangeBytes(); + com.google.protobuf.ByteString + getMatchedPortRangeBytes(); /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The vip. */ java.lang.String getVip(); /** - * - * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; - * * @return The bytes for vip. */ - com.google.protobuf.ByteString getVipBytes(); + com.google.protobuf.ByteString + getVipBytes(); /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java index 609804a58b21..f39e97a841e3 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
  * cluster master.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GKEMasterInfo}
  */
-public final class GKEMasterInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GKEMasterInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.GKEMasterInfo)
     GKEMasterInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GKEMasterInfo.newBuilder() to construct.
   private GKEMasterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GKEMasterInfo() {
     clusterUri_ = "";
     clusterNetworkUri_ = "";
@@ -47,43 +29,38 @@ private GKEMasterInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GKEMasterInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class,
-            com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
   }
 
   public static final int CLUSTER_URI_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object clusterUri_ = "";
   /**
-   *
-   *
    * 
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The clusterUri. */ @java.lang.Override @@ -92,29 +69,29 @@ public java.lang.String getClusterUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; } } /** - * - * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The bytes for clusterUri. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterUriBytes() { + public com.google.protobuf.ByteString + getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -123,18 +100,14 @@ public com.google.protobuf.ByteString getClusterUriBytes() { } public static final int CLUSTER_NETWORK_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object clusterNetworkUri_ = ""; /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The clusterNetworkUri. */ @java.lang.Override @@ -143,29 +116,29 @@ public java.lang.String getClusterNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; } } /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The bytes for clusterNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString + getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -174,18 +147,14 @@ public com.google.protobuf.ByteString getClusterNetworkUriBytes() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ @java.lang.Override @@ -194,29 +163,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -225,18 +194,14 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ @java.lang.Override @@ -245,29 +210,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -276,7 +241,6 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterUri_); } @@ -330,18 +295,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo other = - (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) obj; - - if (!getClusterUri().equals(other.getClusterUri())) return false; - if (!getClusterNetworkUri().equals(other.getClusterNetworkUri())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo other = (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) obj; + + if (!getClusterUri() + .equals(other.getClusterUri())) return false; + if (!getClusterNetworkUri() + .equals(other.getClusterNetworkUri())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -367,104 +335,96 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo 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.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
    * cluster master.
@@ -472,32 +432,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GKEMasterInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.GKEMasterInfo)
       com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class,
-              com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -510,9 +471,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
@@ -531,11 +492,8 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo result =
-          new com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo result = new com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -560,39 +518,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.GKEMasterI
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -600,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance()) return this;
       if (!other.getClusterUri().isEmpty()) {
         clusterUri_ = other.clusterUri_;
         bitField0_ |= 0x00000001;
@@ -648,37 +604,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                clusterUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            case 34:
-              {
-                clusterNetworkUri_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-            case 42:
-              {
-                internalIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            case 50:
-              {
-                externalIp_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              clusterUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            case 34: {
+              clusterNetworkUri_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 34
+            case 42: {
+              internalIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 42
+            case 50: {
+              externalIp_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              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) {
@@ -688,25 +639,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object clusterUri_ = "";
     /**
-     *
-     *
      * 
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @return The clusterUri. */ public java.lang.String getClusterUri() { java.lang.Object ref = clusterUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; @@ -715,21 +663,20 @@ public java.lang.String getClusterUri() { } } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @return The bytes for clusterUri. */ - public com.google.protobuf.ByteString getClusterUriBytes() { + public com.google.protobuf.ByteString + getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -737,35 +684,28 @@ public com.google.protobuf.ByteString getClusterUriBytes() { } } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @param value The clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @return This builder for chaining. */ public Builder clearClusterUri() { @@ -775,21 +715,17 @@ public Builder clearClusterUri() { return this; } /** - * - * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; - * * @param value The bytes for clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterUri_ = value; bitField0_ |= 0x00000001; @@ -799,20 +735,18 @@ public Builder setClusterUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterNetworkUri_ = ""; /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @return The clusterNetworkUri. */ public java.lang.String getClusterNetworkUri() { java.lang.Object ref = clusterNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; @@ -821,21 +755,20 @@ public java.lang.String getClusterNetworkUri() { } } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @return The bytes for clusterNetworkUri. */ - public com.google.protobuf.ByteString getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString + getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -843,35 +776,28 @@ public com.google.protobuf.ByteString getClusterNetworkUriBytes() { } } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @param value The clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterNetworkUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @return This builder for chaining. */ public Builder clearClusterNetworkUri() { @@ -881,21 +807,17 @@ public Builder clearClusterNetworkUri() { return this; } /** - * - * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; - * * @param value The bytes for clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterNetworkUri_ = value; bitField0_ |= 0x00000002; @@ -905,20 +827,18 @@ public Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -927,21 +847,20 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -949,35 +868,28 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } internalIp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -987,21 +899,17 @@ public Builder clearInternalIp() { return this; } /** - * - * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000004; @@ -1011,20 +919,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1033,21 +939,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1055,35 +960,28 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } externalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1093,30 +991,26 @@ public Builder clearExternalIp() { return this; } /** - * - * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalIp_ = 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); } @@ -1126,12 +1020,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.GKEMasterInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.GKEMasterInfo) private static final com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo(); } @@ -1140,27 +1034,27 @@ public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GKEMasterInfo 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 GKEMasterInfo 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; @@ -1175,4 +1069,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java similarity index 63% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java index 312f3b88e860..1ba9edb33f6a 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java @@ -1,125 +1,89 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface GKEMasterInfoOrBuilder - extends +public interface GKEMasterInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.GKEMasterInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The clusterUri. */ java.lang.String getClusterUri(); /** - * - * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; - * * @return The bytes for clusterUri. */ - com.google.protobuf.ByteString getClusterUriBytes(); + com.google.protobuf.ByteString + getClusterUriBytes(); /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The clusterNetworkUri. */ java.lang.String getClusterNetworkUri(); /** - * - * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; - * * @return The bytes for clusterNetworkUri. */ - com.google.protobuf.ByteString getClusterNetworkUriBytes(); + com.google.protobuf.ByteString + getClusterNetworkUriBytes(); /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java similarity index 63% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java index 174b042eb845..843ef96de86f 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Request for the `GetConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest} */ -public final class GetConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) GetConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectivityTestRequest.newBuilder() to construct. private GetConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +134,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.networkmanagement.v1beta1.GetConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,138 +162,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `GetConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,16 +294,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override @@ -349,17 +315,13 @@ public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest bui @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -370,51 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +403,17 @@ 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) { @@ -468,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -496,22 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -519,37 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -559,31 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectivityTestRequest 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 GetConnectivityTestRequest 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; @@ -641,8 +579,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java similarity index 56% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java index 18083dbbf7ee..a5638c9d5706 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface GetConnectivityTestRequestOrBuilder - extends +public interface GetConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java index 445009b4095d..d707ea30b511 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.InstanceInfo} */ -public final class InstanceInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InstanceInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.InstanceInfo) InstanceInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InstanceInfo.newBuilder() to construct. private InstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstanceInfo() { displayName_ = ""; uri_ = ""; @@ -50,43 +32,38 @@ private InstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -95,29 +72,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -126,18 +103,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -146,29 +119,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -177,18 +150,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int INTERFACE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object interface_ = ""; /** - * - * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @return The interface. */ @java.lang.Override @@ -197,29 +166,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 network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @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 { @@ -228,18 +197,14 @@ public com.google.protobuf.ByteString getInterfaceBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ @java.lang.Override @@ -248,29 +213,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -279,18 +244,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ @java.lang.Override @@ -299,29 +260,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -330,18 +291,14 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ @java.lang.Override @@ -350,29 +307,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -381,46 +338,37 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } public static final int NETWORK_TAGS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList networkTags_; /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -428,71 +376,63 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -501,7 +441,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,7 +452,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -584,22 +524,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.networkmanagement.v1beta1.InstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.InstanceInfo other = - (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getInterface().equals(other.getInterface())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + com.google.cloud.networkmanagement.v1beta1.InstanceInfo other = (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getInterface() + .equals(other.getInterface())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -635,136 +582,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo 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.networkmanagement.v1beta1.InstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.InstanceInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.InstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.InstanceInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.InstanceInfo) com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.InstanceInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -782,9 +722,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; } @java.lang.Override @@ -803,18 +743,14 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.InstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.InstanceInfo result = - new com.google.cloud.networkmanagement.v1beta1.InstanceInfo(this); + com.google.cloud.networkmanagement.v1beta1.InstanceInfo result = new com.google.cloud.networkmanagement.v1beta1.InstanceInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.InstanceInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.InstanceInfo result) { if (((bitField0_ & 0x00000040) != 0)) { networkTags_ = networkTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); @@ -851,39 +787,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.InstanceIn public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.InstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.InstanceInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.InstanceInfo)other); } else { super.mergeFrom(other); return this; @@ -891,8 +826,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.InstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -964,62 +898,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - interface_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 58 - case 66: - { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + interface_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 58 + case 66: { + serviceAccount_ = input.readStringRequireUtf8(); + 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) { @@ -1029,25 +954,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1056,21 +978,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1078,35 +999,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1116,21 +1030,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1140,20 +1050,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1162,21 +1070,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1184,35 +1091,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1222,21 +1122,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1246,20 +1142,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object interface_ = ""; /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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; @@ -1268,21 +1162,20 @@ public java.lang.String getInterface() { } } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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 { @@ -1290,35 +1183,28 @@ public com.google.protobuf.ByteString getInterfaceBytes() { } } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @return This builder for chaining. */ public Builder clearInterface() { @@ -1328,21 +1214,17 @@ public Builder clearInterface() { return this; } /** - * - * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; - * * @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_ |= 0x00000004; @@ -1352,20 +1234,18 @@ public Builder setInterfaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1374,21 +1254,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1396,35 +1275,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1434,21 +1306,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000008; @@ -1458,20 +1326,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1480,21 +1346,20 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1502,35 +1367,28 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } internalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1540,21 +1398,17 @@ public Builder clearInternalIp() { return this; } /** - * - * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000010; @@ -1564,20 +1418,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1586,21 +1438,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1608,35 +1459,28 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } externalIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1646,21 +1490,17 @@ public Builder clearExternalIp() { return this; } /** - * - * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000020; @@ -1668,52 +1508,42 @@ public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList networkTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000040; - } + } } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -1721,90 +1551,76 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); onChanged(); return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -1814,21 +1630,17 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -1838,23 +1650,20 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is - * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The serviceAccount. */ - @java.lang.Deprecated - public java.lang.String getServiceAccount() { + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1863,24 +1672,22 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is - * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getServiceAccountBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1888,77 +1695,63 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is - * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setServiceAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is - * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearServiceAccount() { + @java.lang.Deprecated public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** - * - * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is - * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. + * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1968,12 +1761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.InstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.InstanceInfo) private static final com.google.cloud.networkmanagement.v1beta1.InstanceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.InstanceInfo(); } @@ -1982,27 +1775,27 @@ public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceInfo 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 InstanceInfo 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; @@ -2017,4 +1810,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java similarity index 73% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java index a55057de899e..8177e8db4bea 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java @@ -1,257 +1,194 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface InstanceInfoOrBuilder - extends +public interface InstanceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.InstanceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @return The interface. */ java.lang.String getInterface(); /** - * - * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; - * * @return The bytes for interface. */ - com.google.protobuf.ByteString getInterfaceBytes(); + com.google.protobuf.ByteString + getInterfaceBytes(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The serviceAccount. */ - @java.lang.Deprecated - java.lang.String getServiceAccount(); + @java.lang.Deprecated java.lang.String getServiceAccount(); /** - * - * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getServiceAccountBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getServiceAccountBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java similarity index 60% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java index e7f493e8827d..5cf050f8c740 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java @@ -1,160 +1,115 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Describes measured latency distribution.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyDistribution} */ -public final class LatencyDistribution extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LatencyDistribution extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LatencyDistribution) LatencyDistributionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LatencyDistribution.newBuilder() to construct. private LatencyDistribution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LatencyDistribution() { latencyPercentiles_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LatencyDistribution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); } public static final int LATENCY_PERCENTILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - latencyPercentiles_; + private java.util.List latencyPercentiles_; /** - * - * *
    * Representative latency percentiles.
    * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ @java.lang.Override - public java.util.List - getLatencyPercentilesList() { + public java.util.List getLatencyPercentilesList() { return latencyPercentiles_; } /** - * - * *
    * Representative latency percentiles.
    * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> + public java.util.List getLatencyPercentilesOrBuilderList() { return latencyPercentiles_; } /** - * - * *
    * Representative latency percentiles.
    * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ @java.lang.Override public int getLatencyPercentilesCount() { return latencyPercentiles_.size(); } /** - * - * *
    * Representative latency percentiles.
    * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index) { return latencyPercentiles_.get(index); } /** - * - * *
    * Representative latency percentiles.
    * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder - getLatencyPercentilesOrBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder( + int index) { return latencyPercentiles_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < latencyPercentiles_.size(); i++) { output.writeMessage(1, latencyPercentiles_.get(i)); } @@ -180,8 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < latencyPercentiles_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, latencyPercentiles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, latencyPercentiles_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,15 +147,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.networkmanagement.v1beta1.LatencyDistribution)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution other = - (com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) obj; + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution other = (com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) obj; - if (!getLatencyPercentilesList().equals(other.getLatencyPercentilesList())) return false; + if (!getLatencyPercentilesList() + .equals(other.getLatencyPercentilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -221,136 +177,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution 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.networkmanagement.v1beta1.LatencyDistribution parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes measured latency distribution.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyDistribution} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LatencyDistribution) com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -366,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance(); } @@ -388,18 +336,14 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result = - new com.google.cloud.networkmanagement.v1beta1.LatencyDistribution(this); + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result = new com.google.cloud.networkmanagement.v1beta1.LatencyDistribution(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { if (latencyPercentilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { latencyPercentiles_ = java.util.Collections.unmodifiableList(latencyPercentiles_); @@ -411,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { int from_bitField0_ = bitField0_; } @@ -420,39 +363,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyDistribution)other); } else { super.mergeFrom(other); return this; @@ -460,9 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()) return this; if (latencyPercentilesBuilder_ == null) { if (!other.latencyPercentiles_.isEmpty()) { if (latencyPercentiles_.isEmpty()) { @@ -481,10 +421,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LatencyDistr latencyPercentilesBuilder_ = null; latencyPercentiles_ = other.latencyPercentiles_; bitField0_ = (bitField0_ & ~0x00000001); - latencyPercentilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLatencyPercentilesFieldBuilder() - : null; + latencyPercentilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLatencyPercentilesFieldBuilder() : null; } else { latencyPercentilesBuilder_.addAllMessages(other.latencyPercentiles_); } @@ -516,27 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.parser(), - extensionRegistry); - if (latencyPercentilesBuilder_ == null) { - ensureLatencyPercentilesIsMutable(); - latencyPercentiles_.add(m); - } else { - latencyPercentilesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.parser(), + extensionRegistry); + if (latencyPercentilesBuilder_ == null) { + ensureLatencyPercentilesIsMutable(); + latencyPercentiles_.add(m); + } else { + latencyPercentilesBuilder_.addMessage(m); + } + 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) { @@ -546,40 +483,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - latencyPercentiles_ = java.util.Collections.emptyList(); - + private java.util.List latencyPercentiles_ = + java.util.Collections.emptyList(); private void ensureLatencyPercentilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - latencyPercentiles_ = - new java.util.ArrayList( - latencyPercentiles_); + latencyPercentiles_ = new java.util.ArrayList(latencyPercentiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> - latencyPercentilesBuilder_; + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> latencyPercentilesBuilder_; /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public java.util.List - getLatencyPercentilesList() { + public java.util.List getLatencyPercentilesList() { if (latencyPercentilesBuilder_ == null) { return java.util.Collections.unmodifiableList(latencyPercentiles_); } else { @@ -587,15 +512,11 @@ private void ensureLatencyPercentilesIsMutable() { } } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public int getLatencyPercentilesCount() { if (latencyPercentilesBuilder_ == null) { @@ -605,18 +526,13 @@ public int getLatencyPercentilesCount() { } } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index) { if (latencyPercentilesBuilder_ == null) { return latencyPercentiles_.get(index); } else { @@ -624,15 +540,11 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPe } } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder setLatencyPercentiles( int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { @@ -649,19 +561,14 @@ public Builder setLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder setLatencyPercentiles( - int index, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { if (latencyPercentilesBuilder_ == null) { ensureLatencyPercentilesIsMutable(); latencyPercentiles_.set(index, builderForValue.build()); @@ -672,18 +579,13 @@ public Builder setLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public Builder addLatencyPercentiles( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { + public Builder addLatencyPercentiles(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { if (latencyPercentilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -697,15 +599,11 @@ public Builder addLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder addLatencyPercentiles( int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { @@ -722,15 +620,11 @@ public Builder addLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder addLatencyPercentiles( com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { @@ -744,19 +638,14 @@ public Builder addLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder addLatencyPercentiles( - int index, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { if (latencyPercentilesBuilder_ == null) { ensureLatencyPercentilesIsMutable(); latencyPercentiles_.add(index, builderForValue.build()); @@ -767,22 +656,18 @@ public Builder addLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder addAllLatencyPercentiles( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (latencyPercentilesBuilder_ == null) { ensureLatencyPercentilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, latencyPercentiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, latencyPercentiles_); onChanged(); } else { latencyPercentilesBuilder_.addAllMessages(values); @@ -790,15 +675,11 @@ public Builder addAllLatencyPercentiles( return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder clearLatencyPercentiles() { if (latencyPercentilesBuilder_ == null) { @@ -811,15 +692,11 @@ public Builder clearLatencyPercentiles() { return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ public Builder removeLatencyPercentiles(int index) { if (latencyPercentilesBuilder_ == null) { @@ -832,53 +709,39 @@ public Builder removeLatencyPercentiles(int index) { return this; } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder - getLatencyPercentilesBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder getLatencyPercentilesBuilder( + int index) { return getLatencyPercentilesFieldBuilder().getBuilder(index); } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder - getLatencyPercentilesOrBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder( + int index) { if (latencyPercentilesBuilder_ == null) { - return latencyPercentiles_.get(index); - } else { + return latencyPercentiles_.get(index); } else { return latencyPercentilesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> - getLatencyPercentilesOrBuilderList() { + public java.util.List + getLatencyPercentilesOrBuilderList() { if (latencyPercentilesBuilder_ != null) { return latencyPercentilesBuilder_.getMessageOrBuilderList(); } else { @@ -886,67 +749,45 @@ public Builder removeLatencyPercentiles(int index) { } } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder - addLatencyPercentilesBuilder() { - return getLatencyPercentilesFieldBuilder() - .addBuilder( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder addLatencyPercentilesBuilder() { + return getLatencyPercentilesFieldBuilder().addBuilder( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder - addLatencyPercentilesBuilder(int index) { - return getLatencyPercentilesFieldBuilder() - .addBuilder( - index, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder addLatencyPercentilesBuilder( + int index) { + return getLatencyPercentilesFieldBuilder().addBuilder( + index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); } /** - * - * *
      * Representative latency percentiles.
      * 
* - * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; */ - public java.util.List - getLatencyPercentilesBuilderList() { + public java.util.List + getLatencyPercentilesBuilderList() { return getLatencyPercentilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> getLatencyPercentilesFieldBuilder() { if (latencyPercentilesBuilder_ == null) { - latencyPercentilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder>( + latencyPercentilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder>( latencyPercentiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -955,9 +796,9 @@ public Builder removeLatencyPercentiles(int index) { } return latencyPercentilesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,43 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LatencyDistribution) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LatencyDistribution) - private static final com.google.cloud.networkmanagement.v1beta1.LatencyDistribution - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.LatencyDistribution DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LatencyDistribution(); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LatencyDistribution 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 LatencyDistribution 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; @@ -1015,8 +854,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java new file mode 100644 index 000000000000..1aa766e455c1 --- /dev/null +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto + +package com.google.cloud.networkmanagement.v1beta1; + +public interface LatencyDistributionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LatencyDistribution) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Representative latency percentiles.
+   * 
+ * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + */ + java.util.List + getLatencyPercentilesList(); + /** + *
+   * Representative latency percentiles.
+   * 
+ * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + */ + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index); + /** + *
+   * Representative latency percentiles.
+   * 
+ * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + */ + int getLatencyPercentilesCount(); + /** + *
+   * Representative latency percentiles.
+   * 
+ * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + */ + java.util.List + getLatencyPercentilesOrBuilderList(); + /** + *
+   * Representative latency percentiles.
+   * 
+ * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + */ + com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder( + int index); +} diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java similarity index 66% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java index 99ffc74dacbf..ea8e7d5f2a73 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Latency percentile rank and value.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyPercentile} */ -public final class LatencyPercentile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LatencyPercentile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LatencyPercentile) LatencyPercentileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LatencyPercentile.newBuilder() to construct. private LatencyPercentile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LatencyPercentile() {} + private LatencyPercentile() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LatencyPercentile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); } public static final int PERCENT_FIELD_NUMBER = 1; private int percent_ = 0; /** - * - * *
    * Percentage of samples this data point applies to.
    * 
* * int32 percent = 1; - * * @return The percent. */ @java.lang.Override @@ -86,8 +65,6 @@ public int getPercent() { public static final int LATENCY_MICROS_FIELD_NUMBER = 2; private long latencyMicros_ = 0L; /** - * - * *
    * percent-th percentile of latency observed, in microseconds.
    * Fraction of percent/100 of samples have latency lower or
@@ -95,7 +72,6 @@ public int getPercent() {
    * 
* * int64 latency_micros = 2; - * * @return The latencyMicros. */ @java.lang.Override @@ -104,7 +80,6 @@ public long getLatencyMicros() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,7 +91,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (percent_ != 0) { output.writeInt32(1, percent_); } @@ -133,10 +109,12 @@ public int getSerializedSize() { size = 0; if (percent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, percent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, percent_); } if (latencyMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, latencyMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, latencyMicros_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,16 +124,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.networkmanagement.v1beta1.LatencyPercentile)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile other = - (com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) obj; + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile other = (com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) obj; - if (getPercent() != other.getPercent()) return false; - if (getLatencyMicros() != other.getLatencyMicros()) return false; + if (getPercent() + != other.getPercent()) return false; + if (getLatencyMicros() + != other.getLatencyMicros()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -170,143 +149,137 @@ public int hashCode() { hash = (37 * hash) + PERCENT_FIELD_NUMBER; hash = (53 * hash) + getPercent(); hash = (37 * hash) + LATENCY_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLatencyMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLatencyMicros()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile 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.networkmanagement.v1beta1.LatencyPercentile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Latency percentile rank and value.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyPercentile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LatencyPercentile) com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,14 +290,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance(); } @@ -339,17 +311,13 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result = - new com.google.cloud.networkmanagement.v1beta1.LatencyPercentile(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result = new com.google.cloud.networkmanagement.v1beta1.LatencyPercentile(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.percent_ = percent_; @@ -363,39 +331,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyPercentile)other); } else { super.mergeFrom(other); return this; @@ -403,9 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()) return this; if (other.getPercent() != 0) { setPercent(other.getPercent()); } @@ -438,25 +403,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - percent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - latencyMicros_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + percent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + latencyMicros_ = input.readInt64(); + 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) { @@ -466,19 +428,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int percent_; + private int percent_ ; /** - * - * *
      * Percentage of samples this data point applies to.
      * 
* * int32 percent = 1; - * * @return The percent. */ @java.lang.Override @@ -486,33 +444,27 @@ public int getPercent() { return percent_; } /** - * - * *
      * Percentage of samples this data point applies to.
      * 
* * int32 percent = 1; - * * @param value The percent to set. * @return This builder for chaining. */ public Builder setPercent(int value) { - + percent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Percentage of samples this data point applies to.
      * 
* * int32 percent = 1; - * * @return This builder for chaining. */ public Builder clearPercent() { @@ -522,10 +474,8 @@ public Builder clearPercent() { return this; } - private long latencyMicros_; + private long latencyMicros_ ; /** - * - * *
      * percent-th percentile of latency observed, in microseconds.
      * Fraction of percent/100 of samples have latency lower or
@@ -533,7 +483,6 @@ public Builder clearPercent() {
      * 
* * int64 latency_micros = 2; - * * @return The latencyMicros. */ @java.lang.Override @@ -541,8 +490,6 @@ public long getLatencyMicros() { return latencyMicros_; } /** - * - * *
      * percent-th percentile of latency observed, in microseconds.
      * Fraction of percent/100 of samples have latency lower or
@@ -550,20 +497,17 @@ public long getLatencyMicros() {
      * 
* * int64 latency_micros = 2; - * * @param value The latencyMicros to set. * @return This builder for chaining. */ public Builder setLatencyMicros(long value) { - + latencyMicros_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * percent-th percentile of latency observed, in microseconds.
      * Fraction of percent/100 of samples have latency lower or
@@ -571,7 +515,6 @@ public Builder setLatencyMicros(long value) {
      * 
* * int64 latency_micros = 2; - * * @return This builder for chaining. */ public Builder clearLatencyMicros() { @@ -580,9 +523,9 @@ public Builder clearLatencyMicros() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,13 +535,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LatencyPercentile) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LatencyPercentile) - private static final com.google.cloud.networkmanagement.v1beta1.LatencyPercentile - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.LatencyPercentile DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LatencyPercentile(); } @@ -607,27 +549,27 @@ public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LatencyPercentile 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 LatencyPercentile 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; @@ -642,4 +584,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java similarity index 54% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java index e96b67a3bd2b..7461cf351ac0 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface LatencyPercentileOrBuilder - extends +public interface LatencyPercentileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LatencyPercentile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Percentage of samples this data point applies to.
    * 
* * int32 percent = 1; - * * @return The percent. */ int getPercent(); /** - * - * *
    * percent-th percentile of latency observed, in microseconds.
    * Fraction of percent/100 of samples have latency lower or
@@ -46,7 +25,6 @@ public interface LatencyPercentileOrBuilder
    * 
* * int64 latency_micros = 2; - * * @return The latencyMicros. */ long getLatencyMicros(); diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java index 2d3dd9cf611a..390773d49371 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Request for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest} */ -public final class ListConnectivityTestsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConnectivityTestsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) ListConnectivityTestsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectivityTestsRequest.newBuilder() to construct. private ListConnectivityTestsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectivityTestsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,44 +28,39 @@ private ListConnectivityTestsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectivityTestsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -92,30 +69,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,14 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -142,18 +116,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -162,29 +132,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; } } /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * 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 { @@ -193,12 +163,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -219,7 +186,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -228,15 +194,14 @@ 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; } } /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -257,15 +222,16 @@ public java.lang.String getFilter() {
    * 
* * 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 { @@ -274,18 +240,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -294,29 +256,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; } } /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -325,7 +287,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,7 +328,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -385,19 +348,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.networkmanagement.v1beta1.ListConnectivityTestsRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest other = - (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) 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.networkmanagement.v1beta1.ListConnectivityTestsRequest other = (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) 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; } @@ -425,139 +392,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -571,22 +528,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest build() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -595,17 +549,13 @@ public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest b @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = - new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -628,52 +578,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest other) { + if (other == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -723,43 +667,37 @@ 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) { @@ -769,26 +707,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -797,22 +732,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -820,37 +754,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - 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. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -860,22 +787,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - 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; @@ -883,16 +806,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -900,33 +820,27 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -938,20 +852,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -960,21 +872,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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 { @@ -982,35 +893,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1020,21 +924,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -1044,8 +944,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1066,13 +964,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -1081,8 +979,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1103,14 +999,15 @@ public java.lang.String getFilter() {
      * 
* * 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 { @@ -1118,8 +1015,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1140,22 +1035,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * 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; } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1176,7 +1067,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1186,8 +1076,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1208,14 +1096,12 @@ public Builder clearFilter() {
      * 
* * 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; @@ -1225,20 +1111,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Field to use to sort the list.
      * 
* * 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; @@ -1247,21 +1131,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Field to use to sort the list.
      * 
* * 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 { @@ -1269,35 +1152,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Field to use to sort the list.
      * 
* * 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; } /** - * - * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1307,30 +1183,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Field to use to sort the list.
      * 
* * 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); } @@ -1340,44 +1212,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) - private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsRequest 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 ListConnectivityTestsRequest 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; @@ -1389,8 +1258,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java similarity index 78% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java index e753e76a180a..6a9f96d56464 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java @@ -1,96 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ListConnectivityTestsRequestOrBuilder - extends +public interface ListConnectivityTestsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -111,13 +80,10 @@ public interface ListConnectivityTestsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -138,33 +104,28 @@ public interface ListConnectivityTestsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java index a43b8f076193..b624d573f286 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Response for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse} */ -public final class ListConnectivityTestsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConnectivityTestsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) ListConnectivityTestsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectivityTestsResponse.newBuilder() to construct. private ListConnectivityTestsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectivityTestsResponse() { resources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,37 +27,33 @@ private ListConnectivityTestsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectivityTestsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder.class); } public static final int RESOURCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List resources_; /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -83,13 +61,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ @java.lang.Override - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { return resources_; } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -97,14 +72,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + public java.util.List getResourcesOrBuilderList() { return resources_; } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -116,8 +88,6 @@ public int getResourcesCount() { return resources_.size(); } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -129,8 +99,6 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResources( return resources_.get(index); } /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -144,18 +112,14 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getR } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -164,29 +128,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; } } /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 { @@ -195,46 +159,37 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -242,23 +197,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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; @@ -270,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -290,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, resources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -311,18 +265,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.networkmanagement.v1beta1.ListConnectivityTestsResponse)) { + if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other = - (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) obj; + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other = (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) obj; - if (!getResourcesList().equals(other.getResourcesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getResourcesList() + .equals(other.getResourcesList())) 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; } @@ -350,139 +305,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -501,22 +446,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse build() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -525,18 +467,14 @@ public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = - new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(this); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { if (resourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resources_ = java.util.Collections.unmodifiableList(resources_); @@ -553,8 +491,7 @@ private void buildPartialRepeatedFields( result.unreachable_ = unreachable_; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -565,52 +502,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other) { + if (other == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.getDefaultInstance()) return this; if (resourcesBuilder_ == null) { if (!other.resources_.isEmpty()) { if (resources_.isEmpty()) { @@ -629,10 +560,9 @@ public Builder mergeFrom( resourcesBuilder_ = null; resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000001); - resourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResourcesFieldBuilder() - : null; + resourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResourcesFieldBuilder() : null; } else { resourcesBuilder_.addAllMessages(other.resources_); } @@ -679,40 +609,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.parser(), - extensionRegistry); - if (resourcesBuilder_ == null) { - ensureResourcesIsMutable(); - resources_.add(m); - } else { - resourcesBuilder_.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.networkmanagement.v1beta1.ConnectivityTest m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.parser(), + extensionRegistry); + if (resourcesBuilder_ == null) { + ensureResourcesIsMutable(); + resources_.add(m); + } else { + resourcesBuilder_.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) { @@ -722,38 +648,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List resources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resources_ = - new java.util.ArrayList( - resources_); + resources_ = new java.util.ArrayList(resources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> - resourcesBuilder_; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> resourcesBuilder_; /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -761,8 +677,6 @@ private void ensureResourcesIsMutable() { } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -777,8 +691,6 @@ public int getResourcesCount() { } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -793,8 +705,6 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResources( } } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -816,8 +726,6 @@ public Builder setResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -825,8 +733,7 @@ public Builder setResources( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ public Builder setResources( - int index, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); @@ -837,8 +744,6 @@ public Builder setResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -859,8 +764,6 @@ public Builder addResources(com.google.cloud.networkmanagement.v1beta1.Connectiv return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -882,8 +785,6 @@ public Builder addResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -902,8 +803,6 @@ public Builder addResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -911,8 +810,7 @@ public Builder addResources( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ public Builder addResources( - int index, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); @@ -923,8 +821,6 @@ public Builder addResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -932,11 +828,11 @@ public Builder addResources( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ public Builder addAllResources( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -944,8 +840,6 @@ public Builder addAllResources( return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -963,8 +857,6 @@ public Builder clearResources() { return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -982,8 +874,6 @@ public Builder removeResources(int index) { return this; } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -995,34 +885,28 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getRe return getResourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder - getResourcesOrBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourcesOrBuilder( + int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); - } else { + return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -1030,23 +914,17 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getRe } } /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder - addResourcesBuilder() { - return getResourcesFieldBuilder() - .addBuilder( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addResourcesBuilder() { + return getResourcesFieldBuilder().addBuilder( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); } /** - * - * *
      * List of Connectivity Tests.
      * 
@@ -1055,37 +933,30 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getRe */ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder() - .addBuilder( - index, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + index, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); } /** - * - * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( - resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( + resources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); resources_ = null; } return resourcesBuilder_; @@ -1093,20 +964,18 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addRe private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -1115,21 +984,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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 { @@ -1137,35 +1005,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1175,21 +1036,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -1197,52 +1054,42 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1250,90 +1097,76 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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 (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1343,30 +1176,26 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1376,44 +1205,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) - private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsResponse 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 ListConnectivityTestsResponse 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; @@ -1425,8 +1251,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java index 03a468de5908..ea11e5d8299a 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ListConnectivityTestsResponseOrBuilder - extends +public interface ListConnectivityTestsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - java.util.List getResourcesList(); + java.util.List + getResourcesList(); /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -44,8 +25,6 @@ public interface ListConnectivityTestsResponseOrBuilder */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResources(int index); /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -54,19 +33,15 @@ public interface ListConnectivityTestsResponseOrBuilder */ int getResourcesCount(); /** - * - * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** - * - * *
    * List of Connectivity Tests.
    * 
@@ -77,78 +52,63 @@ com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResource int index); /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * 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/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java index 6a07f3ad4321..d705033c8767 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a specific load balancer backend.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerBackend} */ -public final class LoadBalancerBackend extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoadBalancerBackend extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) LoadBalancerBackendOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoadBalancerBackend.newBuilder() to construct. private LoadBalancerBackend(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoadBalancerBackend() { displayName_ = ""; uri_ = ""; @@ -47,44 +29,39 @@ private LoadBalancerBackend() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoadBalancerBackend(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); } /** - * - * *
    * State of a health check firewall configuration:
    * 
* - * Protobuf enum {@code - * google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState} + * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState} */ - public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMessageEnum { + public enum HealthCheckFirewallState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * State is unspecified. Default state if not populated.
      * 
@@ -93,8 +70,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess */ HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED(0), /** - * - * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -104,8 +79,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
      */
     CONFIGURED(1),
     /**
-     *
-     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -121,8 +94,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
     ;
 
     /**
-     *
-     *
      * 
      * State is unspecified. Default state if not populated.
      * 
@@ -131,8 +102,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess */ public static final int HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -142,8 +111,6 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
      */
     public static final int CONFIGURED_VALUE = 1;
     /**
-     *
-     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -156,6 +123,7 @@ public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMess
      */
     public static final int MISCONFIGURED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -180,14 +148,10 @@ public static HealthCheckFirewallState valueOf(int value) {
      */
     public static HealthCheckFirewallState forNumber(int value) {
       switch (value) {
-        case 0:
-          return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
-        case 1:
-          return CONFIGURED;
-        case 2:
-          return MISCONFIGURED;
-        default:
-          return null;
+        case 0: return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
+        case 1: return CONFIGURED;
+        case 2: return MISCONFIGURED;
+        default: return null;
       }
     }
 
@@ -195,31 +159,29 @@ public static HealthCheckFirewallState forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        HealthCheckFirewallState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public HealthCheckFirewallState findValueByNumber(int number) {
+              return HealthCheckFirewallState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public HealthCheckFirewallState findValueByNumber(int number) {
-                return HealthCheckFirewallState.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final HealthCheckFirewallState[] VALUES = values();
@@ -227,7 +189,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static HealthCheckFirewallState 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;
@@ -245,18 +208,14 @@ private HealthCheckFirewallState(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
-   *
-   *
    * 
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -265,29 +224,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -296,18 +255,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -316,29 +271,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -349,88 +304,61 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int HEALTH_CHECK_FIREWALL_STATE_FIELD_NUMBER = 3; private int healthCheckFirewallState_ = 0; /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override - public int getHealthCheckFirewallStateValue() { + @java.lang.Override public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The healthCheckFirewallState. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState result = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - .forNumber(healthCheckFirewallState_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; } public static final int HEALTH_CHECK_ALLOWING_FIREWALL_RULES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_; /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_; } /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -438,62 +366,51 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } public static final int HEALTH_CHECK_BLOCKING_FIREWALL_RULES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_; /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_; } /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -501,23 +418,20 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,26 +443,22 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } - if (healthCheckFirewallState_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED - .getNumber()) { + if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, healthCheckFirewallState_); } for (int i = 0; i < healthCheckAllowingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); } for (int i = 0; i < healthCheckBlockingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -565,11 +475,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } - if (healthCheckFirewallState_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, healthCheckFirewallState_); + if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, healthCheckFirewallState_); } { int dataSize = 0; @@ -595,16 +503,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.networkmanagement.v1beta1.LoadBalancerBackend)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend other = - (com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) obj; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend other = (com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (healthCheckFirewallState_ != other.healthCheckFirewallState_) return false; if (!getHealthCheckAllowingFirewallRulesList() .equals(other.getHealthCheckAllowingFirewallRulesList())) return false; @@ -641,136 +550,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend 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.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a specific load balancer backend.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerBackend} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -786,14 +688,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance(); } @@ -808,18 +709,14 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result = - new com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend(this); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { if (((bitField0_ & 0x00000008) != 0)) { healthCheckAllowingFirewallRules_ = healthCheckAllowingFirewallRules_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -832,8 +729,7 @@ private void buildPartialRepeatedFields( result.healthCheckBlockingFirewallRules_ = healthCheckBlockingFirewallRules_; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -850,39 +746,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend)other); } else { super.mergeFrom(other); return this; @@ -890,9 +785,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -952,45 +845,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - healthCheckFirewallState_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckAllowingFirewallRulesIsMutable(); - healthCheckAllowingFirewallRules_.add(s); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckBlockingFirewallRulesIsMutable(); - healthCheckBlockingFirewallRules_.add(s); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + healthCheckFirewallState_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckAllowingFirewallRulesIsMutable(); + healthCheckAllowingFirewallRules_.add(s); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckBlockingFirewallRulesIsMutable(); + healthCheckBlockingFirewallRules_.add(s); + 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) { @@ -1000,25 +887,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1027,21 +911,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1049,35 +932,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1087,21 +963,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1111,20 +983,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1133,21 +1003,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1155,35 +1024,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1193,21 +1055,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1217,33 +1075,22 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private int healthCheckFirewallState_ = 0; /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override - public int getHealthCheckFirewallStateValue() { + @java.lang.Override public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @param value The enum numeric value on the wire for healthCheckFirewallState to set. * @return This builder for chaining. */ @@ -1254,47 +1101,28 @@ public Builder setHealthCheckFirewallStateValue(int value) { return this; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The healthCheckFirewallState. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - result = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend - .HealthCheckFirewallState.forNumber(healthCheckFirewallState_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - .UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @param value The healthCheckFirewallState to set. * @return This builder for chaining. */ - public Builder setHealthCheckFirewallState( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - value) { + public Builder setHealthCheckFirewallState(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState value) { if (value == null) { throw new NullPointerException(); } @@ -1304,16 +1132,11 @@ public Builder setHealthCheckFirewallState( return this; } /** - * - * *
      * State of the health check firewall configuration.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return This builder for chaining. */ public Builder clearHealthCheckFirewallState() { @@ -1323,53 +1146,42 @@ public Builder clearHealthCheckFirewallState() { return this; } - private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureHealthCheckAllowingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - healthCheckAllowingFirewallRules_ = - new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); + healthCheckAllowingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_.getUnmodifiableView(); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -1377,72 +1189,59 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index to set the value at. * @param value The healthCheckAllowingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckAllowingFirewallRules(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckAllowingFirewallRules( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param value The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRules(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckAllowingFirewallRules( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param values The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ @@ -1455,14 +1254,11 @@ public Builder addAllHealthCheckAllowingFirewallRules( return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return This builder for chaining. */ public Builder clearHealthCheckAllowingFirewallRules() { @@ -1472,21 +1268,17 @@ public Builder clearHealthCheckAllowingFirewallRules() { return this; } /** - * - * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param value The bytes of the healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckAllowingFirewallRulesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); @@ -1494,53 +1286,42 @@ public Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.Byte return this; } - private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureHealthCheckBlockingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - healthCheckBlockingFirewallRules_ = - new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); + healthCheckBlockingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList + getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_.getUnmodifiableView(); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -1548,72 +1329,59 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString + getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index to set the value at. * @param value The healthCheckBlockingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckBlockingFirewallRules(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckBlockingFirewallRules( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param value The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRules(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckBlockingFirewallRules( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param values The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ @@ -1626,14 +1394,11 @@ public Builder addAllHealthCheckBlockingFirewallRules( return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return This builder for chaining. */ public Builder clearHealthCheckBlockingFirewallRules() { @@ -1643,30 +1408,26 @@ public Builder clearHealthCheckBlockingFirewallRules() { return this; } /** - * - * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param value The bytes of the healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRulesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addHealthCheckBlockingFirewallRulesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1676,43 +1437,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) - private static final com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend(); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerBackend 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 LoadBalancerBackend 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; @@ -1724,8 +1483,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java index e8fe035fdfd6..f49b55ba9369 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java @@ -1,207 +1,150 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface LoadBalancerBackendOrBuilder - extends +public interface LoadBalancerBackendOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The enum numeric value on the wire for healthCheckFirewallState. */ int getHealthCheckFirewallStateValue(); /** - * - * *
    * State of the health check firewall configuration.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; * @return The healthCheckFirewallState. */ - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState - getHealthCheckFirewallState(); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState(); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return A list containing the healthCheckAllowingFirewallRules. */ - java.util.List getHealthCheckAllowingFirewallRulesList(); + java.util.List + getHealthCheckAllowingFirewallRulesList(); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @return The count of healthCheckAllowingFirewallRules. */ int getHealthCheckAllowingFirewallRulesCount(); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ java.lang.String getHealthCheckAllowingFirewallRules(int index); /** - * - * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; - * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index); + com.google.protobuf.ByteString + getHealthCheckAllowingFirewallRulesBytes(int index); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return A list containing the healthCheckBlockingFirewallRules. */ - java.util.List getHealthCheckBlockingFirewallRulesList(); + java.util.List + getHealthCheckBlockingFirewallRulesList(); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @return The count of healthCheckBlockingFirewallRules. */ int getHealthCheckBlockingFirewallRulesCount(); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ java.lang.String getHealthCheckBlockingFirewallRules(int index); /** - * - * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; - * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index); + com.google.protobuf.ByteString + getHealthCheckBlockingFirewallRulesBytes(int index); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java similarity index 67% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java index 9c929fc3270b..b21e2deefc79 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a load balancer.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo} */ -public final class LoadBalancerInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoadBalancerInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) LoadBalancerInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoadBalancerInfo.newBuilder() to construct. private LoadBalancerInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoadBalancerInfo() { loadBalancerType_ = 0; healthCheckUri_ = ""; @@ -47,43 +29,39 @@ private LoadBalancerInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoadBalancerInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); } /** - * - * *
    * The type definition for a load balancer:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType} */ - public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type is unspecified.
      * 
@@ -92,8 +70,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Internal TCP/UDP load balancer.
      * 
@@ -102,8 +78,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ INTERNAL_TCP_UDP(1), /** - * - * *
      * Network TCP/UDP load balancer.
      * 
@@ -112,8 +86,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ NETWORK_TCP_UDP(2), /** - * - * *
      * HTTP(S) proxy load balancer.
      * 
@@ -122,8 +94,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ HTTP_PROXY(3), /** - * - * *
      * TCP proxy load balancer.
      * 
@@ -132,8 +102,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ TCP_PROXY(4), /** - * - * *
      * SSL proxy load balancer.
      * 
@@ -145,8 +113,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Type is unspecified.
      * 
@@ -155,8 +121,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Internal TCP/UDP load balancer.
      * 
@@ -165,8 +129,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTERNAL_TCP_UDP_VALUE = 1; /** - * - * *
      * Network TCP/UDP load balancer.
      * 
@@ -175,8 +137,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int NETWORK_TCP_UDP_VALUE = 2; /** - * - * *
      * HTTP(S) proxy load balancer.
      * 
@@ -185,8 +145,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTTP_PROXY_VALUE = 3; /** - * - * *
      * TCP proxy load balancer.
      * 
@@ -195,8 +153,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TCP_PROXY_VALUE = 4; /** - * - * *
      * SSL proxy load balancer.
      * 
@@ -205,6 +161,7 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SSL_PROXY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -229,51 +186,43 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: - return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: - return INTERNAL_TCP_UDP; - case 2: - return NETWORK_TCP_UDP; - case 3: - return HTTP_PROXY; - case 4: - return TCP_PROXY; - case 5: - return SSL_PROXY; - default: - return null; + case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: return INTERNAL_TCP_UDP; + case 2: return NETWORK_TCP_UDP; + case 3: return HTTP_PROXY; + case 4: return TCP_PROXY; + case 5: return SSL_PROXY; + 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< + LoadBalancerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(0); } private static final LoadBalancerType[] VALUES = values(); @@ -281,7 +230,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LoadBalancerType 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; @@ -299,18 +249,15 @@ private LoadBalancerType(int value) { } /** - * - * *
    * The type definition for a load balancer backend configuration:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType} */ - public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { + public enum BackendType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type is unspecified.
      * 
@@ -319,8 +266,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ BACKEND_TYPE_UNSPECIFIED(0), /** - * - * *
      * Backend Service as the load balancer's backend.
      * 
@@ -329,8 +274,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ BACKEND_SERVICE(1), /** - * - * *
      * Target Pool as the load balancer's backend.
      * 
@@ -342,8 +285,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type is unspecified.
      * 
@@ -352,8 +293,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BACKEND_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Backend Service as the load balancer's backend.
      * 
@@ -362,8 +301,6 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BACKEND_SERVICE_VALUE = 1; /** - * - * *
      * Target Pool as the load balancer's backend.
      * 
@@ -372,6 +309,7 @@ public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_POOL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -396,51 +334,49 @@ public static BackendType valueOf(int value) { */ public static BackendType forNumber(int value) { switch (value) { - case 0: - return BACKEND_TYPE_UNSPECIFIED; - case 1: - return BACKEND_SERVICE; - case 2: - return TARGET_POOL; - default: - return null; + case 0: return BACKEND_TYPE_UNSPECIFIED; + case 1: return BACKEND_SERVICE; + case 2: return TARGET_POOL; + 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< + BackendType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public BackendType findValueByNumber(int number) { + return BackendType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BackendType findValueByNumber(int number) { - return BackendType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(1); } private static final BackendType[] VALUES = values(); - public static BackendType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BackendType 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; @@ -460,59 +396,38 @@ private BackendType(int value) { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 1; private int loadBalancerType_ = 0; /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The loadBalancerType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType - getLoadBalancerType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber( - loadBalancerType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; } public static final int HEALTH_CHECK_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object healthCheckUri_ = ""; /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The healthCheckUri. */ @java.lang.Override @@ -521,29 +436,29 @@ public java.lang.String getHealthCheckUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; } } /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The bytes for healthCheckUri. */ @java.lang.Override - public com.google.protobuf.ByteString getHealthCheckUriBytes() { + public com.google.protobuf.ByteString + getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -552,12 +467,9 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { } public static final int BACKENDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List backends_; /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -565,13 +477,10 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List - getBackendsList() { + public java.util.List getBackendsList() { return backends_; } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -579,14 +488,11 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> + public java.util.List getBackendsOrBuilderList() { return backends_; } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -598,8 +504,6 @@ public int getBackendsCount() { return backends_.size(); } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -611,8 +515,6 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackend return backends_.get(index); } /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -620,64 +522,46 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackend * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder - getBackendsOrBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder getBackendsOrBuilder( + int index) { return backends_.get(index); } public static final int BACKEND_TYPE_FIELD_NUMBER = 4; private int backendType_ = 0; /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override - public int getBackendTypeValue() { + @java.lang.Override public int getBackendTypeValue() { return backendType_; } /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return The backendType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber( - backendType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber(backendType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; } public static final int BACKEND_URI_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object backendUri_ = ""; /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The backendUri. */ @java.lang.Override @@ -686,29 +570,29 @@ public java.lang.String getBackendUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; } } /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The bytes for backendUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBackendUriBytes() { + public com.google.protobuf.ByteString + getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backendUri_ = b; return b; } else { @@ -717,7 +601,6 @@ public com.google.protobuf.ByteString getBackendUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,11 +612,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (loadBalancerType_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType - .LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (loadBalancerType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { @@ -742,10 +623,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < backends_.size(); i++) { output.writeMessage(3, backends_.get(i)); } - if (backendType_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType - .BACKEND_TYPE_UNSPECIFIED - .getNumber()) { + if (backendType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { @@ -760,23 +638,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (loadBalancerType_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType - .LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, loadBalancerType_); + if (loadBalancerType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, healthCheckUri_); } for (int i = 0; i < backends_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, backends_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, backends_.get(i)); } - if (backendType_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType - .BACKEND_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, backendType_); + if (backendType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, backendUri_); @@ -789,19 +664,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.networkmanagement.v1beta1.LoadBalancerInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo other = - (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) obj; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo other = (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) obj; if (loadBalancerType_ != other.loadBalancerType_) return false; - if (!getHealthCheckUri().equals(other.getHealthCheckUri())) return false; - if (!getBackendsList().equals(other.getBackendsList())) return false; + if (!getHealthCheckUri() + .equals(other.getHealthCheckUri())) return false; + if (!getBackendsList() + .equals(other.getBackendsList())) return false; if (backendType_ != other.backendType_) return false; - if (!getBackendUri().equals(other.getBackendUri())) return false; + if (!getBackendUri() + .equals(other.getBackendUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -831,136 +708,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo 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.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a load balancer.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -980,9 +850,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; } @java.lang.Override @@ -1001,18 +871,14 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result = - new com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo(this); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result) { if (backendsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { backends_ = java.util.Collections.unmodifiableList(backends_); @@ -1044,39 +910,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LoadBalanc public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo)other); } else { super.mergeFrom(other); return this; @@ -1084,8 +949,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance()) return this; if (other.loadBalancerType_ != 0) { setLoadBalancerTypeValue(other.getLoadBalancerTypeValue()); } @@ -1112,10 +976,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LoadBalancer backendsBuilder_ = null; backends_ = other.backends_; bitField0_ = (bitField0_ & ~0x00000004); - backendsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBackendsFieldBuilder() - : null; + backendsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBackendsFieldBuilder() : null; } else { backendsBuilder_.addAllMessages(other.backends_); } @@ -1155,51 +1018,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - loadBalancerType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - healthCheckUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.parser(), - extensionRegistry); - if (backendsBuilder_ == null) { - ensureBackendsIsMutable(); - backends_.add(m); - } else { - backendsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - backendType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - backendUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + loadBalancerType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + healthCheckUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.parser(), + extensionRegistry); + if (backendsBuilder_ == null) { + ensureBackendsIsMutable(); + backends_.add(m); + } else { + backendsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + backendType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + backendUri_ = 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) { @@ -1209,38 +1066,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int loadBalancerType_ = 0; /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ @@ -1251,45 +1096,28 @@ public Builder setLoadBalancerTypeValue(int value) { return this; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The loadBalancerType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType - getLoadBalancerType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber( - loadBalancerType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType - .UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType value) { + public Builder setLoadBalancerType(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } @@ -1299,16 +1127,11 @@ public Builder setLoadBalancerType( return this; } /** - * - * *
      * Type of the load balancer.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return This builder for chaining. */ public Builder clearLoadBalancerType() { @@ -1320,20 +1143,18 @@ public Builder clearLoadBalancerType() { private java.lang.Object healthCheckUri_ = ""; /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @return The healthCheckUri. */ public java.lang.String getHealthCheckUri() { java.lang.Object ref = healthCheckUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; @@ -1342,21 +1163,20 @@ public java.lang.String getHealthCheckUri() { } } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @return The bytes for healthCheckUri. */ - public com.google.protobuf.ByteString getHealthCheckUriBytes() { + public com.google.protobuf.ByteString + getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -1364,35 +1184,28 @@ public com.google.protobuf.ByteString getHealthCheckUriBytes() { } } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @param value The healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } healthCheckUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @return This builder for chaining. */ public Builder clearHealthCheckUri() { @@ -1402,21 +1215,17 @@ public Builder clearHealthCheckUri() { return this; } /** - * - * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; - * * @param value The bytes for healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHealthCheckUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); healthCheckUri_ = value; bitField0_ |= 0x00000002; @@ -1424,36 +1233,26 @@ public Builder setHealthCheckUriBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - backends_ = java.util.Collections.emptyList(); - + private java.util.List backends_ = + java.util.Collections.emptyList(); private void ensureBackendsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - backends_ = - new java.util.ArrayList( - backends_); + backends_ = new java.util.ArrayList(backends_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> - backendsBuilder_; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> backendsBuilder_; /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public java.util.List - getBackendsList() { + public java.util.List getBackendsList() { if (backendsBuilder_ == null) { return java.util.Collections.unmodifiableList(backends_); } else { @@ -1461,14 +1260,11 @@ private void ensureBackendsIsMutable() { } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public int getBackendsCount() { if (backendsBuilder_ == null) { @@ -1478,14 +1274,11 @@ public int getBackendsCount() { } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackends(int index) { if (backendsBuilder_ == null) { @@ -1495,14 +1288,11 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackend } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder setBackends( int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { @@ -1519,18 +1309,14 @@ public Builder setBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder setBackends( - int index, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.set(index, builderForValue.build()); @@ -1541,17 +1327,13 @@ public Builder setBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public Builder addBackends( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { + public Builder addBackends(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { if (backendsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1565,14 +1347,11 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder addBackends( int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { @@ -1589,14 +1368,11 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder addBackends( com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { @@ -1610,18 +1386,14 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder addBackends( - int index, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { + int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.add(index, builderForValue.build()); @@ -1632,21 +1404,18 @@ public Builder addBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder addAllBackends( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backends_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, backends_); onChanged(); } else { backendsBuilder_.addAllMessages(values); @@ -1654,14 +1423,11 @@ public Builder addAllBackends( return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder clearBackends() { if (backendsBuilder_ == null) { @@ -1674,14 +1440,11 @@ public Builder clearBackends() { return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ public Builder removeBackends(int index) { if (backendsBuilder_ == null) { @@ -1694,50 +1457,39 @@ public Builder removeBackends(int index) { return this; } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder - getBackendsBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder getBackendsBuilder( + int index) { return getBackendsFieldBuilder().getBuilder(index); } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder - getBackendsOrBuilder(int index) { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder getBackendsOrBuilder( + int index) { if (backendsBuilder_ == null) { - return backends_.get(index); - } else { + return backends_.get(index); } else { return backendsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public java.util.List< - ? extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> - getBackendsOrBuilderList() { + public java.util.List + getBackendsOrBuilderList() { if (backendsBuilder_ != null) { return backendsBuilder_.getMessageOrBuilderList(); } else { @@ -1745,65 +1497,49 @@ public Builder removeBackends(int index) { } } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder - addBackendsBuilder() { - return getBackendsFieldBuilder() - .addBuilder( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder addBackendsBuilder() { + return getBackendsFieldBuilder().addBuilder( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder - addBackendsBuilder(int index) { - return getBackendsFieldBuilder() - .addBuilder( - index, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder addBackendsBuilder( + int index) { + return getBackendsFieldBuilder().addBuilder( + index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); } /** - * - * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; - * + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - public java.util.List - getBackendsBuilderList() { + public java.util.List + getBackendsBuilderList() { return getBackendsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> getBackendsFieldBuilder() { if (backendsBuilder_ == null) { - backendsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder>( - backends_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + backendsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder>( + backends_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); backends_ = null; } return backendsBuilder_; @@ -1811,31 +1547,22 @@ public Builder removeBackends(int index) { private int backendType_ = 0; /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override - public int getBackendTypeValue() { + @java.lang.Override public int getBackendTypeValue() { return backendType_; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @param value The enum numeric value on the wire for backendType to set. * @return This builder for chaining. */ @@ -1846,42 +1573,28 @@ public Builder setBackendTypeValue(int value) { return this; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return The backendType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType - getBackendType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber( - backendType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber(backendType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @param value The backendType to set. * @return This builder for chaining. */ - public Builder setBackendType( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType value) { + public Builder setBackendType(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType value) { if (value == null) { throw new NullPointerException(); } @@ -1891,15 +1604,11 @@ public Builder setBackendType( return this; } /** - * - * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return This builder for chaining. */ public Builder clearBackendType() { @@ -1911,20 +1620,18 @@ public Builder clearBackendType() { private java.lang.Object backendUri_ = ""; /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @return The backendUri. */ public java.lang.String getBackendUri() { java.lang.Object ref = backendUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; @@ -1933,21 +1640,20 @@ public java.lang.String getBackendUri() { } } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @return The bytes for backendUri. */ - public com.google.protobuf.ByteString getBackendUriBytes() { + public com.google.protobuf.ByteString + getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backendUri_ = b; return b; } else { @@ -1955,35 +1661,28 @@ public com.google.protobuf.ByteString getBackendUriBytes() { } } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @param value The backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackendUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backendUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @return This builder for chaining. */ public Builder clearBackendUri() { @@ -1993,30 +1692,26 @@ public Builder clearBackendUri() { return this; } /** - * - * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; - * * @param value The bytes for backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackendUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backendUri_ = 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); } @@ -2026,12 +1721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) private static final com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo(); } @@ -2040,27 +1735,27 @@ public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerInfo 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 LoadBalancerInfo 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; @@ -2075,4 +1770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java index 84015c49cf0a..51e9c8df3c0c 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java @@ -1,96 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface LoadBalancerInfoOrBuilder - extends +public interface LoadBalancerInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** - * - * *
    * Type of the load balancer.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; * @return The loadBalancerType. */ - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType - getLoadBalancerType(); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType(); /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The healthCheckUri. */ java.lang.String getHealthCheckUri(); /** - * - * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; - * * @return The bytes for healthCheckUri. */ - com.google.protobuf.ByteString getHealthCheckUriBytes(); + com.google.protobuf.ByteString + getHealthCheckUriBytes(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - java.util.List getBackendsList(); + java.util.List + getBackendsList(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -99,8 +64,6 @@ public interface LoadBalancerInfoOrBuilder */ com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackends(int index); /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -109,19 +72,15 @@ public interface LoadBalancerInfoOrBuilder */ int getBackendsCount(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - java.util.List + java.util.List getBackendsOrBuilderList(); /** - * - * *
    * Information for the loadbalancer backends.
    * 
@@ -132,54 +91,41 @@ com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder getBacke int index); /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return The enum numeric value on the wire for backendType. */ int getBackendTypeValue(); /** - * - * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; * @return The backendType. */ com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType(); /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The backendUri. */ java.lang.String getBackendUri(); /** - * - * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; - * * @return The bytes for backendUri. */ - com.google.protobuf.ByteString getBackendUriBytes(); + com.google.protobuf.ByteString + getBackendUriBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java index d80cb996cda6..1117bbb17eea 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine network.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.NetworkInfo} */ -public final class NetworkInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NetworkInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.NetworkInfo) NetworkInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NetworkInfo.newBuilder() to construct. private NetworkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkInfo() { displayName_ = ""; uri_ = ""; @@ -45,43 +27,38 @@ private NetworkInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -172,18 +145,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int MATCHED_IP_RANGE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object matchedIpRange_ = ""; /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The matchedIpRange. */ @java.lang.Override @@ -192,29 +161,29 @@ public java.lang.String getMatchedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; } } /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The bytes for matchedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString + getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -223,7 +192,6 @@ public com.google.protobuf.ByteString getMatchedIpRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -271,17 +240,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.networkmanagement.v1beta1.NetworkInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.NetworkInfo other = - (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) obj; + com.google.cloud.networkmanagement.v1beta1.NetworkInfo other = (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getMatchedIpRange().equals(other.getMatchedIpRange())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getMatchedIpRange() + .equals(other.getMatchedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,136 +276,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo 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.networkmanagement.v1beta1.NetworkInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.NetworkInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.NetworkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine network.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.NetworkInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.NetworkInfo) com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.NetworkInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; } @java.lang.Override @@ -467,11 +431,8 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.NetworkInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.NetworkInfo result = - new com.google.cloud.networkmanagement.v1beta1.NetworkInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.NetworkInfo result = new com.google.cloud.networkmanagement.v1beta1.NetworkInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -493,39 +454,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.NetworkInf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.NetworkInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.NetworkInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.NetworkInfo)other); } else { super.mergeFrom(other); return this; @@ -533,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.NetworkInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -576,31 +535,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - matchedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + matchedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -610,25 +565,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -637,21 +589,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -659,35 +610,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -697,21 +641,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -721,20 +661,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -743,21 +681,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -765,35 +702,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -803,21 +733,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -827,20 +753,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object matchedIpRange_ = ""; /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @return The matchedIpRange. */ public java.lang.String getMatchedIpRange() { java.lang.Object ref = matchedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; @@ -849,21 +773,20 @@ public java.lang.String getMatchedIpRange() { } } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @return The bytes for matchedIpRange. */ - public com.google.protobuf.ByteString getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString + getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -871,35 +794,28 @@ public com.google.protobuf.ByteString getMatchedIpRangeBytes() { } } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @param value The matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } matchedIpRange_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @return This builder for chaining. */ public Builder clearMatchedIpRange() { @@ -909,30 +825,26 @@ public Builder clearMatchedIpRange() { return this; } /** - * - * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; - * * @param value The bytes for matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMatchedIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); matchedIpRange_ = 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); } @@ -942,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.NetworkInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.NetworkInfo) private static final com.google.cloud.networkmanagement.v1beta1.NetworkInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.NetworkInfo(); } @@ -956,27 +868,27 @@ public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkInfo 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 NetworkInfo 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; @@ -991,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java similarity index 60% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java index 8d3944999f10..89e4a8fc3289 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java @@ -1,100 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface NetworkInfoOrBuilder - extends +public interface NetworkInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.NetworkInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The matchedIpRange. */ java.lang.String getMatchedIpRange(); /** - * - * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; - * * @return The bytes for matchedIpRange. */ - com.google.protobuf.ByteString getMatchedIpRangeBytes(); + com.google.protobuf.ByteString + getMatchedIpRangeBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java index 28da9bbb8ffa..7ee55aad674b 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Metadata describing an [Operation][google.longrunning.Operation]
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,41 +28,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, - com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -88,14 +66,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -103,8 +78,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -119,14 +92,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -134,14 +104,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -149,8 +116,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -163,19 +128,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -184,30 +145,30 @@ 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; } } /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -216,18 +177,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -236,29 +193,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -267,18 +224,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_DETAIL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusDetail_ = ""; /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -287,29 +240,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -320,14 +273,11 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int CANCEL_REQUESTED_FIELD_NUMBER = 6; private boolean cancelRequested_ = false; /** - * - * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; - * * @return The cancelRequested. */ @java.lang.Override @@ -336,18 +286,14 @@ public boolean getCancelRequested() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ @java.lang.Override @@ -356,29 +302,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -387,7 +333,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -431,10 +377,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -446,7 +394,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_); } if (cancelRequested_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancelRequested_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, cancelRequested_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -459,27 +408,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.networkmanagement.v1beta1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.OperationMetadata other = - (com.google.cloud.networkmanagement.v1beta1.OperationMetadata) obj; + com.google.cloud.networkmanagement.v1beta1.OperationMetadata other = (com.google.cloud.networkmanagement.v1beta1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusDetail().equals(other.getStatusDetail())) return false; - if (getCancelRequested() != other.getCancelRequested()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (getCancelRequested() + != other.getCancelRequested()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -506,7 +461,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER; hash = (53 * hash) + getStatusDetail().hashCode(); hash = (37 * hash) + CANCEL_REQUESTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancelRequested()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCancelRequested()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -515,136 +471,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata describing an [Operation][google.longrunning.Operation]
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.OperationMetadata) com.google.cloud.networkmanagement.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, - com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -668,14 +617,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.OperationMetadata - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.OperationMetadata getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.OperationMetadata.getDefaultInstance(); } @@ -690,23 +638,23 @@ public com.google.cloud.networkmanagement.v1beta1.OperationMetadata build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.networkmanagement.v1beta1.OperationMetadata result = - new com.google.cloud.networkmanagement.v1beta1.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.OperationMetadata result = new com.google.cloud.networkmanagement.v1beta1.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.OperationMetadata result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -729,39 +677,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.OperationMetadata) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -769,9 +716,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.OperationMetadata other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -827,55 +772,51 @@ 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: - { - statusDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - cancelRequested_ = 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: { + statusDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + cancelRequested_ = 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) { @@ -885,52 +826,38 @@ 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_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -951,15 +878,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -970,8 +896,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -980,9 +904,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ 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; @@ -995,8 +919,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1014,8 +936,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1028,8 +948,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1040,14 +958,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1055,17 +970,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1073,33 +985,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1110,8 +1013,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1132,15 +1033,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1151,8 +1051,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1161,9 +1059,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ 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; @@ -1176,8 +1074,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1195,8 +1091,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1209,8 +1103,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1221,12 +1113,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1234,17 +1125,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1252,21 +1140,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1275,22 +1161,21 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1298,37 +1183,30 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @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; } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1338,22 +1216,18 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; - * * @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; @@ -1363,20 +1237,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1385,21 +1257,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1407,35 +1278,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - 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; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1445,21 +1309,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - 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; @@ -1469,20 +1329,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1491,21 +1349,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1513,35 +1370,28 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusDetail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusDetail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { @@ -1551,21 +1401,17 @@ public Builder clearStatusDetail() { return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusDetail_ = value; bitField0_ |= 0x00000010; @@ -1573,16 +1419,13 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { return this; } - private boolean cancelRequested_; + private boolean cancelRequested_ ; /** - * - * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; - * * @return The cancelRequested. */ @java.lang.Override @@ -1590,33 +1433,27 @@ public boolean getCancelRequested() { return cancelRequested_; } /** - * - * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; - * * @param value The cancelRequested to set. * @return This builder for chaining. */ public Builder setCancelRequested(boolean value) { - + cancelRequested_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; - * * @return This builder for chaining. */ public Builder clearCancelRequested() { @@ -1628,20 +1465,18 @@ public Builder clearCancelRequested() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1650,21 +1485,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1672,35 +1506,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @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; } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1710,30 +1537,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * API version.
      * 
* * string api_version = 7; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - 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); } @@ -1743,13 +1566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.OperationMetadata) - private static final com.google.cloud.networkmanagement.v1beta1.OperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.OperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.OperationMetadata(); } @@ -1758,27 +1580,27 @@ public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata getDe 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; @@ -1793,4 +1615,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java similarity index 75% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java index a8f911a5b56a..493b43f90686 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,117 +62,94 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; - * * @return The cancelRequested. */ boolean getCancelRequested(); /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java similarity index 69% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java index 94550d5f886e..2526e9240795 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Results of active probing from the last run of the test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails} */ -public final class ProbingDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProbingDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails) ProbingDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProbingDetails.newBuilder() to construct. private ProbingDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProbingDetails() { result_ = 0; abortCause_ = 0; @@ -44,43 +26,39 @@ private ProbingDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProbingDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); } /** - * - * *
    * Overall probing result of the test.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult} */ - public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { + public enum ProbingResult + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No result was specified.
      * 
@@ -89,8 +67,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ PROBING_RESULT_UNSPECIFIED(0), /** - * - * *
      * At least 95% of packets reached the destination.
      * 
@@ -99,8 +75,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ REACHABLE(1), /** - * - * *
      * No packets reached the destination.
      * 
@@ -109,8 +83,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ UNREACHABLE(2), /** - * - * *
      * Less than 95% of packets reached the destination.
      * 
@@ -119,8 +91,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ REACHABILITY_INCONSISTENT(3), /** - * - * *
      * Reachability could not be determined. Possible reasons are:
      * * The user lacks permission to access some of the network resources
@@ -136,8 +106,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No result was specified.
      * 
@@ -146,8 +114,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROBING_RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * At least 95% of packets reached the destination.
      * 
@@ -156,8 +122,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REACHABLE_VALUE = 1; /** - * - * *
      * No packets reached the destination.
      * 
@@ -166,8 +130,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNREACHABLE_VALUE = 2; /** - * - * *
      * Less than 95% of packets reached the destination.
      * 
@@ -176,8 +138,6 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REACHABILITY_INCONSISTENT_VALUE = 3; /** - * - * *
      * Reachability could not be determined. Possible reasons are:
      * * The user lacks permission to access some of the network resources
@@ -190,6 +150,7 @@ public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNDETERMINED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -214,55 +175,51 @@ public static ProbingResult valueOf(int value) {
      */
     public static ProbingResult forNumber(int value) {
       switch (value) {
-        case 0:
-          return PROBING_RESULT_UNSPECIFIED;
-        case 1:
-          return REACHABLE;
-        case 2:
-          return UNREACHABLE;
-        case 3:
-          return REACHABILITY_INCONSISTENT;
-        case 4:
-          return UNDETERMINED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return PROBING_RESULT_UNSPECIFIED;
+        case 1: return REACHABLE;
+        case 2: return UNREACHABLE;
+        case 3: return REACHABILITY_INCONSISTENT;
+        case 4: return UNDETERMINED;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ProbingResult findValueByNumber(int number) {
-            return ProbingResult.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ProbingResult> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ProbingResult findValueByNumber(int number) {
+              return ProbingResult.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ProbingResult[] VALUES = values();
 
-    public static ProbingResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ProbingResult 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;
@@ -280,18 +237,15 @@ private ProbingResult(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Abort cause types.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause} */ - public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum { + public enum ProbingAbortCause + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No reason was specified.
      * 
@@ -300,8 +254,6 @@ public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum */ PROBING_ABORT_CAUSE_UNSPECIFIED(0), /** - * - * *
      * The user lacks permission to access some of the
      * network resources required to run the test.
@@ -311,8 +263,6 @@ public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum
      */
     PERMISSION_DENIED(1),
     /**
-     *
-     *
      * 
      * No valid source endpoint could be derived from the request.
      * 
@@ -324,8 +274,6 @@ public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No reason was specified.
      * 
@@ -334,8 +282,6 @@ public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROBING_ABORT_CAUSE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The user lacks permission to access some of the
      * network resources required to run the test.
@@ -345,8 +291,6 @@ public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int PERMISSION_DENIED_VALUE = 1;
     /**
-     *
-     *
      * 
      * No valid source endpoint could be derived from the request.
      * 
@@ -355,6 +299,7 @@ public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum */ public static final int NO_SOURCE_LOCATION_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -379,14 +324,10 @@ public static ProbingAbortCause valueOf(int value) { */ public static ProbingAbortCause forNumber(int value) { switch (value) { - case 0: - return PROBING_ABORT_CAUSE_UNSPECIFIED; - case 1: - return PERMISSION_DENIED; - case 2: - return NO_SOURCE_LOCATION; - default: - return null; + case 0: return PROBING_ABORT_CAUSE_UNSPECIFIED; + case 1: return PERMISSION_DENIED; + case 2: return NO_SOURCE_LOCATION; + default: return null; } } @@ -394,31 +335,29 @@ public static ProbingAbortCause forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ProbingAbortCause> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProbingAbortCause findValueByNumber(int number) { + return ProbingAbortCause.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProbingAbortCause findValueByNumber(int number) { - return ProbingAbortCause.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDescriptor().getEnumTypes().get(1); } private static final ProbingAbortCause[] VALUES = values(); @@ -426,7 +365,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ProbingAbortCause 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; @@ -443,39 +383,31 @@ private ProbingAbortCause(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause) } - public interface EdgeLocationOrBuilder - extends + public interface EdgeLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; - * * @return The metropolitanArea. */ java.lang.String getMetropolitanArea(); /** - * - * *
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; - * * @return The bytes for metropolitanArea. */ - com.google.protobuf.ByteString getMetropolitanAreaBytes(); + com.google.protobuf.ByteString + getMetropolitanAreaBytes(); } /** - * - * *
    * Representation of a network edge location as per
    * https://cloud.google.com/vpc/docs/edge-locations.
@@ -483,59 +415,53 @@ public interface EdgeLocationOrBuilder
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation}
    */
-  public static final class EdgeLocation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class EdgeLocation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
       EdgeLocationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use EdgeLocation.newBuilder() to construct.
     private EdgeLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private EdgeLocation() {
       metropolitanArea_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new EdgeLocation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
-          .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
-          .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class,
-              com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
     }
 
     public static final int METROPOLITAN_AREA_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object metropolitanArea_ = "";
     /**
-     *
-     *
      * 
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; - * * @return The metropolitanArea. */ @java.lang.Override @@ -544,29 +470,29 @@ public java.lang.String getMetropolitanArea() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metropolitanArea_ = s; return s; } } /** - * - * *
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; - * * @return The bytes for metropolitanArea. */ @java.lang.Override - public com.google.protobuf.ByteString getMetropolitanAreaBytes() { + public com.google.protobuf.ByteString + getMetropolitanAreaBytes() { java.lang.Object ref = metropolitanArea_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metropolitanArea_ = b; return b; } else { @@ -575,7 +501,6 @@ public com.google.protobuf.ByteString getMetropolitanAreaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -587,7 +512,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metropolitanArea_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metropolitanArea_); } @@ -611,16 +537,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.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)) { + if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other = - (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) obj; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other = (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) obj; - if (!getMetropolitanArea().equals(other.getMetropolitanArea())) return false; + if (!getMetropolitanArea() + .equals(other.getMetropolitanArea())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -640,95 +565,87 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -738,8 +655,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Representation of a network edge location as per
      * https://cloud.google.com/vpc/docs/edge-locations.
@@ -747,35 +662,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
         com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
-            .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
-            .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
+        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class,
-                com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder
-                    .class);
+                com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -785,22 +698,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
-            .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
-          getDefaultInstanceForType() {
-        return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
-            .getDefaultInstance();
+      public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDefaultInstanceForType() {
+        return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation build() {
-        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result =
-            buildPartial();
+        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -809,17 +719,13 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation bu
 
       @java.lang.Override
       public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation buildPartial() {
-        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result =
-            new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result) {
+      private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.metropolitanArea_ = metropolitanArea_;
@@ -830,54 +736,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) {
-          return mergeFrom(
-              (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) other);
+        if (other instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) {
+          return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other) {
-        if (other
-            == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other) {
+        if (other == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance()) return this;
         if (!other.getMetropolitanArea().isEmpty()) {
           metropolitanArea_ = other.metropolitanArea_;
           bitField0_ |= 0x00000001;
@@ -909,19 +807,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  metropolitanArea_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                metropolitanArea_ = 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) {
@@ -931,25 +827,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object metropolitanArea_ = "";
       /**
-       *
-       *
        * 
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; - * * @return The metropolitanArea. */ public java.lang.String getMetropolitanArea() { java.lang.Object ref = metropolitanArea_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metropolitanArea_ = s; return s; @@ -958,21 +851,20 @@ public java.lang.String getMetropolitanArea() { } } /** - * - * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; - * * @return The bytes for metropolitanArea. */ - public com.google.protobuf.ByteString getMetropolitanAreaBytes() { + public com.google.protobuf.ByteString + getMetropolitanAreaBytes() { java.lang.Object ref = metropolitanArea_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metropolitanArea_ = b; return b; } else { @@ -980,35 +872,28 @@ public com.google.protobuf.ByteString getMetropolitanAreaBytes() { } } /** - * - * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; - * * @param value The metropolitanArea to set. * @return This builder for chaining. */ - public Builder setMetropolitanArea(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetropolitanArea( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } metropolitanArea_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; - * * @return This builder for chaining. */ public Builder clearMetropolitanArea() { @@ -1018,28 +903,23 @@ public Builder clearMetropolitanArea() { return this; } /** - * - * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; - * * @param value The bytes for metropolitanArea to set. * @return This builder for chaining. */ - public Builder setMetropolitanAreaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetropolitanAreaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metropolitanArea_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1052,45 +932,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) - private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EdgeLocation 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 EdgeLocation 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; @@ -1102,60 +978,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RESULT_FIELD_NUMBER = 1; private int result_ = 0; /** - * - * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return The result. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber(result_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult() { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber(result_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED : result; } public static final int VERIFY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp verifyTime_; /** - * - * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ @java.lang.Override @@ -1163,14 +1025,11 @@ public boolean hasVerifyTime() { return verifyTime_ != null; } /** - * - * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ @java.lang.Override @@ -1178,8 +1037,6 @@ public com.google.protobuf.Timestamp getVerifyTime() { return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } /** - * - * *
    * The time that reachability was assessed through active probing.
    * 
@@ -1194,14 +1051,11 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** - * - * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1209,14 +1063,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override @@ -1224,8 +1075,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * Details about an internal failure or the cancellation of active probing.
    * 
@@ -1240,55 +1089,37 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { public static final int ABORT_CAUSE_FIELD_NUMBER = 4; private int abortCause_ = 0; /** - * - * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return The enum numeric value on the wire for abortCause. */ - @java.lang.Override - public int getAbortCauseValue() { + @java.lang.Override public int getAbortCauseValue() { return abortCause_; } /** - * - * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return The abortCause. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause - getAbortCause() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber( - abortCause_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause getAbortCause() { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber(abortCause_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED : result; } public static final int SENT_PROBE_COUNT_FIELD_NUMBER = 5; private int sentProbeCount_ = 0; /** - * - * *
    * Number of probes sent.
    * 
* * int32 sent_probe_count = 5; - * * @return The sentProbeCount. */ @java.lang.Override @@ -1299,14 +1130,11 @@ public int getSentProbeCount() { public static final int SUCCESSFUL_PROBE_COUNT_FIELD_NUMBER = 6; private int successfulProbeCount_ = 0; /** - * - * *
    * Number of probes that reached the destination.
    * 
* * int32 successful_probe_count = 6; - * * @return The successfulProbeCount. */ @java.lang.Override @@ -1317,15 +1145,12 @@ public int getSuccessfulProbeCount() { public static final int ENDPOINT_INFO_FIELD_NUMBER = 7; private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_; /** - * - * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; - * * @return Whether the endpointInfo field is set. */ @java.lang.Override @@ -1333,26 +1158,19 @@ public boolean hasEndpointInfo() { return endpointInfo_ != null; } /** - * - * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; - * * @return The endpointInfo. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { - return endpointInfo_ == null - ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() - : endpointInfo_; + return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; } /** - * - * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
@@ -1361,25 +1179,19 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo()
    * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
-      getEndpointInfoOrBuilder() {
-    return endpointInfo_ == null
-        ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
-        : endpointInfo_;
+  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
+    return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
   }
 
   public static final int PROBING_LATENCY_FIELD_NUMBER = 8;
   private com.google.cloud.networkmanagement.v1beta1.LatencyDistribution probingLatency_;
   /**
-   *
-   *
    * 
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; - * * @return Whether the probingLatency field is set. */ @java.lang.Override @@ -1387,26 +1199,19 @@ public boolean hasProbingLatency() { return probingLatency_ != null; } /** - * - * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; - * * @return The probingLatency. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbingLatency() { - return probingLatency_ == null - ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() - : probingLatency_; + return probingLatency_ == null ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_; } /** - * - * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
@@ -1415,19 +1220,13 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbing
    * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
-      getProbingLatencyOrBuilder() {
-    return probingLatency_ == null
-        ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()
-        : probingLatency_;
+  public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder getProbingLatencyOrBuilder() {
+    return probingLatency_ == null ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_;
   }
 
   public static final int DESTINATION_EGRESS_LOCATION_FIELD_NUMBER = 9;
-  private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
-      destinationEgressLocation_;
+  private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destinationEgressLocation_;
   /**
-   *
-   *
    * 
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -1437,10 +1236,7 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbing
    * destination/source is part of the Google network.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; * @return Whether the destinationEgressLocation field is set. */ @java.lang.Override @@ -1448,8 +1244,6 @@ public boolean hasDestinationEgressLocation() { return destinationEgressLocation_ != null; } /** - * - * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -1459,23 +1253,14 @@ public boolean hasDestinationEgressLocation() {
    * destination/source is part of the Google network.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; * @return The destinationEgressLocation. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - getDestinationEgressLocation() { - return destinationEgressLocation_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - .getDefaultInstance() - : destinationEgressLocation_; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDestinationEgressLocation() { + return destinationEgressLocation_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; } /** - * - * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -1485,21 +1270,14 @@ public boolean hasDestinationEgressLocation() {
    * destination/source is part of the Google network.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder - getDestinationEgressLocationOrBuilder() { - return destinationEgressLocation_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - .getDefaultInstance() - : destinationEgressLocation_; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder() { + return destinationEgressLocation_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1511,11 +1289,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (result_ - != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult - .PROBING_RESULT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (result_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.PROBING_RESULT_UNSPECIFIED.getNumber()) { output.writeEnum(1, result_); } if (verifyTime_ != null) { @@ -1524,10 +1300,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (error_ != null) { output.writeMessage(3, getError()); } - if (abortCause_ - != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause - .PROBING_ABORT_CAUSE_UNSPECIFIED - .getNumber()) { + if (abortCause_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.PROBING_ABORT_CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(4, abortCause_); } if (sentProbeCount_ != 0) { @@ -1554,40 +1327,41 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (result_ - != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult - .PROBING_RESULT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_); + if (result_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.PROBING_RESULT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, result_); } if (verifyTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getVerifyTime()); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getError()); } - if (abortCause_ - != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause - .PROBING_ABORT_CAUSE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, abortCause_); + if (abortCause_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.PROBING_ABORT_CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, abortCause_); } if (sentProbeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, sentProbeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, sentProbeCount_); } if (successfulProbeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, successfulProbeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, successfulProbeCount_); } if (endpointInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEndpointInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getEndpointInfo()); } if (probingLatency_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getProbingLatency()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getProbingLatency()); } if (destinationEgressLocation_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, getDestinationEgressLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDestinationEgressLocation()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1597,38 +1371,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ProbingDetails other = - (com.google.cloud.networkmanagement.v1beta1.ProbingDetails) obj; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails other = (com.google.cloud.networkmanagement.v1beta1.ProbingDetails) obj; if (result_ != other.result_) return false; if (hasVerifyTime() != other.hasVerifyTime()) return false; if (hasVerifyTime()) { - if (!getVerifyTime().equals(other.getVerifyTime())) return false; + if (!getVerifyTime() + .equals(other.getVerifyTime())) return false; } if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } if (abortCause_ != other.abortCause_) return false; - if (getSentProbeCount() != other.getSentProbeCount()) return false; - if (getSuccessfulProbeCount() != other.getSuccessfulProbeCount()) return false; + if (getSentProbeCount() + != other.getSentProbeCount()) return false; + if (getSuccessfulProbeCount() + != other.getSuccessfulProbeCount()) return false; if (hasEndpointInfo() != other.hasEndpointInfo()) return false; if (hasEndpointInfo()) { - if (!getEndpointInfo().equals(other.getEndpointInfo())) return false; + if (!getEndpointInfo() + .equals(other.getEndpointInfo())) return false; } if (hasProbingLatency() != other.hasProbingLatency()) return false; if (hasProbingLatency()) { - if (!getProbingLatency().equals(other.getProbingLatency())) return false; + if (!getProbingLatency() + .equals(other.getProbingLatency())) return false; } if (hasDestinationEgressLocation() != other.hasDestinationEgressLocation()) return false; if (hasDestinationEgressLocation()) { - if (!getDestinationEgressLocation().equals(other.getDestinationEgressLocation())) - return false; + if (!getDestinationEgressLocation() + .equals(other.getDestinationEgressLocation())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1675,136 +1454,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails 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.networkmanagement.v1beta1.ProbingDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ProbingDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Results of active probing from the last run of the test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails) com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ProbingDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1842,9 +1614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; } @java.lang.Override @@ -1863,11 +1635,8 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails result = - new com.google.cloud.networkmanagement.v1beta1.ProbingDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.ProbingDetails result = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1878,10 +1647,14 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet result.result_ = result_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyTime_ = verifyTimeBuilder_ == null ? verifyTime_ : verifyTimeBuilder_.build(); + result.verifyTime_ = verifyTimeBuilder_ == null + ? verifyTime_ + : verifyTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + result.error_ = errorBuilder_ == null + ? error_ + : errorBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.abortCause_ = abortCause_; @@ -1893,18 +1666,19 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet result.successfulProbeCount_ = successfulProbeCount_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.endpointInfo_ = - endpointInfoBuilder_ == null ? endpointInfo_ : endpointInfoBuilder_.build(); + result.endpointInfo_ = endpointInfoBuilder_ == null + ? endpointInfo_ + : endpointInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.probingLatency_ = - probingLatencyBuilder_ == null ? probingLatency_ : probingLatencyBuilder_.build(); + result.probingLatency_ = probingLatencyBuilder_ == null + ? probingLatency_ + : probingLatencyBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.destinationEgressLocation_ = - destinationEgressLocationBuilder_ == null - ? destinationEgressLocation_ - : destinationEgressLocationBuilder_.build(); + result.destinationEgressLocation_ = destinationEgressLocationBuilder_ == null + ? destinationEgressLocation_ + : destinationEgressLocationBuilder_.build(); } } @@ -1912,39 +1686,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ProbingDetails) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ProbingDetails)other); } else { super.mergeFrom(other); return this; @@ -1952,8 +1725,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ProbingDetails other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -2007,68 +1779,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getVerifyTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - abortCause_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - sentProbeCount_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - successfulProbeCount_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: - { - input.readMessage(getEndpointInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - input.readMessage(getProbingLatencyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: - { - input.readMessage( - getDestinationEgressLocationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getVerifyTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + abortCause_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + sentProbeCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + successfulProbeCount_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + input.readMessage( + getEndpointInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getProbingLatencyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + input.readMessage( + getDestinationEgressLocationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + 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) { @@ -2078,34 +1849,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int result_ = 0; /** - * - * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -2116,39 +1879,28 @@ public Builder setResultValue(int value) { return this; } /** - * - * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return The result. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber( - result_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber(result_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED : result; } /** - * - * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult value) { + public Builder setResult(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult value) { if (value == null) { throw new NullPointerException(); } @@ -2158,14 +1910,11 @@ public Builder setResult( return this; } /** - * - * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return This builder for chaining. */ public Builder clearResult() { @@ -2177,47 +1926,34 @@ public Builder clearResult() { private com.google.protobuf.Timestamp verifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - verifyTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> verifyTimeBuilder_; /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ public boolean hasVerifyTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ public com.google.protobuf.Timestamp getVerifyTime() { if (verifyTimeBuilder_ == null) { - return verifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : verifyTime_; + return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } else { return verifyTimeBuilder_.getMessage(); } } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2238,15 +1974,14 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
* * .google.protobuf.Timestamp verify_time = 2; */ - public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setVerifyTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (verifyTimeBuilder_ == null) { verifyTime_ = builderForValue.build(); } else { @@ -2257,8 +1992,6 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2267,9 +2000,9 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { if (verifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && verifyTime_ != null - && verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + verifyTime_ != null && + verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getVerifyTimeBuilder().mergeFrom(value); } else { verifyTime_ = value; @@ -2282,8 +2015,6 @@ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2301,8 +2032,6 @@ public Builder clearVerifyTime() { return this; } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2315,8 +2044,6 @@ public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder() { return getVerifyTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2327,14 +2054,11 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { if (verifyTimeBuilder_ != null) { return verifyTimeBuilder_.getMessageOrBuilder(); } else { - return verifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : verifyTime_; + return verifyTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } } /** - * - * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2342,17 +2066,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { * .google.protobuf.Timestamp verify_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getVerifyTimeFieldBuilder() { if (verifyTimeBuilder_ == null) { - verifyTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getVerifyTime(), getParentForChildren(), isClean()); + verifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getVerifyTime(), + getParentForChildren(), + isClean()); verifyTime_ = null; } return verifyTimeBuilder_; @@ -2360,31 +2081,24 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
* * .google.rpc.Status error = 3; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -2395,8 +2109,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2417,15 +2129,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -2436,8 +2147,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2446,9 +2155,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && error_ != null - && error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + error_ != null && + error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -2461,8 +2170,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2480,8 +2187,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2494,8 +2199,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2506,12 +2209,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2519,14 +2221,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; @@ -2534,33 +2236,22 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { private int abortCause_ = 0; /** - * - * *
      * The reason probing was aborted.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return The enum numeric value on the wire for abortCause. */ - @java.lang.Override - public int getAbortCauseValue() { + @java.lang.Override public int getAbortCauseValue() { return abortCause_; } /** - * - * *
      * The reason probing was aborted.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @param value The enum numeric value on the wire for abortCause to set. * @return This builder for chaining. */ @@ -2571,44 +2262,28 @@ public Builder setAbortCauseValue(int value) { return this; } /** - * - * *
      * The reason probing was aborted.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return The abortCause. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause - getAbortCause() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber( - abortCause_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED - : result; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause getAbortCause() { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber(abortCause_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED : result; } /** - * - * *
      * The reason probing was aborted.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @param value The abortCause to set. * @return This builder for chaining. */ - public Builder setAbortCause( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause value) { + public Builder setAbortCause(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause value) { if (value == null) { throw new NullPointerException(); } @@ -2618,16 +2293,11 @@ public Builder setAbortCause( return this; } /** - * - * *
      * The reason probing was aborted.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return This builder for chaining. */ public Builder clearAbortCause() { @@ -2637,16 +2307,13 @@ public Builder clearAbortCause() { return this; } - private int sentProbeCount_; + private int sentProbeCount_ ; /** - * - * *
      * Number of probes sent.
      * 
* * int32 sent_probe_count = 5; - * * @return The sentProbeCount. */ @java.lang.Override @@ -2654,33 +2321,27 @@ public int getSentProbeCount() { return sentProbeCount_; } /** - * - * *
      * Number of probes sent.
      * 
* * int32 sent_probe_count = 5; - * * @param value The sentProbeCount to set. * @return This builder for chaining. */ public Builder setSentProbeCount(int value) { - + sentProbeCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Number of probes sent.
      * 
* * int32 sent_probe_count = 5; - * * @return This builder for chaining. */ public Builder clearSentProbeCount() { @@ -2690,16 +2351,13 @@ public Builder clearSentProbeCount() { return this; } - private int successfulProbeCount_; + private int successfulProbeCount_ ; /** - * - * *
      * Number of probes that reached the destination.
      * 
* * int32 successful_probe_count = 6; - * * @return The successfulProbeCount. */ @java.lang.Override @@ -2707,33 +2365,27 @@ public int getSuccessfulProbeCount() { return successfulProbeCount_; } /** - * - * *
      * Number of probes that reached the destination.
      * 
* * int32 successful_probe_count = 6; - * * @param value The successfulProbeCount to set. * @return This builder for chaining. */ public Builder setSuccessfulProbeCount(int value) { - + successfulProbeCount_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Number of probes that reached the destination.
      * 
* * int32 successful_probe_count = 6; - * * @return This builder for chaining. */ public Builder clearSuccessfulProbeCount() { @@ -2745,49 +2397,36 @@ public Builder clearSuccessfulProbeCount() { private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.EndpointInfo, - com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> - endpointInfoBuilder_; + com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> endpointInfoBuilder_; /** - * - * *
      * The source and destination endpoints derived from the test input and used
      * for active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; - * * @return Whether the endpointInfo field is set. */ public boolean hasEndpointInfo() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The source and destination endpoints derived from the test input and used
      * for active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; - * * @return The endpointInfo. */ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { if (endpointInfoBuilder_ == null) { - return endpointInfo_ == null - ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() - : endpointInfo_; + return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; } else { return endpointInfoBuilder_.getMessage(); } } /** - * - * *
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2809,8 +2448,6 @@ public Builder setEndpointInfo(com.google.cloud.networkmanagement.v1beta1.Endpoi
       return this;
     }
     /**
-     *
-     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2830,8 +2467,6 @@ public Builder setEndpointInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2839,13 +2474,11 @@ public Builder setEndpointInfo(
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
-    public Builder mergeEndpointInfo(
-        com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
+    public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
       if (endpointInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && endpointInfo_ != null
-            && endpointInfo_
-                != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          endpointInfo_ != null &&
+          endpointInfo_ != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
           getEndpointInfoBuilder().mergeFrom(value);
         } else {
           endpointInfo_ = value;
@@ -2858,8 +2491,6 @@ public Builder mergeEndpointInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2878,8 +2509,6 @@ public Builder clearEndpointInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2887,15 +2516,12 @@ public Builder clearEndpointInfo() {
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder
-        getEndpointInfoBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpointInfoBuilder() {
       bitField0_ |= 0x00000040;
       onChanged();
       return getEndpointInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2903,19 +2529,15 @@ public Builder clearEndpointInfo() {
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
-        getEndpointInfoOrBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
       if (endpointInfoBuilder_ != null) {
         return endpointInfoBuilder_.getMessageOrBuilder();
       } else {
-        return endpointInfo_ == null
-            ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
-            : endpointInfo_;
+        return endpointInfo_ == null ?
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2924,17 +2546,14 @@ public Builder clearEndpointInfo() {
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
+        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> 
         getEndpointInfoFieldBuilder() {
       if (endpointInfoBuilder_ == null) {
-        endpointInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
-                getEndpointInfo(), getParentForChildren(), isClean());
+        endpointInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
+                getEndpointInfo(),
+                getParentForChildren(),
+                isClean());
         endpointInfo_ = null;
       }
       return endpointInfoBuilder_;
@@ -2942,49 +2561,36 @@ public Builder clearEndpointInfo() {
 
     private com.google.cloud.networkmanagement.v1beta1.LatencyDistribution probingLatency_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution,
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder,
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>
-        probingLatencyBuilder_;
+        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder> probingLatencyBuilder_;
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
      * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; - * * @return Whether the probingLatency field is set. */ public boolean hasProbingLatency() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
      * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; - * * @return The probingLatency. */ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbingLatency() { if (probingLatencyBuilder_ == null) { - return probingLatency_ == null - ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() - : probingLatency_; + return probingLatency_ == null ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_; } else { return probingLatencyBuilder_.getMessage(); } } /** - * - * *
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2992,8 +2598,7 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbing
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public Builder setProbingLatency(
-        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
+    public Builder setProbingLatency(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
       if (probingLatencyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3007,8 +2612,6 @@ public Builder setProbingLatency(
       return this;
     }
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -3028,8 +2631,6 @@ public Builder setProbingLatency(
       return this;
     }
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -3037,14 +2638,11 @@ public Builder setProbingLatency(
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public Builder mergeProbingLatency(
-        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
+    public Builder mergeProbingLatency(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
       if (probingLatencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0)
-            && probingLatency_ != null
-            && probingLatency_
-                != com.google.cloud.networkmanagement.v1beta1.LatencyDistribution
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0) &&
+          probingLatency_ != null &&
+          probingLatency_ != com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()) {
           getProbingLatencyBuilder().mergeFrom(value);
         } else {
           probingLatency_ = value;
@@ -3057,8 +2655,6 @@ public Builder mergeProbingLatency(
       return this;
     }
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -3077,8 +2673,6 @@ public Builder clearProbingLatency() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -3086,15 +2680,12 @@ public Builder clearProbingLatency() {
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder
-        getProbingLatencyBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder getProbingLatencyBuilder() {
       bitField0_ |= 0x00000080;
       onChanged();
       return getProbingLatencyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -3102,19 +2693,15 @@ public Builder clearProbingLatency() {
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
-        getProbingLatencyOrBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder getProbingLatencyOrBuilder() {
       if (probingLatencyBuilder_ != null) {
         return probingLatencyBuilder_.getMessageOrBuilder();
       } else {
-        return probingLatency_ == null
-            ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()
-            : probingLatency_;
+        return probingLatency_ == null ?
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_;
       }
     }
     /**
-     *
-     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -3123,32 +2710,23 @@ public Builder clearProbingLatency() {
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution,
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder,
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>
+        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder> 
         getProbingLatencyFieldBuilder() {
       if (probingLatencyBuilder_ == null) {
-        probingLatencyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1beta1.LatencyDistribution,
-                com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder,
-                com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>(
-                getProbingLatency(), getParentForChildren(), isClean());
+        probingLatencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>(
+                getProbingLatency(),
+                getParentForChildren(),
+                isClean());
         probingLatency_ = null;
       }
       return probingLatencyBuilder_;
     }
 
-    private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
-        destinationEgressLocation_;
+    private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destinationEgressLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation,
-            com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder,
-            com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>
-        destinationEgressLocationBuilder_;
+        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder> destinationEgressLocationBuilder_;
     /**
-     *
-     *
      * 
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3158,18 +2736,13 @@ public Builder clearProbingLatency() {
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; * @return Whether the destinationEgressLocation field is set. */ public boolean hasDestinationEgressLocation() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3179,26 +2752,17 @@ public boolean hasDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; * @return The destinationEgressLocation. */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - getDestinationEgressLocation() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDestinationEgressLocation() { if (destinationEgressLocationBuilder_ == null) { - return destinationEgressLocation_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - .getDefaultInstance() - : destinationEgressLocation_; + return destinationEgressLocation_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; } else { return destinationEgressLocationBuilder_.getMessage(); } } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3208,12 +2772,9 @@ public boolean hasDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ - public Builder setDestinationEgressLocation( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { + public Builder setDestinationEgressLocation(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { if (destinationEgressLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3227,8 +2788,6 @@ public Builder setDestinationEgressLocation( return this; } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3238,13 +2797,10 @@ public Builder setDestinationEgressLocation(
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ public Builder setDestinationEgressLocation( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder - builderForValue) { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder builderForValue) { if (destinationEgressLocationBuilder_ == null) { destinationEgressLocation_ = builderForValue.build(); } else { @@ -3255,8 +2811,6 @@ public Builder setDestinationEgressLocation( return this; } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3266,18 +2820,13 @@ public Builder setDestinationEgressLocation(
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ - public Builder mergeDestinationEgressLocation( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { + public Builder mergeDestinationEgressLocation(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { if (destinationEgressLocationBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && destinationEgressLocation_ != null - && destinationEgressLocation_ - != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + destinationEgressLocation_ != null && + destinationEgressLocation_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance()) { getDestinationEgressLocationBuilder().mergeFrom(value); } else { destinationEgressLocation_ = value; @@ -3290,8 +2839,6 @@ public Builder mergeDestinationEgressLocation( return this; } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3301,9 +2848,7 @@ public Builder mergeDestinationEgressLocation(
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ public Builder clearDestinationEgressLocation() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3316,8 +2861,6 @@ public Builder clearDestinationEgressLocation() { return this; } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3327,19 +2870,14 @@ public Builder clearDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder - getDestinationEgressLocationBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder getDestinationEgressLocationBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDestinationEgressLocationFieldBuilder().getBuilder(); } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3349,24 +2887,17 @@ public Builder clearDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder - getDestinationEgressLocationOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder() { if (destinationEgressLocationBuilder_ != null) { return destinationEgressLocationBuilder_.getMessageOrBuilder(); } else { - return destinationEgressLocation_ == null - ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - .getDefaultInstance() - : destinationEgressLocation_; + return destinationEgressLocation_ == null ? + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; } } /** - * - * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -3376,29 +2907,24 @@ public Builder clearDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder> getDestinationEgressLocationFieldBuilder() { if (destinationEgressLocationBuilder_ == null) { - destinationEgressLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>( - getDestinationEgressLocation(), getParentForChildren(), isClean()); + destinationEgressLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>( + getDestinationEgressLocation(), + getParentForChildren(), + isClean()); destinationEgressLocation_ = null; } return destinationEgressLocationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3408,12 +2934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails) private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails(); } @@ -3422,27 +2948,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProbingDetails 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 ProbingDetails 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; @@ -3457,4 +2983,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java similarity index 80% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java index 22e6bc5bf563..99dc6a72d471 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java @@ -1,80 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ProbingDetailsOrBuilder - extends +public interface ProbingDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ProbingDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** - * - * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; - * * @return The result. */ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult(); /** - * - * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ boolean hasVerifyTime(); /** - * - * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ com.google.protobuf.Timestamp getVerifyTime(); /** - * - * *
    * The time that reachability was assessed through active probing.
    * 
@@ -84,32 +54,24 @@ public interface ProbingDetailsOrBuilder com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder(); /** - * - * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Details about an internal failure or the cancellation of active probing.
    * 
@@ -119,87 +81,65 @@ public interface ProbingDetailsOrBuilder com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** - * - * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return The enum numeric value on the wire for abortCause. */ int getAbortCauseValue(); /** - * - * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; * @return The abortCause. */ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause getAbortCause(); /** - * - * *
    * Number of probes sent.
    * 
* * int32 sent_probe_count = 5; - * * @return The sentProbeCount. */ int getSentProbeCount(); /** - * - * *
    * Number of probes that reached the destination.
    * 
* * int32 successful_probe_count = 6; - * * @return The successfulProbeCount. */ int getSuccessfulProbeCount(); /** - * - * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; - * * @return Whether the endpointInfo field is set. */ boolean hasEndpointInfo(); /** - * - * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; - * * @return The endpointInfo. */ com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo(); /** - * - * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
@@ -210,34 +150,26 @@ public interface ProbingDetailsOrBuilder
   com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; - * * @return Whether the probingLatency field is set. */ boolean hasProbingLatency(); /** - * - * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; - * * @return The probingLatency. */ com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbingLatency(); /** - * - * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
@@ -245,12 +177,9 @@ public interface ProbingDetailsOrBuilder
    *
    * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
    */
-  com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
-      getProbingLatencyOrBuilder();
+  com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder getProbingLatencyOrBuilder();
 
   /**
-   *
-   *
    * 
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -260,16 +189,11 @@ public interface ProbingDetailsOrBuilder
    * destination/source is part of the Google network.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; * @return Whether the destinationEgressLocation field is set. */ boolean hasDestinationEgressLocation(); /** - * - * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -279,17 +203,11 @@ public interface ProbingDetailsOrBuilder
    * destination/source is part of the Google network.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; * @return The destinationEgressLocation. */ - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation - getDestinationEgressLocation(); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDestinationEgressLocation(); /** - * - * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -299,10 +217,7 @@ public interface ProbingDetailsOrBuilder
    * destination/source is part of the Google network.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; - * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; */ - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder - getDestinationEgressLocationOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java index 9070816b6769..077ad587d958 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * Results of the configuration analysis from the last run of the test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ReachabilityDetails} */ -public final class ReachabilityDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReachabilityDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ReachabilityDetails) ReachabilityDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReachabilityDetails.newBuilder() to construct. private ReachabilityDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReachabilityDetails() { result_ = 0; traces_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private ReachabilityDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReachabilityDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); } /** - * - * *
    * The overall result of the test's configuration analysis.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result} */ - public enum Result implements com.google.protobuf.ProtocolMessageEnum { + public enum Result + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No result was specified.
      * 
@@ -89,8 +67,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ RESULT_UNSPECIFIED(0), /** - * - * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -104,8 +80,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     REACHABLE(1),
     /**
-     *
-     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -115,8 +89,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNREACHABLE(2),
     /**
-     *
-     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -128,8 +100,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     AMBIGUOUS(4),
     /**
-     *
-     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -146,8 +116,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No result was specified.
      * 
@@ -156,8 +124,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -171,8 +137,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REACHABLE_VALUE = 1;
     /**
-     *
-     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -182,8 +146,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNREACHABLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -195,8 +157,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AMBIGUOUS_VALUE = 4;
     /**
-     *
-     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -210,6 +170,7 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNDETERMINED_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -234,55 +195,51 @@ public static Result valueOf(int value) {
      */
     public static Result forNumber(int value) {
       switch (value) {
-        case 0:
-          return RESULT_UNSPECIFIED;
-        case 1:
-          return REACHABLE;
-        case 2:
-          return UNREACHABLE;
-        case 4:
-          return AMBIGUOUS;
-        case 5:
-          return UNDETERMINED;
-        default:
-          return null;
+        case 0: return RESULT_UNSPECIFIED;
+        case 1: return REACHABLE;
+        case 2: return UNREACHABLE;
+        case 4: return AMBIGUOUS;
+        case 5: return UNDETERMINED;
+        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<
+        Result> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Result findValueByNumber(int number) {
+              return Result.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Result findValueByNumber(int number) {
-            return Result.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Result[] VALUES = values();
 
-    public static Result valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Result valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -302,51 +259,37 @@ private Result(int value) {
   public static final int RESULT_FIELD_NUMBER = 1;
   private int result_ = 0;
   /**
-   *
-   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return The result. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult() { + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED : result; } public static final int VERIFY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp verifyTime_; /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ @java.lang.Override @@ -354,14 +297,11 @@ public boolean hasVerifyTime() { return verifyTime_ != null; } /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ @java.lang.Override @@ -369,8 +309,6 @@ public com.google.protobuf.Timestamp getVerifyTime() { return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } /** - * - * *
    * The time of the configuration analysis.
    * 
@@ -385,14 +323,11 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -400,14 +335,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override @@ -415,8 +347,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -429,12 +359,9 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } public static final int TRACES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List traces_; /** - * - * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -448,8 +375,6 @@ public java.util.List getTrace
     return traces_;
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -459,13 +384,11 @@ public java.util.List getTrace
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTracesOrBuilderList() {
     return traces_;
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -479,8 +402,6 @@ public int getTracesCount() {
     return traces_.size();
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -494,8 +415,6 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
     return traces_.get(index);
   }
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -505,12 +424,12 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(int index) {
+  public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(
+      int index) {
     return traces_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,10 +441,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (result_
-        != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (result_ != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, result_);
     }
     if (verifyTime_ != null) {
@@ -546,19 +464,21 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (result_
-        != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_);
+    if (result_ != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, result_);
     }
     if (verifyTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getVerifyTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getError());
     }
     for (int i = 0; i < traces_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, traces_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, traces_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -568,24 +488,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails other =
-        (com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) obj;
+    com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails other = (com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) obj;
 
     if (result_ != other.result_) return false;
     if (hasVerifyTime() != other.hasVerifyTime()) return false;
     if (hasVerifyTime()) {
-      if (!getVerifyTime().equals(other.getVerifyTime())) return false;
+      if (!getVerifyTime()
+          .equals(other.getVerifyTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
-    if (!getTracesList().equals(other.getTracesList())) return false;
+    if (!getTracesList()
+        .equals(other.getTracesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -617,136 +539,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails 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.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails prototype) {
+  public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Results of the configuration analysis from the last run of the test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ReachabilityDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ReachabilityDetails) com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -773,14 +688,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass - .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance(); } @@ -795,18 +709,14 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result = - new com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails(this); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result = new com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { if (tracesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { traces_ = java.util.Collections.unmodifiableList(traces_); @@ -818,17 +728,20 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyTime_ = verifyTimeBuilder_ == null ? verifyTime_ : verifyTimeBuilder_.build(); + result.verifyTime_ = verifyTimeBuilder_ == null + ? verifyTime_ + : verifyTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + result.error_ = errorBuilder_ == null + ? error_ + : errorBuilder_.build(); } } @@ -836,39 +749,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails)other); } else { super.mergeFrom(other); return this; @@ -876,9 +788,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -906,10 +816,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Reachability tracesBuilder_ = null; traces_ = other.traces_; bitField0_ = (bitField0_ & ~0x00000008); - tracesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracesFieldBuilder() - : null; + tracesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracesFieldBuilder() : null; } else { tracesBuilder_.addAllMessages(other.traces_); } @@ -941,45 +850,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getVerifyTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - com.google.cloud.networkmanagement.v1beta1.Trace m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.Trace.parser(), - extensionRegistry); - if (tracesBuilder_ == null) { - ensureTracesIsMutable(); - traces_.add(m); - } else { - tracesBuilder_.addMessage(m); - } - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getVerifyTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + com.google.cloud.networkmanagement.v1beta1.Trace m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.Trace.parser(), + extensionRegistry); + if (tracesBuilder_ == null) { + ensureTracesIsMutable(); + traces_.add(m); + } else { + tracesBuilder_.addMessage(m); + } + 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) { @@ -989,34 +897,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int result_ = 0; /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -1027,38 +927,28 @@ public Builder setResultValue(int value) { return this; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return The result. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED : result; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result value) { + public Builder setResult(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result value) { if (value == null) { throw new NullPointerException(); } @@ -1068,14 +958,11 @@ public Builder setResult( return this; } /** - * - * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return This builder for chaining. */ public Builder clearResult() { @@ -1087,47 +974,34 @@ public Builder clearResult() { private com.google.protobuf.Timestamp verifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - verifyTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> verifyTimeBuilder_; /** - * - * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ public boolean hasVerifyTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ public com.google.protobuf.Timestamp getVerifyTime() { if (verifyTimeBuilder_ == null) { - return verifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : verifyTime_; + return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } else { return verifyTimeBuilder_.getMessage(); } } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1148,15 +1022,14 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; */ - public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setVerifyTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (verifyTimeBuilder_ == null) { verifyTime_ = builderForValue.build(); } else { @@ -1167,8 +1040,6 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1177,9 +1048,9 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { if (verifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && verifyTime_ != null - && verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + verifyTime_ != null && + verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getVerifyTimeBuilder().mergeFrom(value); } else { verifyTime_ = value; @@ -1192,8 +1063,6 @@ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1211,8 +1080,6 @@ public Builder clearVerifyTime() { return this; } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1225,8 +1092,6 @@ public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder() { return getVerifyTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1237,14 +1102,11 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { if (verifyTimeBuilder_ != null) { return verifyTimeBuilder_.getMessageOrBuilder(); } else { - return verifyTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : verifyTime_; + return verifyTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } } /** - * - * *
      * The time of the configuration analysis.
      * 
@@ -1252,17 +1114,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { * .google.protobuf.Timestamp verify_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getVerifyTimeFieldBuilder() { if (verifyTimeBuilder_ == null) { - verifyTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getVerifyTime(), getParentForChildren(), isClean()); + verifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getVerifyTime(), + getParentForChildren(), + isClean()); verifyTime_ = null; } return verifyTimeBuilder_; @@ -1270,31 +1129,24 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -1305,8 +1157,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1327,15 +1177,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -1346,8 +1195,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1356,9 +1203,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && error_ != null - && error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + error_ != null && + error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -1371,8 +1218,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1390,8 +1235,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1404,8 +1247,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1416,12 +1257,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1429,39 +1269,32 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; } private java.util.List traces_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTracesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - traces_ = - new java.util.ArrayList(traces_); + traces_ = new java.util.ArrayList(traces_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Trace, - com.google.cloud.networkmanagement.v1beta1.Trace.Builder, - com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder> - tracesBuilder_; + com.google.cloud.networkmanagement.v1beta1.Trace, com.google.cloud.networkmanagement.v1beta1.Trace.Builder, com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder> tracesBuilder_; /** - * - * *
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1478,8 +1311,6 @@ public java.util.List getTrace
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1496,8 +1327,6 @@ public int getTracesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1514,8 +1343,6 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1524,7 +1351,8 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public Builder setTraces(int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
+    public Builder setTraces(
+        int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1538,8 +1366,6 @@ public Builder setTraces(int index, com.google.cloud.networkmanagement.v1beta1.T
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1560,8 +1386,6 @@ public Builder setTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1584,8 +1408,6 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1beta1.Trace value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1594,7 +1416,8 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1beta1.Trace value)
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public Builder addTraces(int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
+    public Builder addTraces(
+        int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1608,8 +1431,6 @@ public Builder addTraces(int index, com.google.cloud.networkmanagement.v1beta1.T
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1630,8 +1451,6 @@ public Builder addTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1652,8 +1471,6 @@ public Builder addTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1666,7 +1483,8 @@ public Builder addAllTraces(
         java.lang.Iterable values) {
       if (tracesBuilder_ == null) {
         ensureTracesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, traces_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, traces_);
         onChanged();
       } else {
         tracesBuilder_.addAllMessages(values);
@@ -1674,8 +1492,6 @@ public Builder addAllTraces(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1695,8 +1511,6 @@ public Builder clearTraces() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1716,8 +1530,6 @@ public Builder removeTraces(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1726,12 +1538,11 @@ public Builder removeTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder getTracesBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder getTracesBuilder(
+        int index) {
       return getTracesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1740,16 +1551,14 @@ public com.google.cloud.networkmanagement.v1beta1.Trace.Builder getTracesBuilder
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(
+        int index) {
       if (tracesBuilder_ == null) {
-        return traces_.get(index);
-      } else {
+        return traces_.get(index);  } else {
         return tracesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1758,8 +1567,8 @@ public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuil
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public java.util.List
-        getTracesOrBuilderList() {
+    public java.util.List 
+         getTracesOrBuilderList() {
       if (tracesBuilder_ != null) {
         return tracesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1767,8 +1576,6 @@ public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1778,12 +1585,10 @@ public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuil
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
     public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder() {
-      return getTracesFieldBuilder()
-          .addBuilder(com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
+      return getTracesFieldBuilder().addBuilder(
+          com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1792,13 +1597,12 @@ public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder(int index) {
-      return getTracesFieldBuilder()
-          .addBuilder(index, com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder(
+        int index) {
+      return getTracesFieldBuilder().addBuilder(
+          index, com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1807,30 +1611,27 @@ public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public java.util.List
-        getTracesBuilderList() {
+    public java.util.List 
+         getTracesBuilderList() {
       return getTracesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.Trace,
-            com.google.cloud.networkmanagement.v1beta1.Trace.Builder,
-            com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder>
+        com.google.cloud.networkmanagement.v1beta1.Trace, com.google.cloud.networkmanagement.v1beta1.Trace.Builder, com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder> 
         getTracesFieldBuilder() {
       if (tracesBuilder_ == null) {
-        tracesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1beta1.Trace,
-                com.google.cloud.networkmanagement.v1beta1.Trace.Builder,
-                com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder>(
-                traces_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        tracesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1beta1.Trace, com.google.cloud.networkmanagement.v1beta1.Trace.Builder, com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder>(
+                traces_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         traces_ = null;
       }
       return tracesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1840,43 +1641,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ReachabilityDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ReachabilityDetails)
-  private static final com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails();
   }
 
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails
-      getDefaultInstance() {
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReachabilityDetails 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 ReachabilityDetails 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;
@@ -1888,8 +1687,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails
-      getDefaultInstanceForType() {
+  public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
similarity index 82%
rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
index e2c81b7c298a..9668fd57c0cb 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
+++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
@@ -1,80 +1,50 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
-public interface ReachabilityDetailsOrBuilder
-    extends
+public interface ReachabilityDetailsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ReachabilityDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** - * - * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; - * * @return The result. */ com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult(); /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return Whether the verifyTime field is set. */ boolean hasVerifyTime(); /** - * - * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; - * * @return The verifyTime. */ com.google.protobuf.Timestamp getVerifyTime(); /** - * - * *
    * The time of the configuration analysis.
    * 
@@ -84,32 +54,24 @@ public interface ReachabilityDetailsOrBuilder com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder(); /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -119,8 +81,6 @@ public interface ReachabilityDetailsOrBuilder com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** - * - * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -129,10 +89,9 @@ public interface ReachabilityDetailsOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
-  java.util.List getTracesList();
+  java.util.List 
+      getTracesList();
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -143,8 +102,6 @@ public interface ReachabilityDetailsOrBuilder
    */
   com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index);
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -155,8 +112,6 @@ public interface ReachabilityDetailsOrBuilder
    */
   int getTracesCount();
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -165,11 +120,9 @@ public interface ReachabilityDetailsOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
-  java.util.List
+  java.util.List 
       getTracesOrBuilderList();
   /**
-   *
-   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -178,5 +131,6 @@ public interface ReachabilityDetailsOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
-  com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(int index);
+  com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
new file mode 100644
index 000000000000..adf27b0dc2eb
--- /dev/null
+++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
@@ -0,0 +1,229 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1beta1/reachability.proto
+
+package com.google.cloud.networkmanagement.v1beta1;
+
+public final class ReachabilityServiceProto {
+  private ReachabilityServiceProto() {}
+  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_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n9google/cloud/networkmanagement/v1beta1" +
+      "/reachability.proto\022&google.cloud.networ" +
+      "kmanagement.v1beta1\032\034google/api/annotati" +
+      "ons.proto\032\027google/api/client.proto\032\037goog" +
+      "le/api/field_behavior.proto\032>google/clou" +
+      "d/networkmanagement/v1beta1/connectivity" +
+      "_test.proto\032#google/longrunning/operatio" +
+      "ns.proto\032 google/protobuf/field_mask.pro" +
+      "to\032\037google/protobuf/timestamp.proto\"|\n\034L" +
+      "istConnectivityTestsRequest\022\023\n\006parent\030\001 " +
+      "\001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" +
+      "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(" +
+      "\t\"\232\001\n\035ListConnectivityTestsResponse\022K\n\tr" +
+      "esources\030\001 \003(\01328.google.cloud.networkman" +
+      "agement.v1beta1.ConnectivityTest\022\027\n\017next" +
+      "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"/" +
+      "\n\032GetConnectivityTestRequest\022\021\n\004name\030\001 \001" +
+      "(\tB\003\340A\002\"\233\001\n\035CreateConnectivityTestReques" +
+      "t\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007test_id\030\002 \001(\tB" +
+      "\003\340A\002\022O\n\010resource\030\003 \001(\01328.google.cloud.ne" +
+      "tworkmanagement.v1beta1.ConnectivityTest" +
+      "B\003\340A\002\"\246\001\n\035UpdateConnectivityTestRequest\022" +
+      "4\n\013update_mask\030\001 \001(\0132\032.google.protobuf.F" +
+      "ieldMaskB\003\340A\002\022O\n\010resource\030\002 \001(\01328.google" +
+      ".cloud.networkmanagement.v1beta1.Connect" +
+      "ivityTestB\003\340A\002\"2\n\035DeleteConnectivityTest" +
+      "Request\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034RerunConne" +
+      "ctivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\326\001" +
+      "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013" +
+      "2\032.google.protobuf.Timestamp\022,\n\010end_time" +
+      "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta" +
+      "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai" +
+      "l\030\005 \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013api" +
+      "_version\030\007 \001(\t2\243\r\n\023ReachabilityService\022\355" +
+      "\001\n\025ListConnectivityTests\022D.google.cloud." +
+      "networkmanagement.v1beta1.ListConnectivi" +
+      "tyTestsRequest\032E.google.cloud.networkman" +
+      "agement.v1beta1.ListConnectivityTestsRes" +
+      "ponse\"G\202\323\344\223\002A\022?/v1beta1/{parent=projects" +
+      "/*/locations/global}/connectivityTests\022\334" +
+      "\001\n\023GetConnectivityTest\022B.google.cloud.ne" +
+      "tworkmanagement.v1beta1.GetConnectivityT" +
+      "estRequest\0328.google.cloud.networkmanagem" +
+      "ent.v1beta1.ConnectivityTest\"G\202\323\344\223\002A\022?/v" +
+      "1beta1/{name=projects/*/locations/global" +
+      "/connectivityTests/*}\022\241\002\n\026CreateConnecti" +
+      "vityTest\022E.google.cloud.networkmanagemen" +
+      "t.v1beta1.CreateConnectivityTestRequest\032" +
+      "\035.google.longrunning.Operation\"\240\001\202\323\344\223\002K\"" +
+      "?/v1beta1/{parent=projects/*/locations/g" +
+      "lobal}/connectivityTests:\010resource\312AL\n7g" +
+      "oogle.cloud.networkmanagement.v1beta1.Co" +
+      "nnectivityTest\022\021OperationMetadata\022\252\002\n\026Up" +
+      "dateConnectivityTest\022E.google.cloud.netw" +
+      "orkmanagement.v1beta1.UpdateConnectivity" +
+      "TestRequest\032\035.google.longrunning.Operati" +
+      "on\"\251\001\202\323\344\223\002T2H/v1beta1/{resource.name=pro" +
+      "jects/*/locations/global/connectivityTes" +
+      "ts/*}:\010resource\312AL\n7google.cloud.network" +
+      "management.v1beta1.ConnectivityTest\022\021Ope" +
+      "rationMetadata\022\236\002\n\025RerunConnectivityTest" +
+      "\022D.google.cloud.networkmanagement.v1beta" +
+      "1.RerunConnectivityTestRequest\032\035.google." +
+      "longrunning.Operation\"\237\001\202\323\344\223\002J\"E/v1beta1" +
+      "/{name=projects/*/locations/global/conne" +
+      "ctivityTests/*}:rerun:\001*\312AL\n7google.clou" +
+      "d.networkmanagement.v1beta1.Connectivity" +
+      "Test\022\021OperationMetadata\022\364\001\n\026DeleteConnec" +
+      "tivityTest\022E.google.cloud.networkmanagem" +
+      "ent.v1beta1.DeleteConnectivityTestReques" +
+      "t\032\035.google.longrunning.Operation\"t\202\323\344\223\002A" +
+      "*?/v1beta1/{name=projects/*/locations/gl" +
+      "obal/connectivityTests/*}\312A*\n\025google.pro" +
+      "tobuf.Empty\022\021OperationMetadata\032T\312A netwo" +
+      "rkmanagement.googleapis.com\322A.https://ww" +
+      "w.googleapis.com/auth/cloud-platformB\240\002\n" +
+      "*com.google.cloud.networkmanagement.v1be" +
+      "ta1B\030ReachabilityServiceProtoP\001ZXcloud.g" +
+      "oogle.com/go/networkmanagement/apiv1beta" +
+      "1/networkmanagementpb;networkmanagementp" +
+      "b\252\002&Google.Cloud.NetworkManagement.V1Bet" +
+      "a1\312\002&Google\\Cloud\\NetworkManagement\\V1be" +
+      "ta1\352\002)Google::Cloud::NetworkManagement::" +
+      "V1beta1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor,
+        new java.lang.String[] { "Resources", "NextPageToken", "Unreachable", });
+    internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Parent", "TestId", "Resource", });
+    internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "UpdateMask", "Resource", });
+    internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor,
+        new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "CancelRequested", "ApiVersion", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
similarity index 61%
rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
index d8c2048cdbb5..ca953d98075e 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
+++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
@@ -1,86 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
 /**
- *
- *
  * 
  * Request for the `RerunConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest} */ -public final class RerunConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RerunConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) RerunConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RerunConnectivityTestRequest.newBuilder() to construct. private RerunConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RerunConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RerunConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +134,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.networkmanagement.v1beta1.RerunConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,139 +162,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `RerunConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,22 +294,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -351,17 +315,13 @@ public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest b @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -372,52 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -449,19 +403,17 @@ 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) { @@ -471,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -499,22 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -522,37 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -562,31 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,44 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RerunConnectivityTestRequest 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 RerunConnectivityTestRequest 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; @@ -645,8 +579,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java similarity index 56% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java index 79fc4312f156..c8ecd33a056c 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface RerunConnectivityTestRequestOrBuilder - extends +public interface RerunConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java similarity index 73% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java index 2415cabd35ee..4d7904975615 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine route.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RouteInfo} */ -public final class RouteInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.RouteInfo) RouteInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteInfo.newBuilder() to construct. private RouteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteInfo() { routeType_ = 0; nextHopType_ = 0; @@ -50,43 +32,39 @@ private RouteInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, - com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); } /** - * - * *
    * Type of route:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType} */ - public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { + public enum RouteType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -95,8 +73,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -105,8 +81,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ SUBNET(1), /** - * - * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -116,8 +90,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATIC(2),
     /**
-     *
-     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -126,8 +98,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ DYNAMIC(3), /** - * - * *
      * A subnet route received from peering network.
      * 
@@ -136,8 +106,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ PEERING_SUBNET(4), /** - * - * *
      * A static route received from peering network.
      * 
@@ -146,8 +114,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ PEERING_STATIC(5), /** - * - * *
      * A dynamic route received from peering network.
      * 
@@ -159,8 +125,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -169,8 +133,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -179,8 +141,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUBNET_VALUE = 1; /** - * - * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -190,8 +150,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STATIC_VALUE = 2;
     /**
-     *
-     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -200,8 +158,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DYNAMIC_VALUE = 3; /** - * - * *
      * A subnet route received from peering network.
      * 
@@ -210,8 +166,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_SUBNET_VALUE = 4; /** - * - * *
      * A static route received from peering network.
      * 
@@ -220,8 +174,6 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_STATIC_VALUE = 5; /** - * - * *
      * A dynamic route received from peering network.
      * 
@@ -230,6 +182,7 @@ public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PEERING_DYNAMIC_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,59 +207,53 @@ public static RouteType valueOf(int value) { */ public static RouteType forNumber(int value) { switch (value) { - case 0: - return ROUTE_TYPE_UNSPECIFIED; - case 1: - return SUBNET; - case 2: - return STATIC; - case 3: - return DYNAMIC; - case 4: - return PEERING_SUBNET; - case 5: - return PEERING_STATIC; - case 6: - return PEERING_DYNAMIC; - default: - return null; + case 0: return ROUTE_TYPE_UNSPECIFIED; + case 1: return SUBNET; + case 2: return STATIC; + case 3: return DYNAMIC; + case 4: return PEERING_SUBNET; + case 5: return PEERING_STATIC; + case 6: return PEERING_DYNAMIC; + 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< + RouteType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RouteType findValueByNumber(int number) { + return RouteType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RouteType findValueByNumber(int number) { - return RouteType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDescriptor().getEnumTypes().get(0); } private static final RouteType[] VALUES = values(); - public static RouteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RouteType 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; @@ -324,18 +271,15 @@ private RouteType(int value) { } /** - * - * *
    * Type of next hop:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType} */ - public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { + public enum NextHopType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -344,8 +288,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_TYPE_UNSPECIFIED(0), /** - * - * *
      * Next hop is an IP address.
      * 
@@ -354,8 +296,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_IP(1), /** - * - * *
      * Next hop is a Compute Engine instance.
      * 
@@ -364,8 +304,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_INSTANCE(2), /** - * - * *
      * Next hop is a VPC network gateway.
      * 
@@ -374,8 +312,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_NETWORK(3), /** - * - * *
      * Next hop is a peering VPC.
      * 
@@ -384,8 +320,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_PEERING(4), /** - * - * *
      * Next hop is an interconnect.
      * 
@@ -394,8 +328,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_INTERCONNECT(5), /** - * - * *
      * Next hop is a VPN tunnel.
      * 
@@ -404,8 +336,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_VPN_TUNNEL(6), /** - * - * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -417,8 +347,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NEXT_HOP_VPN_GATEWAY(7),
     /**
-     *
-     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -427,8 +355,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_INTERNET_GATEWAY(8), /** - * - * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -438,8 +364,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NEXT_HOP_BLACKHOLE(9),
     /**
-     *
-     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -448,8 +372,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ NEXT_HOP_ILB(10), /** - * - * *
      * Next hop is a
      * [router appliance
@@ -463,8 +385,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified type. Default value.
      * 
@@ -473,8 +393,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Next hop is an IP address.
      * 
@@ -483,8 +401,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_IP_VALUE = 1; /** - * - * *
      * Next hop is a Compute Engine instance.
      * 
@@ -493,8 +409,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_INSTANCE_VALUE = 2; /** - * - * *
      * Next hop is a VPC network gateway.
      * 
@@ -503,8 +417,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_NETWORK_VALUE = 3; /** - * - * *
      * Next hop is a peering VPC.
      * 
@@ -513,8 +425,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_PEERING_VALUE = 4; /** - * - * *
      * Next hop is an interconnect.
      * 
@@ -523,8 +433,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_INTERCONNECT_VALUE = 5; /** - * - * *
      * Next hop is a VPN tunnel.
      * 
@@ -533,8 +441,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_VPN_TUNNEL_VALUE = 6; /** - * - * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -546,8 +452,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEXT_HOP_VPN_GATEWAY_VALUE = 7;
     /**
-     *
-     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -556,8 +460,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_INTERNET_GATEWAY_VALUE = 8; /** - * - * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -567,8 +469,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEXT_HOP_BLACKHOLE_VALUE = 9;
     /**
-     *
-     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -577,8 +477,6 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEXT_HOP_ILB_VALUE = 10; /** - * - * *
      * Next hop is a
      * [router appliance
@@ -589,6 +487,7 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -613,69 +512,58 @@ public static NextHopType valueOf(int value) {
      */
     public static NextHopType forNumber(int value) {
       switch (value) {
-        case 0:
-          return NEXT_HOP_TYPE_UNSPECIFIED;
-        case 1:
-          return NEXT_HOP_IP;
-        case 2:
-          return NEXT_HOP_INSTANCE;
-        case 3:
-          return NEXT_HOP_NETWORK;
-        case 4:
-          return NEXT_HOP_PEERING;
-        case 5:
-          return NEXT_HOP_INTERCONNECT;
-        case 6:
-          return NEXT_HOP_VPN_TUNNEL;
-        case 7:
-          return NEXT_HOP_VPN_GATEWAY;
-        case 8:
-          return NEXT_HOP_INTERNET_GATEWAY;
-        case 9:
-          return NEXT_HOP_BLACKHOLE;
-        case 10:
-          return NEXT_HOP_ILB;
-        case 11:
-          return NEXT_HOP_ROUTER_APPLIANCE;
-        default:
-          return null;
+        case 0: return NEXT_HOP_TYPE_UNSPECIFIED;
+        case 1: return NEXT_HOP_IP;
+        case 2: return NEXT_HOP_INSTANCE;
+        case 3: return NEXT_HOP_NETWORK;
+        case 4: return NEXT_HOP_PEERING;
+        case 5: return NEXT_HOP_INTERCONNECT;
+        case 6: return NEXT_HOP_VPN_TUNNEL;
+        case 7: return NEXT_HOP_VPN_GATEWAY;
+        case 8: return NEXT_HOP_INTERNET_GATEWAY;
+        case 9: return NEXT_HOP_BLACKHOLE;
+        case 10: return NEXT_HOP_ILB;
+        case 11: return NEXT_HOP_ROUTER_APPLIANCE;
+        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<
+        NextHopType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public NextHopType findValueByNumber(int number) {
+              return NextHopType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public NextHopType findValueByNumber(int number) {
-            return NextHopType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final NextHopType[] VALUES = values();
 
-    public static NextHopType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NextHopType 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;
@@ -695,90 +583,64 @@ private NextHopType(int value) {
   public static final int ROUTE_TYPE_FIELD_NUMBER = 8;
   private int routeType_ = 0;
   /**
-   *
-   *
    * 
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override - public int getRouteTypeValue() { + @java.lang.Override public int getRouteTypeValue() { return routeType_; } /** - * - * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return The routeType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType() { + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED : result; } public static final int NEXT_HOP_TYPE_FIELD_NUMBER = 9; private int nextHopType_ = 0; /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override - public int getNextHopTypeValue() { + @java.lang.Override public int getNextHopTypeValue() { return nextHopType_; } /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The nextHopType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType() { + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -787,29 +649,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -818,12 +680,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -832,7 +691,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -841,15 +699,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -858,15 +715,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -875,18 +733,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int DEST_IP_RANGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object destIpRange_ = ""; /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The destIpRange. */ @java.lang.Override @@ -895,29 +749,29 @@ public java.lang.String getDestIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; } } /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The bytes for destIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getDestIpRangeBytes() { + public com.google.protobuf.ByteString + getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -926,18 +780,14 @@ public com.google.protobuf.ByteString getDestIpRangeBytes() { } public static final int NEXT_HOP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object nextHop_ = ""; /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The nextHop. */ @java.lang.Override @@ -946,29 +796,29 @@ public java.lang.String getNextHop() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; } } /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The bytes for nextHop. */ @java.lang.Override - public com.google.protobuf.ByteString getNextHopBytes() { + public com.google.protobuf.ByteString + getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextHop_ = b; return b; } else { @@ -977,18 +827,14 @@ public com.google.protobuf.ByteString getNextHopBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The networkUri. */ @java.lang.Override @@ -997,29 +843,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1030,14 +876,11 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { public static final int PRIORITY_FIELD_NUMBER = 6; private int priority_ = 0; /** - * - * *
    * Priority of the route.
    * 
* * int32 priority = 6; - * * @return The priority. */ @java.lang.Override @@ -1046,46 +889,37 @@ public int getPriority() { } public static final int INSTANCE_TAGS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList instanceTags_; /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTagsList() { return instanceTags_; } /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -1093,23 +927,20 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1121,7 +952,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -1143,15 +975,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < instanceTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, instanceTags_.getRaw(i)); } - if (routeType_ - != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED - .getNumber()) { + if (routeType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(8, routeType_); } - if (nextHopType_ - != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType - .NEXT_HOP_TYPE_UNSPECIFIED - .getNumber()) { + if (nextHopType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, nextHopType_); } getUnknownFields().writeTo(output); @@ -1179,7 +1006,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, networkUri_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, priority_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, priority_); } { int dataSize = 0; @@ -1189,16 +1017,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTagsList().size(); } - if (routeType_ - != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, routeType_); + if (routeType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, routeType_); } - if (nextHopType_ - != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType - .NEXT_HOP_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, nextHopType_); + if (nextHopType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, nextHopType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1208,23 +1033,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.networkmanagement.v1beta1.RouteInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.RouteInfo other = - (com.google.cloud.networkmanagement.v1beta1.RouteInfo) obj; + com.google.cloud.networkmanagement.v1beta1.RouteInfo other = (com.google.cloud.networkmanagement.v1beta1.RouteInfo) obj; if (routeType_ != other.routeType_) return false; if (nextHopType_ != other.nextHopType_) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDestIpRange().equals(other.getDestIpRange())) return false; - if (!getNextHop().equals(other.getNextHop())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (getPriority() != other.getPriority()) return false; - if (!getInstanceTagsList().equals(other.getInstanceTagsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDestIpRange() + .equals(other.getDestIpRange())) return false; + if (!getNextHop() + .equals(other.getNextHop())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (getPriority() + != other.getPriority()) return false; + if (!getInstanceTagsList() + .equals(other.getInstanceTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1262,135 +1093,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo 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.networkmanagement.v1beta1.RouteInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.RouteInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine route.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RouteInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.RouteInfo) com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, - com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.RouteInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1409,9 +1234,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; } @java.lang.Override @@ -1430,18 +1255,14 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo result = - new com.google.cloud.networkmanagement.v1beta1.RouteInfo(this); + com.google.cloud.networkmanagement.v1beta1.RouteInfo result = new com.google.cloud.networkmanagement.v1beta1.RouteInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.networkmanagement.v1beta1.RouteInfo result) { + private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.RouteInfo result) { if (((bitField0_ & 0x00000100) != 0)) { instanceTags_ = instanceTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); @@ -1481,39 +1302,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.RouteInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.RouteInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.RouteInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.RouteInfo)other); } else { super.mergeFrom(other); return this; @@ -1521,8 +1341,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.RouteInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) return this; if (other.routeType_ != 0) { setRouteTypeValue(other.getRouteTypeValue()); } @@ -1593,68 +1412,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: - { - destIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: - { - nextHop_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: - { - priority_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceTagsIsMutable(); - instanceTags_.add(s); - break; - } // case 58 - case 64: - { - routeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 64 - case 72: - { - nextHopType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: { + destIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: { + nextHop_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: { + priority_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceTagsIsMutable(); + instanceTags_.add(s); + break; + } // case 58 + case 64: { + routeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 64 + case 72: { + nextHopType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 72 + 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) { @@ -1664,34 +1473,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int routeType_ = 0; /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override - public int getRouteTypeValue() { + @java.lang.Override public int getRouteTypeValue() { return routeType_; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @param value The enum numeric value on the wire for routeType to set. * @return This builder for chaining. */ @@ -1702,38 +1503,28 @@ public Builder setRouteTypeValue(int value) { return this; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return The routeType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED : result; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @param value The routeType to set. * @return This builder for chaining. */ - public Builder setRouteType( - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType value) { + public Builder setRouteType(com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType value) { if (value == null) { throw new NullPointerException(); } @@ -1743,14 +1534,11 @@ public Builder setRouteType( return this; } /** - * - * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return This builder for chaining. */ public Builder clearRouteType() { @@ -1762,29 +1550,22 @@ public Builder clearRouteType() { private int nextHopType_ = 0; /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override - public int getNextHopTypeValue() { + @java.lang.Override public int getNextHopTypeValue() { return nextHopType_; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @param value The enum numeric value on the wire for nextHopType to set. * @return This builder for chaining. */ @@ -1795,38 +1576,28 @@ public Builder setNextHopTypeValue(int value) { return this; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The nextHopType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED : result; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @param value The nextHopType to set. * @return This builder for chaining. */ - public Builder setNextHopType( - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType value) { + public Builder setNextHopType(com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType value) { if (value == null) { throw new NullPointerException(); } @@ -1836,14 +1607,11 @@ public Builder setNextHopType( return this; } /** - * - * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return This builder for chaining. */ public Builder clearNextHopType() { @@ -1855,20 +1623,18 @@ public Builder clearNextHopType() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1877,21 +1643,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1899,35 +1664,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1937,21 +1695,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1961,8 +1715,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1971,13 +1723,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1986,8 +1738,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1996,14 +1746,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -2011,8 +1762,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -2021,22 +1770,18 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -2045,7 +1790,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -2055,8 +1799,6 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -2065,14 +1807,12 @@ public Builder clearUri() {
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000008; @@ -2082,20 +1822,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object destIpRange_ = ""; /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @return The destIpRange. */ public java.lang.String getDestIpRange() { java.lang.Object ref = destIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; @@ -2104,21 +1842,20 @@ public java.lang.String getDestIpRange() { } } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @return The bytes for destIpRange. */ - public com.google.protobuf.ByteString getDestIpRangeBytes() { + public com.google.protobuf.ByteString + getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -2126,35 +1863,28 @@ public com.google.protobuf.ByteString getDestIpRangeBytes() { } } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @param value The destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destIpRange_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @return This builder for chaining. */ public Builder clearDestIpRange() { @@ -2164,21 +1894,17 @@ public Builder clearDestIpRange() { return this; } /** - * - * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; - * * @param value The bytes for destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destIpRange_ = value; bitField0_ |= 0x00000010; @@ -2188,20 +1914,18 @@ public Builder setDestIpRangeBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextHop_ = ""; /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @return The nextHop. */ public java.lang.String getNextHop() { java.lang.Object ref = nextHop_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; @@ -2210,21 +1934,20 @@ public java.lang.String getNextHop() { } } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @return The bytes for nextHop. */ - public com.google.protobuf.ByteString getNextHopBytes() { + public com.google.protobuf.ByteString + getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextHop_ = b; return b; } else { @@ -2232,35 +1955,28 @@ public com.google.protobuf.ByteString getNextHopBytes() { } } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @param value The nextHop to set. * @return This builder for chaining. */ - public Builder setNextHop(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextHop( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextHop_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @return This builder for chaining. */ public Builder clearNextHop() { @@ -2270,21 +1986,17 @@ public Builder clearNextHop() { return this; } /** - * - * *
      * Next hop of the route.
      * 
* * string next_hop = 4; - * * @param value The bytes for nextHop to set. * @return This builder for chaining. */ - public Builder setNextHopBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextHopBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextHop_ = value; bitField0_ |= 0x00000020; @@ -2294,20 +2006,18 @@ public Builder setNextHopBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -2316,21 +2026,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -2338,35 +2047,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -2376,21 +2078,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -2398,16 +2096,13 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { return this; } - private int priority_; + private int priority_ ; /** - * - * *
      * Priority of the route.
      * 
* * int32 priority = 6; - * * @return The priority. */ @java.lang.Override @@ -2415,33 +2110,27 @@ public int getPriority() { return priority_; } /** - * - * *
      * Priority of the route.
      * 
* * int32 priority = 6; - * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Priority of the route.
      * 
* * int32 priority = 6; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -2451,52 +2140,42 @@ public Builder clearPriority() { return this; } - private com.google.protobuf.LazyStringList instanceTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceTagsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { instanceTags_ = new com.google.protobuf.LazyStringArrayList(instanceTags_); bitField0_ |= 0x00000100; - } + } } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTagsList() { return instanceTags_.getUnmodifiableView(); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -2504,90 +2183,76 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param index The index to set the value at. * @param value The instanceTags to set. * @return This builder for chaining. */ - public Builder setInstanceTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTags( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTagsIsMutable(); instanceTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param value The instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTags( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param values The instanceTags to add. * @return This builder for chaining. */ - public Builder addAllInstanceTags(java.lang.Iterable values) { + public Builder addAllInstanceTags( + java.lang.Iterable values) { ensureInstanceTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceTags_); onChanged(); return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @return This builder for chaining. */ public Builder clearInstanceTags() { @@ -2597,30 +2262,26 @@ public Builder clearInstanceTags() { return this; } /** - * - * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; - * * @param value The bytes of the instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2630,12 +2291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.RouteInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.RouteInfo) private static final com.google.cloud.networkmanagement.v1beta1.RouteInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.RouteInfo(); } @@ -2644,27 +2305,27 @@ public static com.google.cloud.networkmanagement.v1beta1.RouteInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteInfo 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 RouteInfo 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; @@ -2679,4 +2340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.RouteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java similarity index 76% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java index 2dfc1b9db8e0..237714498072 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java @@ -1,106 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface RouteInfoOrBuilder - extends +public interface RouteInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.RouteInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return The enum numeric value on the wire for routeType. */ int getRouteTypeValue(); /** - * - * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; - * * @return The routeType. */ com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType(); /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The enum numeric value on the wire for nextHopType. */ int getNextHopTypeValue(); /** - * - * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; - * * @return The nextHopType. */ com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType(); /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -109,13 +74,10 @@ public interface RouteInfoOrBuilder
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -124,147 +86,119 @@ public interface RouteInfoOrBuilder
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The destIpRange. */ java.lang.String getDestIpRange(); /** - * - * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; - * * @return The bytes for destIpRange. */ - com.google.protobuf.ByteString getDestIpRangeBytes(); + com.google.protobuf.ByteString + getDestIpRangeBytes(); /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The nextHop. */ java.lang.String getNextHop(); /** - * - * *
    * Next hop of the route.
    * 
* * string next_hop = 4; - * * @return The bytes for nextHop. */ - com.google.protobuf.ByteString getNextHopBytes(); + com.google.protobuf.ByteString + getNextHopBytes(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Priority of the route.
    * 
* * int32 priority = 6; - * * @return The priority. */ int getPriority(); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return A list containing the instanceTags. */ - java.util.List getInstanceTagsList(); + java.util.List + getInstanceTagsList(); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @return The count of instanceTags. */ int getInstanceTagsCount(); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the element to return. * @return The instanceTags at the given index. */ java.lang.String getInstanceTags(int index); /** - * - * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; - * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - com.google.protobuf.ByteString getInstanceTagsBytes(int index); + com.google.protobuf.ByteString + getInstanceTagsBytes(int index); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java similarity index 74% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java index deb08eebf3b6..4db7a9bec435 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * A simulated forwarding path is composed of multiple steps.
  * Each step has a well-defined state and an associated configuration.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Step}
  */
-public final class Step extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Step extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Step)
     StepOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Step.newBuilder() to construct.
   private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Step() {
     description_ = "";
     state_ = 0;
@@ -46,33 +28,30 @@ private Step() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Step();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto
-        .internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.Step.class,
-            com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.Step.class, com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Type of states that are defined in the network state machine.
    * Each step in the packet trace is in a specific state.
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.Step.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -92,8 +70,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -103,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_INSTANCE(1),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -114,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_INTERNET(2),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -127,8 +99,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_PRIVATE_NETWORK(3),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -138,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_GKE_MASTER(21),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -149,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_CLOUD_SQL_INSTANCE(22),
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Cloud function.
      * A CloudFunctionInfo is populated with starting function information.
@@ -160,8 +126,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     START_FROM_CLOUD_FUNCTION(23),
     /**
-     *
-     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -170,8 +134,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_INGRESS_FIREWALL_RULE(4), /** - * - * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -180,8 +142,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_EGRESS_FIREWALL_RULE(5), /** - * - * *
      * Config checking state: verify route.
      * 
@@ -190,8 +150,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_ROUTE(6), /** - * - * *
      * Config checking state: match forwarding rule.
      * 
@@ -200,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_FORWARDING_RULE(7), /** - * - * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -211,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SPOOFING_APPROVED(8),
     /**
-     *
-     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -221,8 +175,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_INSTANCE(9), /** - * - * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -231,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_INTERNAL_LOAD_BALANCER(10), /** - * - * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -241,8 +191,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_EXTERNAL_LOAD_BALANCER(11), /** - * - * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -251,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_VPN_GATEWAY(12), /** - * - * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -261,8 +207,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_VPN_TUNNEL(13), /** - * - * *
      * Forwarding state: arriving at a VPC connector.
      * 
@@ -271,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ARRIVE_AT_VPC_CONNECTOR(24), /** - * - * *
      * Transition state: packet header translated.
      * 
@@ -281,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ NAT(14), /** - * - * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -292,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PROXY_CONNECTION(15),
     /**
-     *
-     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -302,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELIVER(16), /** - * - * *
      * Final state: packet could be dropped.
      * 
@@ -312,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DROP(17), /** - * - * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -323,8 +257,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FORWARD(18),
     /**
-     *
-     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -333,8 +265,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ABORT(19), /** - * - * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -347,8 +277,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -357,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -368,8 +294,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_INSTANCE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -379,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_INTERNET_VALUE = 2;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -392,8 +314,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_PRIVATE_NETWORK_VALUE = 3;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -403,8 +323,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_GKE_MASTER_VALUE = 21;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -414,8 +332,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_CLOUD_SQL_INSTANCE_VALUE = 22;
     /**
-     *
-     *
      * 
      * Initial state: packet originating from a Cloud function.
      * A CloudFunctionInfo is populated with starting function information.
@@ -425,8 +341,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int START_FROM_CLOUD_FUNCTION_VALUE = 23;
     /**
-     *
-     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -435,8 +349,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_INGRESS_FIREWALL_RULE_VALUE = 4; /** - * - * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -445,8 +357,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_EGRESS_FIREWALL_RULE_VALUE = 5; /** - * - * *
      * Config checking state: verify route.
      * 
@@ -455,8 +365,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_ROUTE_VALUE = 6; /** - * - * *
      * Config checking state: match forwarding rule.
      * 
@@ -465,8 +373,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_FORWARDING_RULE_VALUE = 7; /** - * - * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -476,8 +382,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SPOOFING_APPROVED_VALUE = 8;
     /**
-     *
-     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -486,8 +390,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_INSTANCE_VALUE = 9; /** - * - * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -496,8 +398,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE = 10; /** - * - * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -506,8 +406,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE = 11; /** - * - * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -516,8 +414,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_VPN_GATEWAY_VALUE = 12; /** - * - * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -526,8 +422,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_VPN_TUNNEL_VALUE = 13; /** - * - * *
      * Forwarding state: arriving at a VPC connector.
      * 
@@ -536,8 +430,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRIVE_AT_VPC_CONNECTOR_VALUE = 24; /** - * - * *
      * Transition state: packet header translated.
      * 
@@ -546,8 +438,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAT_VALUE = 14; /** - * - * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -557,8 +447,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROXY_CONNECTION_VALUE = 15;
     /**
-     *
-     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -567,8 +455,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELIVER_VALUE = 16; /** - * - * *
      * Final state: packet could be dropped.
      * 
@@ -577,8 +463,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DROP_VALUE = 17; /** - * - * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -588,8 +472,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FORWARD_VALUE = 18;
     /**
-     *
-     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -598,8 +480,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORT_VALUE = 19; /** - * - * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -609,6 +489,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEWER_PERMISSION_MISSING_VALUE = 20;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -633,93 +514,71 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return START_FROM_INSTANCE;
-        case 2:
-          return START_FROM_INTERNET;
-        case 3:
-          return START_FROM_PRIVATE_NETWORK;
-        case 21:
-          return START_FROM_GKE_MASTER;
-        case 22:
-          return START_FROM_CLOUD_SQL_INSTANCE;
-        case 23:
-          return START_FROM_CLOUD_FUNCTION;
-        case 4:
-          return APPLY_INGRESS_FIREWALL_RULE;
-        case 5:
-          return APPLY_EGRESS_FIREWALL_RULE;
-        case 6:
-          return APPLY_ROUTE;
-        case 7:
-          return APPLY_FORWARDING_RULE;
-        case 8:
-          return SPOOFING_APPROVED;
-        case 9:
-          return ARRIVE_AT_INSTANCE;
-        case 10:
-          return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
-        case 11:
-          return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
-        case 12:
-          return ARRIVE_AT_VPN_GATEWAY;
-        case 13:
-          return ARRIVE_AT_VPN_TUNNEL;
-        case 24:
-          return ARRIVE_AT_VPC_CONNECTOR;
-        case 14:
-          return NAT;
-        case 15:
-          return PROXY_CONNECTION;
-        case 16:
-          return DELIVER;
-        case 17:
-          return DROP;
-        case 18:
-          return FORWARD;
-        case 19:
-          return ABORT;
-        case 20:
-          return VIEWER_PERMISSION_MISSING;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return START_FROM_INSTANCE;
+        case 2: return START_FROM_INTERNET;
+        case 3: return START_FROM_PRIVATE_NETWORK;
+        case 21: return START_FROM_GKE_MASTER;
+        case 22: return START_FROM_CLOUD_SQL_INSTANCE;
+        case 23: return START_FROM_CLOUD_FUNCTION;
+        case 4: return APPLY_INGRESS_FIREWALL_RULE;
+        case 5: return APPLY_EGRESS_FIREWALL_RULE;
+        case 6: return APPLY_ROUTE;
+        case 7: return APPLY_FORWARDING_RULE;
+        case 8: return SPOOFING_APPROVED;
+        case 9: return ARRIVE_AT_INSTANCE;
+        case 10: return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
+        case 11: return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
+        case 12: return ARRIVE_AT_VPN_GATEWAY;
+        case 13: return ARRIVE_AT_VPN_TUNNEL;
+        case 24: return ARRIVE_AT_VPC_CONNECTOR;
+        case 14: return NAT;
+        case 15: return PROXY_CONNECTION;
+        case 16: return DELIVER;
+        case 17: return DROP;
+        case 18: return FORWARD;
+        case 19: return ABORT;
+        case 20: return VIEWER_PERMISSION_MISSING;
+        default: return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.networkmanagement.v1beta1.Step.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;
@@ -738,10 +597,8 @@ private State(int value) {
 
   private int stepInfoCase_ = 0;
   private java.lang.Object stepInfo_;
-
   public enum StepInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INSTANCE(5),
     FIREWALL(6),
@@ -762,7 +619,6 @@ public enum StepInfoCase
     CLOUD_FUNCTION(20),
     STEPINFO_NOT_SET(0);
     private final int value;
-
     private StepInfoCase(int value) {
       this.value = value;
     }
@@ -778,69 +634,47 @@ public static StepInfoCase valueOf(int value) {
 
     public static StepInfoCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return INSTANCE;
-        case 6:
-          return FIREWALL;
-        case 7:
-          return ROUTE;
-        case 8:
-          return ENDPOINT;
-        case 9:
-          return FORWARDING_RULE;
-        case 10:
-          return VPN_GATEWAY;
-        case 11:
-          return VPN_TUNNEL;
-        case 21:
-          return VPC_CONNECTOR;
-        case 12:
-          return DELIVER;
-        case 13:
-          return FORWARD;
-        case 14:
-          return ABORT;
-        case 15:
-          return DROP;
-        case 16:
-          return LOAD_BALANCER;
-        case 17:
-          return NETWORK;
-        case 18:
-          return GKE_MASTER;
-        case 19:
-          return CLOUD_SQL_INSTANCE;
-        case 20:
-          return CLOUD_FUNCTION;
-        case 0:
-          return STEPINFO_NOT_SET;
-        default:
-          return null;
+        case 5: return INSTANCE;
+        case 6: return FIREWALL;
+        case 7: return ROUTE;
+        case 8: return ENDPOINT;
+        case 9: return FORWARDING_RULE;
+        case 10: return VPN_GATEWAY;
+        case 11: return VPN_TUNNEL;
+        case 21: return VPC_CONNECTOR;
+        case 12: return DELIVER;
+        case 13: return FORWARD;
+        case 14: return ABORT;
+        case 15: return DROP;
+        case 16: return LOAD_BALANCER;
+        case 17: return NETWORK;
+        case 18: return GKE_MASTER;
+        case 19: return CLOUD_SQL_INSTANCE;
+        case 20: return CLOUD_FUNCTION;
+        case 0: return STEPINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StepInfoCase getStepInfoCase() {
-    return StepInfoCase.forNumber(stepInfoCase_);
+  public StepInfoCase
+  getStepInfoCase() {
+    return StepInfoCase.forNumber(
+        stepInfoCase_);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
-   *
-   *
    * 
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -849,29 +683,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @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 { @@ -882,51 +716,37 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Step.State getState() { - com.google.cloud.networkmanagement.v1beta1.Step.State result = - com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Step.State getState() { + com.google.cloud.networkmanagement.v1beta1.Step.State result = com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED : result; } public static final int CAUSES_DROP_FIELD_NUMBER = 3; private boolean causesDrop_ = false; /** - * - * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; - * * @return The causesDrop. */ @java.lang.Override @@ -935,18 +755,14 @@ public boolean getCausesDrop() { } public static final int PROJECT_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The projectId. */ @java.lang.Override @@ -955,29 +771,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -987,14 +803,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 5; /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -1002,26 +815,21 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; - * * @return The instance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine instance.
    * 
@@ -1031,21 +839,18 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInstanceOrBuilder() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance(); } public static final int FIREWALL_FIELD_NUMBER = 6; /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; - * * @return Whether the firewall field is set. */ @java.lang.Override @@ -1053,26 +858,21 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; - * * @return The firewall. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -1082,21 +882,18 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirewallOrBuilder() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance(); } public static final int ROUTE_FIELD_NUMBER = 7; /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; - * * @return Whether the route field is set. */ @java.lang.Override @@ -1104,26 +901,21 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; - * * @return The route. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine route.
    * 
@@ -1133,15 +925,13 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrBuilder() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance(); } public static final int ENDPOINT_FIELD_NUMBER = 8; /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -1150,7 +940,6 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; - * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -1158,8 +947,6 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -1168,19 +955,16 @@ public boolean hasEndpoint() {
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; - * * @return The endpoint. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint() { if (stepInfoCase_ == 8) { - return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -1193,21 +977,18 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint() {
   @java.lang.Override
   public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointOrBuilder() {
     if (stepInfoCase_ == 8) {
-      return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_;
+       return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_;
     }
     return com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance();
   }
 
   public static final int FORWARDING_RULE_FIELD_NUMBER = 9;
   /**
-   *
-   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; - * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -1215,26 +996,21 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; - * * @return The forwardingRule. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardingRule() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
@@ -1242,24 +1018,20 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardi * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder - getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); } public static final int VPN_GATEWAY_FIELD_NUMBER = 10; /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; - * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -1267,26 +1039,21 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; - * * @return The vpnGateway. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -1294,24 +1061,20 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway() * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder - getVpnGatewayOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); } public static final int VPN_TUNNEL_FIELD_NUMBER = 11; /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; - * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -1319,26 +1082,21 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; - * * @return The vpnTunnel. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -1348,21 +1106,18 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance(); } public static final int VPC_CONNECTOR_FIELD_NUMBER = 21; /** - * - * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; - * * @return Whether the vpcConnector field is set. */ @java.lang.Override @@ -1370,26 +1125,21 @@ public boolean hasVpcConnector() { return stepInfoCase_ == 21; } /** - * - * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; - * * @return The vpcConnector. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector() { if (stepInfoCase_ == 21) { - return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a VPC connector.
    * 
@@ -1397,24 +1147,20 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnect * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder - getVpcConnectorOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder() { if (stepInfoCase_ == 21) { - return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); } public static final int DELIVER_FIELD_NUMBER = 12; /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; - * * @return Whether the deliver field is set. */ @java.lang.Override @@ -1422,26 +1168,21 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; - * * @return The deliver. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -1451,21 +1192,18 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDeliverOrBuilder() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance(); } public static final int FORWARD_FIELD_NUMBER = 13; /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; - * * @return Whether the forward field is set. */ @java.lang.Override @@ -1473,26 +1211,21 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; - * * @return The forward. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
@@ -1502,21 +1235,18 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwardOrBuilder() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance(); } public static final int ABORT_FIELD_NUMBER = 14; /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; - * * @return Whether the abort field is set. */ @java.lang.Override @@ -1524,26 +1254,21 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; - * * @return The abort. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
@@ -1553,21 +1278,18 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrBuilder() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance(); } public static final int DROP_FIELD_NUMBER = 15; /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -1575,26 +1297,21 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; - * * @return The drop. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
@@ -1604,21 +1321,18 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBuilder() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance(); } public static final int LOAD_BALANCER_FIELD_NUMBER = 16; /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; - * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -1626,26 +1340,21 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; - * * @return The loadBalancer. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalancer() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); } /** - * - * *
    * Display information of the load balancers.
    * 
@@ -1653,24 +1362,20 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalanc * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder - getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); } public static final int NETWORK_FIELD_NUMBER = 17; /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; - * * @return Whether the network field is set. */ @java.lang.Override @@ -1678,26 +1383,21 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; - * * @return The network. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Google Cloud network.
    * 
@@ -1707,21 +1407,18 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetworkOrBuilder() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance(); } public static final int GKE_MASTER_FIELD_NUMBER = 18; /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; - * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -1729,26 +1426,21 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; - * * @return The gkeMaster. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -1758,22 +1450,18 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance(); } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 19; /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -1781,53 +1469,42 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; * @return The cloudSqlInstance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudSqlInstance() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder - getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); } public static final int CLOUD_FUNCTION_FIELD_NUMBER = 20; /** - * - * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; - * * @return Whether the cloudFunction field is set. */ @java.lang.Override @@ -1835,26 +1512,21 @@ public boolean hasCloudFunction() { return stepInfoCase_ == 20; } /** - * - * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; - * * @return The cloudFunction. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction() { if (stepInfoCase_ == 20) { - return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); } /** - * - * *
    * Display information of a Cloud function.
    * 
@@ -1862,16 +1534,14 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunc * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder - getCloudFunctionOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder getCloudFunctionOrBuilder() { if (stepInfoCase_ == 20) { - return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1883,12 +1553,12 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } - if (state_ - != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (causesDrop_ != false) { @@ -1910,12 +1580,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(8, (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_); } if (stepInfoCase_ == 9) { - output.writeMessage( - 9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); + output.writeMessage(9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); } if (stepInfoCase_ == 10) { - output.writeMessage( - 10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); + output.writeMessage(10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); } if (stepInfoCase_ == 11) { output.writeMessage(11, (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_); @@ -1933,8 +1601,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(15, (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_); } if (stepInfoCase_ == 16) { - output.writeMessage( - 16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); + output.writeMessage(16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); } if (stepInfoCase_ == 17) { output.writeMessage(17, (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_); @@ -1943,16 +1610,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(18, (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - output.writeMessage( - 19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); + output.writeMessage(19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); } if (stepInfoCase_ == 20) { - output.writeMessage( - 20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); + output.writeMessage(20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); } if (stepInfoCase_ == 21) { - output.writeMessage( - 21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); + output.writeMessage(21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); } getUnknownFields().writeTo(output); } @@ -1966,100 +1630,84 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } - if (state_ - != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + if (state_ != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } if (causesDrop_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, causesDrop_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, causesDrop_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, projectId_); } if (stepInfoCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_); } if (stepInfoCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_); } if (stepInfoCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_); } if (stepInfoCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_); } if (stepInfoCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); } if (stepInfoCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); } if (stepInfoCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_); } if (stepInfoCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_); } if (stepInfoCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_); } if (stepInfoCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_); } if (stepInfoCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_); } if (stepInfoCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); } if (stepInfoCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 17, (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_); } if (stepInfoCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); } if (stepInfoCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); } if (stepInfoCase_ == 21) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2069,70 +1717,89 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.Step)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.Step other = - (com.google.cloud.networkmanagement.v1beta1.Step) obj; + com.google.cloud.networkmanagement.v1beta1.Step other = (com.google.cloud.networkmanagement.v1beta1.Step) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (getCausesDrop() != other.getCausesDrop()) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (getCausesDrop() + != other.getCausesDrop()) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getStepInfoCase().equals(other.getStepInfoCase())) return false; switch (stepInfoCase_) { case 5: - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; break; case 6: - if (!getFirewall().equals(other.getFirewall())) return false; + if (!getFirewall() + .equals(other.getFirewall())) return false; break; case 7: - if (!getRoute().equals(other.getRoute())) return false; + if (!getRoute() + .equals(other.getRoute())) return false; break; case 8: - if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; break; case 9: - if (!getForwardingRule().equals(other.getForwardingRule())) return false; + if (!getForwardingRule() + .equals(other.getForwardingRule())) return false; break; case 10: - if (!getVpnGateway().equals(other.getVpnGateway())) return false; + if (!getVpnGateway() + .equals(other.getVpnGateway())) return false; break; case 11: - if (!getVpnTunnel().equals(other.getVpnTunnel())) return false; + if (!getVpnTunnel() + .equals(other.getVpnTunnel())) return false; break; case 21: - if (!getVpcConnector().equals(other.getVpcConnector())) return false; + if (!getVpcConnector() + .equals(other.getVpcConnector())) return false; break; case 12: - if (!getDeliver().equals(other.getDeliver())) return false; + if (!getDeliver() + .equals(other.getDeliver())) return false; break; case 13: - if (!getForward().equals(other.getForward())) return false; + if (!getForward() + .equals(other.getForward())) return false; break; case 14: - if (!getAbort().equals(other.getAbort())) return false; + if (!getAbort() + .equals(other.getAbort())) return false; break; case 15: - if (!getDrop().equals(other.getDrop())) return false; + if (!getDrop() + .equals(other.getDrop())) return false; break; case 16: - if (!getLoadBalancer().equals(other.getLoadBalancer())) return false; + if (!getLoadBalancer() + .equals(other.getLoadBalancer())) return false; break; case 17: - if (!getNetwork().equals(other.getNetwork())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; break; case 18: - if (!getGkeMaster().equals(other.getGkeMaster())) return false; + if (!getGkeMaster() + .equals(other.getGkeMaster())) return false; break; case 19: - if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; + if (!getCloudSqlInstance() + .equals(other.getCloudSqlInstance())) return false; break; case 20: - if (!getCloudFunction().equals(other.getCloudFunction())) return false; + if (!getCloudFunction() + .equals(other.getCloudFunction())) return false; break; case 0: default: @@ -2153,7 +1820,8 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + CAUSES_DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCausesDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCausesDrop()); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + getProjectId().hashCode(); switch (stepInfoCase_) { @@ -2233,104 +1901,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Step 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.networkmanagement.v1beta1.Step parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.Step parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.Step parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Step 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.networkmanagement.v1beta1.Step parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 simulated forwarding path is composed of multiple steps.
    * Each step has a well-defined state and an associated configuration.
@@ -2338,32 +1999,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Step}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Step)
       com.google.cloud.networkmanagement.v1beta1.StepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.Step.class,
-              com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.Step.class, com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.Step.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2429,9 +2091,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
     }
 
     @java.lang.Override
@@ -2450,11 +2112,8 @@ public com.google.cloud.networkmanagement.v1beta1.Step build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.Step buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.Step result =
-          new com.google.cloud.networkmanagement.v1beta1.Step(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.networkmanagement.v1beta1.Step result = new com.google.cloud.networkmanagement.v1beta1.Step(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2479,55 +2138,72 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Step resul
     private void buildPartialOneofs(com.google.cloud.networkmanagement.v1beta1.Step result) {
       result.stepInfoCase_ = stepInfoCase_;
       result.stepInfo_ = this.stepInfo_;
-      if (stepInfoCase_ == 5 && instanceBuilder_ != null) {
+      if (stepInfoCase_ == 5 &&
+          instanceBuilder_ != null) {
         result.stepInfo_ = instanceBuilder_.build();
       }
-      if (stepInfoCase_ == 6 && firewallBuilder_ != null) {
+      if (stepInfoCase_ == 6 &&
+          firewallBuilder_ != null) {
         result.stepInfo_ = firewallBuilder_.build();
       }
-      if (stepInfoCase_ == 7 && routeBuilder_ != null) {
+      if (stepInfoCase_ == 7 &&
+          routeBuilder_ != null) {
         result.stepInfo_ = routeBuilder_.build();
       }
-      if (stepInfoCase_ == 8 && endpointBuilder_ != null) {
+      if (stepInfoCase_ == 8 &&
+          endpointBuilder_ != null) {
         result.stepInfo_ = endpointBuilder_.build();
       }
-      if (stepInfoCase_ == 9 && forwardingRuleBuilder_ != null) {
+      if (stepInfoCase_ == 9 &&
+          forwardingRuleBuilder_ != null) {
         result.stepInfo_ = forwardingRuleBuilder_.build();
       }
-      if (stepInfoCase_ == 10 && vpnGatewayBuilder_ != null) {
+      if (stepInfoCase_ == 10 &&
+          vpnGatewayBuilder_ != null) {
         result.stepInfo_ = vpnGatewayBuilder_.build();
       }
-      if (stepInfoCase_ == 11 && vpnTunnelBuilder_ != null) {
+      if (stepInfoCase_ == 11 &&
+          vpnTunnelBuilder_ != null) {
         result.stepInfo_ = vpnTunnelBuilder_.build();
       }
-      if (stepInfoCase_ == 21 && vpcConnectorBuilder_ != null) {
+      if (stepInfoCase_ == 21 &&
+          vpcConnectorBuilder_ != null) {
         result.stepInfo_ = vpcConnectorBuilder_.build();
       }
-      if (stepInfoCase_ == 12 && deliverBuilder_ != null) {
+      if (stepInfoCase_ == 12 &&
+          deliverBuilder_ != null) {
         result.stepInfo_ = deliverBuilder_.build();
       }
-      if (stepInfoCase_ == 13 && forwardBuilder_ != null) {
+      if (stepInfoCase_ == 13 &&
+          forwardBuilder_ != null) {
         result.stepInfo_ = forwardBuilder_.build();
       }
-      if (stepInfoCase_ == 14 && abortBuilder_ != null) {
+      if (stepInfoCase_ == 14 &&
+          abortBuilder_ != null) {
         result.stepInfo_ = abortBuilder_.build();
       }
-      if (stepInfoCase_ == 15 && dropBuilder_ != null) {
+      if (stepInfoCase_ == 15 &&
+          dropBuilder_ != null) {
         result.stepInfo_ = dropBuilder_.build();
       }
-      if (stepInfoCase_ == 16 && loadBalancerBuilder_ != null) {
+      if (stepInfoCase_ == 16 &&
+          loadBalancerBuilder_ != null) {
         result.stepInfo_ = loadBalancerBuilder_.build();
       }
-      if (stepInfoCase_ == 17 && networkBuilder_ != null) {
+      if (stepInfoCase_ == 17 &&
+          networkBuilder_ != null) {
         result.stepInfo_ = networkBuilder_.build();
       }
-      if (stepInfoCase_ == 18 && gkeMasterBuilder_ != null) {
+      if (stepInfoCase_ == 18 &&
+          gkeMasterBuilder_ != null) {
         result.stepInfo_ = gkeMasterBuilder_.build();
       }
-      if (stepInfoCase_ == 19 && cloudSqlInstanceBuilder_ != null) {
+      if (stepInfoCase_ == 19 &&
+          cloudSqlInstanceBuilder_ != null) {
         result.stepInfo_ = cloudSqlInstanceBuilder_.build();
       }
-      if (stepInfoCase_ == 20 && cloudFunctionBuilder_ != null) {
+      if (stepInfoCase_ == 20 &&
+          cloudFunctionBuilder_ != null) {
         result.stepInfo_ = cloudFunctionBuilder_.build();
       }
     }
@@ -2536,39 +2212,38 @@ private void buildPartialOneofs(com.google.cloud.networkmanagement.v1beta1.Step
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.Step) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Step) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Step)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2576,8 +2251,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Step other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance()) return this;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
         bitField0_ |= 0x00000001;
@@ -2595,95 +2269,77 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Step other)
         onChanged();
       }
       switch (other.getStepInfoCase()) {
-        case INSTANCE:
-          {
-            mergeInstance(other.getInstance());
-            break;
-          }
-        case FIREWALL:
-          {
-            mergeFirewall(other.getFirewall());
-            break;
-          }
-        case ROUTE:
-          {
-            mergeRoute(other.getRoute());
-            break;
-          }
-        case ENDPOINT:
-          {
-            mergeEndpoint(other.getEndpoint());
-            break;
-          }
-        case FORWARDING_RULE:
-          {
-            mergeForwardingRule(other.getForwardingRule());
-            break;
-          }
-        case VPN_GATEWAY:
-          {
-            mergeVpnGateway(other.getVpnGateway());
-            break;
-          }
-        case VPN_TUNNEL:
-          {
-            mergeVpnTunnel(other.getVpnTunnel());
-            break;
-          }
-        case VPC_CONNECTOR:
-          {
-            mergeVpcConnector(other.getVpcConnector());
-            break;
-          }
-        case DELIVER:
-          {
-            mergeDeliver(other.getDeliver());
-            break;
-          }
-        case FORWARD:
-          {
-            mergeForward(other.getForward());
-            break;
-          }
-        case ABORT:
-          {
-            mergeAbort(other.getAbort());
-            break;
-          }
-        case DROP:
-          {
-            mergeDrop(other.getDrop());
-            break;
-          }
-        case LOAD_BALANCER:
-          {
-            mergeLoadBalancer(other.getLoadBalancer());
-            break;
-          }
-        case NETWORK:
-          {
-            mergeNetwork(other.getNetwork());
-            break;
-          }
-        case GKE_MASTER:
-          {
-            mergeGkeMaster(other.getGkeMaster());
-            break;
-          }
-        case CLOUD_SQL_INSTANCE:
-          {
-            mergeCloudSqlInstance(other.getCloudSqlInstance());
-            break;
-          }
-        case CLOUD_FUNCTION:
-          {
-            mergeCloudFunction(other.getCloudFunction());
-            break;
-          }
-        case STEPINFO_NOT_SET:
-          {
-            break;
-          }
+        case INSTANCE: {
+          mergeInstance(other.getInstance());
+          break;
+        }
+        case FIREWALL: {
+          mergeFirewall(other.getFirewall());
+          break;
+        }
+        case ROUTE: {
+          mergeRoute(other.getRoute());
+          break;
+        }
+        case ENDPOINT: {
+          mergeEndpoint(other.getEndpoint());
+          break;
+        }
+        case FORWARDING_RULE: {
+          mergeForwardingRule(other.getForwardingRule());
+          break;
+        }
+        case VPN_GATEWAY: {
+          mergeVpnGateway(other.getVpnGateway());
+          break;
+        }
+        case VPN_TUNNEL: {
+          mergeVpnTunnel(other.getVpnTunnel());
+          break;
+        }
+        case VPC_CONNECTOR: {
+          mergeVpcConnector(other.getVpcConnector());
+          break;
+        }
+        case DELIVER: {
+          mergeDeliver(other.getDeliver());
+          break;
+        }
+        case FORWARD: {
+          mergeForward(other.getForward());
+          break;
+        }
+        case ABORT: {
+          mergeAbort(other.getAbort());
+          break;
+        }
+        case DROP: {
+          mergeDrop(other.getDrop());
+          break;
+        }
+        case LOAD_BALANCER: {
+          mergeLoadBalancer(other.getLoadBalancer());
+          break;
+        }
+        case NETWORK: {
+          mergeNetwork(other.getNetwork());
+          break;
+        }
+        case GKE_MASTER: {
+          mergeGkeMaster(other.getGkeMaster());
+          break;
+        }
+        case CLOUD_SQL_INSTANCE: {
+          mergeCloudSqlInstance(other.getCloudSqlInstance());
+          break;
+        }
+        case CLOUD_FUNCTION: {
+          mergeCloudFunction(other.getCloudFunction());
+          break;
+        }
+        case STEPINFO_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2711,140 +2367,151 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                causesDrop_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getFirewallFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getRouteFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getEndpointFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getForwardingRuleFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 9;
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getVpnGatewayFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 10;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getVpnTunnelFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 11;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getDeliverFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 12;
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(getForwardFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 13;
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getAbortFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 14;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getDropFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(getLoadBalancerFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 16;
-                break;
-              } // case 130
-            case 138:
-              {
-                input.readMessage(getNetworkFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 17;
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(getGkeMasterFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 18;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getCloudSqlInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 19;
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(getCloudFunctionFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 20;
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(getVpcConnectorFieldBuilder().getBuilder(), extensionRegistry);
-                stepInfoCase_ = 21;
-                break;
-              } // case 170
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              causesDrop_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getFirewallFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getRouteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEndpointFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getForwardingRuleFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 9;
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getVpnGatewayFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 10;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getVpnTunnelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 11;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getDeliverFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 12;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getForwardFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 13;
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getAbortFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 14;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getDropFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getLoadBalancerFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 16;
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getNetworkFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 17;
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getGkeMasterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 18;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getCloudSqlInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 19;
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getCloudFunctionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 20;
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getVpcConnectorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepInfoCase_ = 21;
+              break;
+            } // case 170
+            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) {
@@ -2854,12 +2521,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int stepInfoCase_ = 0;
     private java.lang.Object stepInfo_;
-
-    public StepInfoCase getStepInfoCase() {
-      return StepInfoCase.forNumber(stepInfoCase_);
+    public StepInfoCase
+        getStepInfoCase() {
+      return StepInfoCase.forNumber(
+          stepInfoCase_);
     }
 
     public Builder clearStepInfo() {
@@ -2873,20 +2540,18 @@ public Builder clearStepInfo() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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; @@ -2895,21 +2560,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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 { @@ -2917,35 +2581,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2955,21 +2612,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; - * * @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_ |= 0x00000001; @@ -2979,29 +2632,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3012,33 +2658,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Step.State getState() { - com.google.cloud.networkmanagement.v1beta1.Step.State result = - com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.Step.State result = com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED : result; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3052,14 +2689,11 @@ public Builder setState(com.google.cloud.networkmanagement.v1beta1.Step.State va return this; } /** - * - * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { @@ -3069,16 +2703,13 @@ public Builder clearState() { return this; } - private boolean causesDrop_; + private boolean causesDrop_ ; /** - * - * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; - * * @return The causesDrop. */ @java.lang.Override @@ -3086,33 +2717,27 @@ public boolean getCausesDrop() { return causesDrop_; } /** - * - * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; - * * @param value The causesDrop to set. * @return This builder for chaining. */ public Builder setCausesDrop(boolean value) { - + causesDrop_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; - * * @return This builder for chaining. */ public Builder clearCausesDrop() { @@ -3124,20 +2749,18 @@ public Builder clearCausesDrop() { private java.lang.Object projectId_ = ""; /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -3146,21 +2769,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -3168,35 +2790,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -3206,21 +2821,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000008; @@ -3229,19 +2840,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.InstanceInfo, - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> - instanceBuilder_; + com.google.cloud.networkmanagement.v1beta1.InstanceInfo, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> instanceBuilder_; /** - * - * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -3249,14 +2854,11 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; - * * @return The instance. */ @java.lang.Override @@ -3274,8 +2876,6 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance() { } } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3296,8 +2896,6 @@ public Builder setInstance(com.google.cloud.networkmanagement.v1beta1.InstanceIn return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3316,8 +2914,6 @@ public Builder setInstance( return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3326,14 +2922,10 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.cloud.networkmanagement.v1beta1.InstanceInfo value) { if (instanceBuilder_ == null) { - if (stepInfoCase_ == 5 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 5 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.InstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3349,8 +2941,6 @@ public Builder mergeInstance(com.google.cloud.networkmanagement.v1beta1.Instance return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3374,8 +2964,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3386,8 +2974,6 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder getInstan return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3406,8 +2992,6 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInsta } } /** - * - * *
      * Display information of a Compute Engine instance.
      * 
@@ -3415,19 +2999,14 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInsta * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.InstanceInfo, - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.InstanceInfo, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { if (!(stepInfoCase_ == 5)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance(); } - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.InstanceInfo, - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder>( + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.InstanceInfo, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3439,19 +3018,13 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInsta } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.FirewallInfo, - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> - firewallBuilder_; + com.google.cloud.networkmanagement.v1beta1.FirewallInfo, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> firewallBuilder_; /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; - * * @return Whether the firewall field is set. */ @java.lang.Override @@ -3459,14 +3032,11 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; - * * @return The firewall. */ @java.lang.Override @@ -3484,8 +3054,6 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall() { } } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3506,8 +3074,6 @@ public Builder setFirewall(com.google.cloud.networkmanagement.v1beta1.FirewallIn return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3526,8 +3092,6 @@ public Builder setFirewall( return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3536,14 +3100,10 @@ public Builder setFirewall( */ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1beta1.FirewallInfo value) { if (firewallBuilder_ == null) { - if (stepInfoCase_ == 6 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 6 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3559,8 +3119,6 @@ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1beta1.Firewall return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3584,8 +3142,6 @@ public Builder clearFirewall() { return this; } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3596,8 +3152,6 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder getFirewa return getFirewallFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3616,8 +3170,6 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirew } } /** - * - * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3625,19 +3177,14 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirew * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.FirewallInfo, - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.FirewallInfo, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> getFirewallFieldBuilder() { if (firewallBuilder_ == null) { if (!(stepInfoCase_ == 6)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance(); } - firewallBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.FirewallInfo, - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder>( + firewallBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.FirewallInfo, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3649,19 +3196,13 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirew } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.RouteInfo, - com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> - routeBuilder_; + com.google.cloud.networkmanagement.v1beta1.RouteInfo, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> routeBuilder_; /** - * - * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; - * * @return Whether the route field is set. */ @java.lang.Override @@ -3669,14 +3210,11 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; - * * @return The route. */ @java.lang.Override @@ -3694,8 +3232,6 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute() { } } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3716,8 +3252,6 @@ public Builder setRoute(com.google.cloud.networkmanagement.v1beta1.RouteInfo val return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3736,8 +3270,6 @@ public Builder setRoute( return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3746,14 +3278,10 @@ public Builder setRoute( */ public Builder mergeRoute(com.google.cloud.networkmanagement.v1beta1.RouteInfo value) { if (routeBuilder_ == null) { - if (stepInfoCase_ == 7 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.RouteInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 7 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.RouteInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -3769,8 +3297,6 @@ public Builder mergeRoute(com.google.cloud.networkmanagement.v1beta1.RouteInfo v return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3794,8 +3320,6 @@ public Builder clearRoute() { return this; } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3806,8 +3330,6 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder getRouteBuil return getRouteFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3826,8 +3348,6 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB } } /** - * - * *
      * Display information of a Compute Engine route.
      * 
@@ -3835,19 +3355,14 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.RouteInfo, - com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.RouteInfo, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> getRouteFieldBuilder() { if (routeBuilder_ == null) { if (!(stepInfoCase_ == 7)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance(); } - routeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.RouteInfo, - com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder>( + routeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.RouteInfo, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3859,13 +3374,8 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.EndpointInfo, - com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> - endpointBuilder_; + com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> endpointBuilder_; /** - * - * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3874,7 +3384,6 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; - * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -3882,8 +3391,6 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** - * - * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3892,7 +3399,6 @@ public boolean hasEndpoint() {
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; - * * @return The endpoint. */ @java.lang.Override @@ -3910,8 +3416,6 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint() { } } /** - * - * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3935,8 +3439,6 @@ public Builder setEndpoint(com.google.cloud.networkmanagement.v1beta1.EndpointIn
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3958,8 +3460,6 @@ public Builder setEndpoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3971,14 +3471,10 @@ public Builder setEndpoint(
      */
     public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
       if (endpointBuilder_ == null) {
-        if (stepInfoCase_ == 8
-            && stepInfo_
-                != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
-          stepInfo_ =
-              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.newBuilder(
-                      (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (stepInfoCase_ == 8 &&
+            stepInfo_ != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
+          stepInfo_ = com.google.cloud.networkmanagement.v1beta1.EndpointInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           stepInfo_ = value;
         }
@@ -3994,8 +3490,6 @@ public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1beta1.Endpoint
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -4022,8 +3516,6 @@ public Builder clearEndpoint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -4037,8 +3529,6 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpoi
       return getEndpointFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -4060,8 +3550,6 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
       }
     }
     /**
-     *
-     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -4072,19 +3560,14 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
+        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> 
         getEndpointFieldBuilder() {
       if (endpointBuilder_ == null) {
         if (!(stepInfoCase_ == 8)) {
           stepInfo_ = com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance();
         }
-        endpointBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
+        endpointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
                 (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_,
                 getParentForChildren(),
                 isClean());
@@ -4096,19 +3579,13 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo,
-            com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder,
-            com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder>
-        forwardingRuleBuilder_;
+        com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder> forwardingRuleBuilder_;
     /**
-     *
-     *
      * 
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; - * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -4116,14 +3593,11 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; - * * @return The forwardingRule. */ @java.lang.Override @@ -4141,16 +3615,13 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardi } } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder setForwardingRule( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { + public Builder setForwardingRule(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4164,8 +3635,6 @@ public Builder setForwardingRule( return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4184,26 +3653,18 @@ public Builder setForwardingRule( return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder mergeForwardingRule( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { + public Builder mergeForwardingRule(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { - if (stepInfoCase_ == 9 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo - .getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 9 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4219,8 +3680,6 @@ public Builder mergeForwardingRule( return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4244,21 +3703,16 @@ public Builder clearForwardingRule() { return this; } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder - getForwardingRuleBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder getForwardingRuleBuilder() { return getForwardingRuleFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4266,8 +3720,7 @@ public Builder clearForwardingRule() { * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder - getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { if ((stepInfoCase_ == 9) && (forwardingRuleBuilder_ != null)) { return forwardingRuleBuilder_.getMessageOrBuilder(); } else { @@ -4278,8 +3731,6 @@ public Builder clearForwardingRule() { } } /** - * - * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -4287,20 +3738,14 @@ public Builder clearForwardingRule() { * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder> getForwardingRuleFieldBuilder() { if (forwardingRuleBuilder_ == null) { if (!(stepInfoCase_ == 9)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); - } - forwardingRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); + } + forwardingRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4312,19 +3757,13 @@ public Builder clearForwardingRule() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> - vpnGatewayBuilder_; + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> vpnGatewayBuilder_; /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; - * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -4332,14 +3771,11 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; - * * @return The vpnGateway. */ @java.lang.Override @@ -4356,9 +3792,7 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway() return com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); } } - /** - * - * + /** *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4379,8 +3813,6 @@ public Builder setVpnGateway(com.google.cloud.networkmanagement.v1beta1.VpnGatew return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4399,25 +3831,18 @@ public Builder setVpnGateway( return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ - public Builder mergeVpnGateway( - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo value) { + public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo value) { if (vpnGatewayBuilder_ == null) { - if (stepInfoCase_ == 10 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 10 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4433,8 +3858,6 @@ public Builder mergeVpnGateway( return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4458,21 +3881,16 @@ public Builder clearVpnGateway() { return this; } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ - public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder - getVpnGatewayBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder getVpnGatewayBuilder() { return getVpnGatewayFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4480,8 +3898,7 @@ public Builder clearVpnGateway() { * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder - getVpnGatewayOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder() { if ((stepInfoCase_ == 10) && (vpnGatewayBuilder_ != null)) { return vpnGatewayBuilder_.getMessageOrBuilder(); } else { @@ -4492,8 +3909,6 @@ public Builder clearVpnGateway() { } } /** - * - * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -4501,20 +3916,14 @@ public Builder clearVpnGateway() { * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> getVpnGatewayFieldBuilder() { if (vpnGatewayBuilder_ == null) { if (!(stepInfoCase_ == 10)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); - } - vpnGatewayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); + } + vpnGatewayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4526,19 +3935,13 @@ public Builder clearVpnGateway() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> - vpnTunnelBuilder_; + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> vpnTunnelBuilder_; /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; - * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -4546,14 +3949,11 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; - * * @return The vpnTunnel. */ @java.lang.Override @@ -4571,8 +3971,6 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel() { } } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4593,8 +3991,6 @@ public Builder setVpnTunnel(com.google.cloud.networkmanagement.v1beta1.VpnTunnel return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4613,8 +4009,6 @@ public Builder setVpnTunnel( return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4623,14 +4017,10 @@ public Builder setVpnTunnel( */ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo value) { if (vpnTunnelBuilder_ == null) { - if (stepInfoCase_ == 11 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 11 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4646,8 +4036,6 @@ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1beta1.VpnTunn return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4671,8 +4059,6 @@ public Builder clearVpnTunnel() { return this; } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4683,8 +4069,6 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu return getVpnTunnelFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4692,8 +4076,7 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder - getVpnTunnelOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder() { if ((stepInfoCase_ == 11) && (vpnTunnelBuilder_ != null)) { return vpnTunnelBuilder_.getMessageOrBuilder(); } else { @@ -4704,8 +4087,6 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu } } /** - * - * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4713,19 +4094,14 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> getVpnTunnelFieldBuilder() { if (vpnTunnelBuilder_ == null) { if (!(stepInfoCase_ == 11)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance(); } - vpnTunnelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder>( + vpnTunnelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4737,19 +4113,13 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> - vpcConnectorBuilder_; + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> vpcConnectorBuilder_; /** - * - * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; - * * @return Whether the vpcConnector field is set. */ @java.lang.Override @@ -4757,14 +4127,11 @@ public boolean hasVpcConnector() { return stepInfoCase_ == 21; } /** - * - * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; - * * @return The vpcConnector. */ @java.lang.Override @@ -4782,16 +4149,13 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnect } } /** - * - * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ - public Builder setVpcConnector( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { + public Builder setVpcConnector(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { if (vpcConnectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4805,8 +4169,6 @@ public Builder setVpcConnector( return this; } /** - * - * *
      * Display information of a VPC connector.
      * 
@@ -4825,26 +4187,18 @@ public Builder setVpcConnector( return this; } /** - * - * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ - public Builder mergeVpcConnector( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { + public Builder mergeVpcConnector(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { if (vpcConnectorBuilder_ == null) { - if (stepInfoCase_ == 21 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo - .getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 21 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -4860,8 +4214,6 @@ public Builder mergeVpcConnector( return this; } /** - * - * *
      * Display information of a VPC connector.
      * 
@@ -4885,21 +4237,16 @@ public Builder clearVpcConnector() { return this; } /** - * - * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ - public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder - getVpcConnectorBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder getVpcConnectorBuilder() { return getVpcConnectorFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a VPC connector.
      * 
@@ -4907,8 +4254,7 @@ public Builder clearVpcConnector() { * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder - getVpcConnectorOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder() { if ((stepInfoCase_ == 21) && (vpcConnectorBuilder_ != null)) { return vpcConnectorBuilder_.getMessageOrBuilder(); } else { @@ -4919,8 +4265,6 @@ public Builder clearVpcConnector() { } } /** - * - * *
      * Display information of a VPC connector.
      * 
@@ -4928,20 +4272,14 @@ public Builder clearVpcConnector() { * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> getVpcConnectorFieldBuilder() { if (vpcConnectorBuilder_ == null) { if (!(stepInfoCase_ == 21)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); - } - vpcConnectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); + } + vpcConnectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4953,19 +4291,13 @@ public Builder clearVpcConnector() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DeliverInfo, - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> - deliverBuilder_; + com.google.cloud.networkmanagement.v1beta1.DeliverInfo, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> deliverBuilder_; /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; - * * @return Whether the deliver field is set. */ @java.lang.Override @@ -4973,14 +4305,11 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; - * * @return The deliver. */ @java.lang.Override @@ -4998,8 +4327,6 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver() { } } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5020,8 +4347,6 @@ public Builder setDeliver(com.google.cloud.networkmanagement.v1beta1.DeliverInfo return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5040,8 +4365,6 @@ public Builder setDeliver( return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5050,14 +4373,10 @@ public Builder setDeliver( */ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1beta1.DeliverInfo value) { if (deliverBuilder_ == null) { - if (stepInfoCase_ == 12 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 12 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5073,8 +4392,6 @@ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1beta1.DeliverIn return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5098,8 +4415,6 @@ public Builder clearDeliver() { return this; } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5110,8 +4425,6 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder getDeliver return getDeliverFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5130,8 +4443,6 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDelive } } /** - * - * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -5139,19 +4450,14 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDelive * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DeliverInfo, - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.DeliverInfo, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> getDeliverFieldBuilder() { if (deliverBuilder_ == null) { if (!(stepInfoCase_ == 12)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance(); } - deliverBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DeliverInfo, - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder>( + deliverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.DeliverInfo, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5163,19 +4469,13 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDelive } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardInfo, - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> - forwardBuilder_; + com.google.cloud.networkmanagement.v1beta1.ForwardInfo, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> forwardBuilder_; /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; - * * @return Whether the forward field is set. */ @java.lang.Override @@ -5183,14 +4483,11 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; - * * @return The forward. */ @java.lang.Override @@ -5208,8 +4505,6 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward() { } } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5230,8 +4525,6 @@ public Builder setForward(com.google.cloud.networkmanagement.v1beta1.ForwardInfo return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5250,8 +4543,6 @@ public Builder setForward( return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5260,14 +4551,10 @@ public Builder setForward( */ public Builder mergeForward(com.google.cloud.networkmanagement.v1beta1.ForwardInfo value) { if (forwardBuilder_ == null) { - if (stepInfoCase_ == 13 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 13 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5283,8 +4570,6 @@ public Builder mergeForward(com.google.cloud.networkmanagement.v1beta1.ForwardIn return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5308,8 +4593,6 @@ public Builder clearForward() { return this; } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5320,8 +4603,6 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder getForward return getForwardFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5340,8 +4621,6 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwar } } /** - * - * *
      * Display information of the final state "forward" and reason.
      * 
@@ -5349,19 +4628,14 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwar * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardInfo, - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ForwardInfo, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> getForwardFieldBuilder() { if (forwardBuilder_ == null) { if (!(stepInfoCase_ == 13)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance(); } - forwardBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardInfo, - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder>( + forwardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ForwardInfo, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5373,19 +4647,13 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwar } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.AbortInfo, - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> - abortBuilder_; + com.google.cloud.networkmanagement.v1beta1.AbortInfo, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> abortBuilder_; /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; - * * @return Whether the abort field is set. */ @java.lang.Override @@ -5393,14 +4661,11 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; - * * @return The abort. */ @java.lang.Override @@ -5418,8 +4683,6 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort() { } } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5440,8 +4703,6 @@ public Builder setAbort(com.google.cloud.networkmanagement.v1beta1.AbortInfo val return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5460,8 +4721,6 @@ public Builder setAbort( return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5470,14 +4729,10 @@ public Builder setAbort( */ public Builder mergeAbort(com.google.cloud.networkmanagement.v1beta1.AbortInfo value) { if (abortBuilder_ == null) { - if (stepInfoCase_ == 14 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.AbortInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 14 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.AbortInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5493,8 +4748,6 @@ public Builder mergeAbort(com.google.cloud.networkmanagement.v1beta1.AbortInfo v return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5518,8 +4771,6 @@ public Builder clearAbort() { return this; } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5530,8 +4781,6 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder getAbortBuil return getAbortFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5550,8 +4799,6 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrB } } /** - * - * *
      * Display information of the final state "abort" and reason.
      * 
@@ -5559,19 +4806,14 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrB * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.AbortInfo, - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.AbortInfo, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> getAbortFieldBuilder() { if (abortBuilder_ == null) { if (!(stepInfoCase_ == 14)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance(); } - abortBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.AbortInfo, - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder>( + abortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.AbortInfo, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5583,19 +4825,13 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DropInfo, - com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> - dropBuilder_; + com.google.cloud.networkmanagement.v1beta1.DropInfo, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> dropBuilder_; /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -5603,14 +4839,11 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; - * * @return The drop. */ @java.lang.Override @@ -5628,8 +4861,6 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() { } } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5650,8 +4881,6 @@ public Builder setDrop(com.google.cloud.networkmanagement.v1beta1.DropInfo value return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5670,8 +4899,6 @@ public Builder setDrop( return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5680,14 +4907,10 @@ public Builder setDrop( */ public Builder mergeDrop(com.google.cloud.networkmanagement.v1beta1.DropInfo value) { if (dropBuilder_ == null) { - if (stepInfoCase_ == 15 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.DropInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 15 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DropInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5703,8 +4926,6 @@ public Builder mergeDrop(com.google.cloud.networkmanagement.v1beta1.DropInfo val return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5728,8 +4949,6 @@ public Builder clearDrop() { return this; } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5740,8 +4959,6 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder getDropBuilde return getDropFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5760,8 +4977,6 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBui } } /** - * - * *
      * Display information of the final state "drop" and reason.
      * 
@@ -5769,19 +4984,14 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBui * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DropInfo, - com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.DropInfo, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> getDropFieldBuilder() { if (dropBuilder_ == null) { if (!(stepInfoCase_ == 15)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance(); } - dropBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DropInfo, - com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder>( + dropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.DropInfo, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5793,19 +5003,13 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> - loadBalancerBuilder_; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> loadBalancerBuilder_; /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; - * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -5813,14 +5017,11 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; - * * @return The loadBalancer. */ @java.lang.Override @@ -5838,16 +5039,13 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalanc } } /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ - public Builder setLoadBalancer( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { + public Builder setLoadBalancer(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { if (loadBalancerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5861,8 +5059,6 @@ public Builder setLoadBalancer( return this; } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5881,26 +5077,18 @@ public Builder setLoadBalancer( return this; } /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ - public Builder mergeLoadBalancer( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { + public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { if (loadBalancerBuilder_ == null) { - if (stepInfoCase_ == 16 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo - .getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 16 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -5916,8 +5104,6 @@ public Builder mergeLoadBalancer( return this; } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5941,21 +5127,16 @@ public Builder clearLoadBalancer() { return this; } /** - * - * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder - getLoadBalancerBuilder() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder getLoadBalancerBuilder() { return getLoadBalancerFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5963,8 +5144,7 @@ public Builder clearLoadBalancer() { * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder - getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { if ((stepInfoCase_ == 16) && (loadBalancerBuilder_ != null)) { return loadBalancerBuilder_.getMessageOrBuilder(); } else { @@ -5975,8 +5155,6 @@ public Builder clearLoadBalancer() { } } /** - * - * *
      * Display information of the load balancers.
      * 
@@ -5984,20 +5162,14 @@ public Builder clearLoadBalancer() { * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> getLoadBalancerFieldBuilder() { if (loadBalancerBuilder_ == null) { if (!(stepInfoCase_ == 16)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); - } - loadBalancerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); + } + loadBalancerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_, getParentForChildren(), isClean()); @@ -6009,19 +5181,13 @@ public Builder clearLoadBalancer() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.NetworkInfo, - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> - networkBuilder_; + com.google.cloud.networkmanagement.v1beta1.NetworkInfo, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> networkBuilder_; /** - * - * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; - * * @return Whether the network field is set. */ @java.lang.Override @@ -6029,14 +5195,11 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; - * * @return The network. */ @java.lang.Override @@ -6054,8 +5217,6 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork() { } } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6076,8 +5237,6 @@ public Builder setNetwork(com.google.cloud.networkmanagement.v1beta1.NetworkInfo return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6096,8 +5255,6 @@ public Builder setNetwork( return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6106,14 +5263,10 @@ public Builder setNetwork( */ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1beta1.NetworkInfo value) { if (networkBuilder_ == null) { - if (stepInfoCase_ == 17 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 17 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.NetworkInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -6129,8 +5282,6 @@ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1beta1.NetworkIn return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6154,8 +5305,6 @@ public Builder clearNetwork() { return this; } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6166,8 +5315,6 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder getNetwork return getNetworkFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6186,8 +5333,6 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetwor } } /** - * - * *
      * Display information of a Google Cloud network.
      * 
@@ -6195,19 +5340,14 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetwor * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.NetworkInfo, - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.NetworkInfo, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> getNetworkFieldBuilder() { if (networkBuilder_ == null) { if (!(stepInfoCase_ == 17)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance(); } - networkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.NetworkInfo, - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder>( + networkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.NetworkInfo, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_, getParentForChildren(), isClean()); @@ -6219,19 +5359,13 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetwor } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> - gkeMasterBuilder_; + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> gkeMasterBuilder_; /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; - * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -6239,14 +5373,11 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; - * * @return The gkeMaster. */ @java.lang.Override @@ -6264,8 +5395,6 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster() { } } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6286,8 +5415,6 @@ public Builder setGkeMaster(com.google.cloud.networkmanagement.v1beta1.GKEMaster return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6306,8 +5433,6 @@ public Builder setGkeMaster( return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6316,14 +5441,10 @@ public Builder setGkeMaster( */ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo value) { if (gkeMasterBuilder_ == null) { - if (stepInfoCase_ == 18 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 18 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -6339,8 +5460,6 @@ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1beta1.GKEMast return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6364,8 +5483,6 @@ public Builder clearGkeMaster() { return this; } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6376,8 +5493,6 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa return getGkeMasterFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6385,8 +5500,7 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder - getGkeMasterOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder() { if ((stepInfoCase_ == 18) && (gkeMasterBuilder_ != null)) { return gkeMasterBuilder_.getMessageOrBuilder(); } else { @@ -6397,8 +5511,6 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa } } /** - * - * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -6406,19 +5518,14 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> getGkeMasterFieldBuilder() { if (gkeMasterBuilder_ == null) { if (!(stepInfoCase_ == 18)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance(); } - gkeMasterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder>( + gkeMasterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_, getParentForChildren(), isClean()); @@ -6430,20 +5537,13 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> - cloudSqlInstanceBuilder_; + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> cloudSqlInstanceBuilder_; /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -6451,15 +5551,11 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; * @return The cloudSqlInstance. */ @java.lang.Override @@ -6477,17 +5573,13 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudS } } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public Builder setCloudSqlInstance( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { + public Builder setCloudSqlInstance(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6501,14 +5593,11 @@ public Builder setCloudSqlInstance( return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ public Builder setCloudSqlInstance( com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder builderForValue) { @@ -6522,27 +5611,18 @@ public Builder setCloudSqlInstance( return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public Builder mergeCloudSqlInstance( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { + public Builder mergeCloudSqlInstance(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { - if (stepInfoCase_ == 19 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo - .getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 19 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -6558,14 +5638,11 @@ public Builder mergeCloudSqlInstance( return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ public Builder clearCloudSqlInstance() { if (cloudSqlInstanceBuilder_ == null) { @@ -6584,32 +5661,24 @@ public Builder clearCloudSqlInstance() { return this; } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder - getCloudSqlInstanceBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder getCloudSqlInstanceBuilder() { return getCloudSqlInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder - getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { if ((stepInfoCase_ == 19) && (cloudSqlInstanceBuilder_ != null)) { return cloudSqlInstanceBuilder_.getMessageOrBuilder(); } else { @@ -6620,30 +5689,21 @@ public Builder clearCloudSqlInstance() { } } /** - * - * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> getCloudSqlInstanceFieldBuilder() { if (cloudSqlInstanceBuilder_ == null) { if (!(stepInfoCase_ == 19)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); - } - cloudSqlInstanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); + } + cloudSqlInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -6655,19 +5715,13 @@ public Builder clearCloudSqlInstance() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> - cloudFunctionBuilder_; + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> cloudFunctionBuilder_; /** - * - * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; - * * @return Whether the cloudFunction field is set. */ @java.lang.Override @@ -6675,14 +5729,11 @@ public boolean hasCloudFunction() { return stepInfoCase_ == 20; } /** - * - * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; - * * @return The cloudFunction. */ @java.lang.Override @@ -6700,16 +5751,13 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunc } } /** - * - * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ - public Builder setCloudFunction( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { + public Builder setCloudFunction(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { if (cloudFunctionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6723,8 +5771,6 @@ public Builder setCloudFunction( return this; } /** - * - * *
      * Display information of a Cloud function.
      * 
@@ -6743,26 +5789,18 @@ public Builder setCloudFunction( return this; } /** - * - * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ - public Builder mergeCloudFunction( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { + public Builder mergeCloudFunction(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { if (cloudFunctionBuilder_ == null) { - if (stepInfoCase_ == 20 - && stepInfo_ - != com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo - .getDefaultInstance()) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.newBuilder( - (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_) - .mergeFrom(value) - .buildPartial(); + if (stepInfoCase_ == 20 && + stepInfo_ != com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance()) { + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_) + .mergeFrom(value).buildPartial(); } else { stepInfo_ = value; } @@ -6778,8 +5816,6 @@ public Builder mergeCloudFunction( return this; } /** - * - * *
      * Display information of a Cloud function.
      * 
@@ -6803,21 +5839,16 @@ public Builder clearCloudFunction() { return this; } /** - * - * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder - getCloudFunctionBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder getCloudFunctionBuilder() { return getCloudFunctionFieldBuilder().getBuilder(); } /** - * - * *
      * Display information of a Cloud function.
      * 
@@ -6825,8 +5856,7 @@ public Builder clearCloudFunction() { * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder - getCloudFunctionOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder getCloudFunctionOrBuilder() { if ((stepInfoCase_ == 20) && (cloudFunctionBuilder_ != null)) { return cloudFunctionBuilder_.getMessageOrBuilder(); } else { @@ -6837,8 +5867,6 @@ public Builder clearCloudFunction() { } } /** - * - * *
      * Display information of a Cloud function.
      * 
@@ -6846,20 +5874,14 @@ public Builder clearCloudFunction() { * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> getCloudFunctionFieldBuilder() { if (cloudFunctionBuilder_ == null) { if (!(stepInfoCase_ == 20)) { - stepInfo_ = - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); - } - cloudFunctionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>( + stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); + } + cloudFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_, getParentForChildren(), isClean()); @@ -6869,9 +5891,9 @@ public Builder clearCloudFunction() { onChanged(); return cloudFunctionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6881,12 +5903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Step) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Step) private static final com.google.cloud.networkmanagement.v1beta1.Step DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Step(); } @@ -6895,27 +5917,27 @@ public static com.google.cloud.networkmanagement.v1beta1.Step getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step 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 Step 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; @@ -6930,4 +5952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.Step getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java similarity index 90% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java index baf3ad92004f..0a2a8b72e018 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface StepOrBuilder - extends +public interface StepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Step) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; - * * @return The state. */ com.google.cloud.networkmanagement.v1beta1.Step.State getState(); /** - * - * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; - * * @return The causesDrop. */ boolean getCausesDrop(); /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; - * * @return The instance. */ com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance(); /** - * - * *
    * Display information of a Compute Engine instance.
    * 
@@ -147,32 +104,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; - * * @return Whether the firewall field is set. */ boolean hasFirewall(); /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; - * * @return The firewall. */ com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall(); /** - * - * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -182,32 +131,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirewallOrBuilder(); /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; - * * @return Whether the route field is set. */ boolean hasRoute(); /** - * - * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; - * * @return The route. */ com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute(); /** - * - * *
    * Display information of a Compute Engine route.
    * 
@@ -217,8 +158,6 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrBuilder(); /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -227,13 +166,10 @@ public interface StepOrBuilder
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; - * * @return Whether the endpoint field is set. */ boolean hasEndpoint(); /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -242,13 +178,10 @@ public interface StepOrBuilder
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; - * * @return The endpoint. */ com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint(); /** - * - * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -261,68 +194,51 @@ public interface StepOrBuilder
   com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointOrBuilder();
 
   /**
-   *
-   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; - * * @return Whether the forwardingRule field is set. */ boolean hasForwardingRule(); /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; - * * @return The forwardingRule. */ com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardingRule(); /** - * - * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder - getForwardingRuleOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder(); /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; - * * @return Whether the vpnGateway field is set. */ boolean hasVpnGateway(); /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; - * * @return The vpnGateway. */ com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway(); /** - * - * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -332,32 +248,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder(); /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; - * * @return Whether the vpnTunnel field is set. */ boolean hasVpnTunnel(); /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; - * * @return The vpnTunnel. */ com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel(); /** - * - * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -367,32 +275,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder(); /** - * - * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; - * * @return Whether the vpcConnector field is set. */ boolean hasVpcConnector(); /** - * - * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; - * * @return The vpcConnector. */ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector(); /** - * - * *
    * Display information of a VPC connector.
    * 
@@ -402,32 +302,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder(); /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; - * * @return Whether the deliver field is set. */ boolean hasDeliver(); /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; - * * @return The deliver. */ com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver(); /** - * - * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -437,32 +329,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDeliverOrBuilder(); /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; - * * @return Whether the forward field is set. */ boolean hasForward(); /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; - * * @return The forward. */ com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward(); /** - * - * *
    * Display information of the final state "forward" and reason.
    * 
@@ -472,32 +356,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwardOrBuilder(); /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; - * * @return Whether the abort field is set. */ boolean hasAbort(); /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; - * * @return The abort. */ com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort(); /** - * - * *
    * Display information of the final state "abort" and reason.
    * 
@@ -507,32 +383,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrBuilder(); /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; - * * @return Whether the drop field is set. */ boolean hasDrop(); /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; - * * @return The drop. */ com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop(); /** - * - * *
    * Display information of the final state "drop" and reason.
    * 
@@ -542,32 +410,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBuilder(); /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; - * * @return Whether the loadBalancer field is set. */ boolean hasLoadBalancer(); /** - * - * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; - * * @return The loadBalancer. */ com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalancer(); /** - * - * *
    * Display information of the load balancers.
    * 
@@ -577,32 +437,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder(); /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; - * * @return Whether the network field is set. */ boolean hasNetwork(); /** - * - * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; - * * @return The network. */ com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork(); /** - * - * *
    * Display information of a Google Cloud network.
    * 
@@ -612,32 +464,24 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetworkOrBuilder(); /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; - * * @return Whether the gkeMaster field is set. */ boolean hasGkeMaster(); /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; - * * @return The gkeMaster. */ com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster(); /** - * - * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -647,71 +491,51 @@ public interface StepOrBuilder com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder(); /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; * @return Whether the cloudSqlInstance field is set. */ boolean hasCloudSqlInstance(); /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; * @return The cloudSqlInstance. */ com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudSqlInstance(); /** - * - * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; - * + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder - getCloudSqlInstanceOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder(); /** - * - * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; - * * @return Whether the cloudFunction field is set. */ boolean hasCloudFunction(); /** - * - * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; - * * @return The cloudFunction. */ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction(); /** - * - * *
    * Display information of a Cloud function.
    * 
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java new file mode 100644 index 000000000000..8feece91646b --- /dev/null +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java @@ -0,0 +1,231 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto + +package com.google.cloud.networkmanagement.v1beta1; + +public final class TestOuterClass { + private TestOuterClass() {} + 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_networkmanagement_v1beta1_ConnectivityTest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_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/networkmanagement/v1beta1" + + "/connectivity_test.proto\022&google.cloud.n" + + "etworkmanagement.v1beta1\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\0322google/cloud/networkmanagement/v1b" + + "eta1/trace.proto\032\037google/protobuf/timest" + + "amp.proto\032\027google/rpc/status.proto\"\261\006\n\020C" + + "onnectivityTest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013de" + + "scription\030\002 \001(\t\022E\n\006source\030\003 \001(\01320.google" + + ".cloud.networkmanagement.v1beta1.Endpoin" + + "tB\003\340A\002\022J\n\013destination\030\004 \001(\01320.google.clo" + + "ud.networkmanagement.v1beta1.EndpointB\003\340" + + "A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020related_projects" + + "\030\006 \003(\t\022\031\n\014display_name\030\007 \001(\tB\003\340A\003\022T\n\006lab" + + "els\030\010 \003(\0132D.google.cloud.networkmanageme" + + "nt.v1beta1.ConnectivityTest.LabelsEntry\022" + + "4\n\013create_time\030\n \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022^\n\024reachabil" + + "ity_details\030\014 \001(\0132;.google.cloud.network" + + "management.v1beta1.ReachabilityDetailsB\003" + + "\340A\003\022T\n\017probing_details\030\016 \001(\01326.google.cl" + + "oud.networkmanagement.v1beta1.ProbingDet" + + "ailsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement" + + ".googleapis.com/ConnectivityTest\022 * Trace represents one simulated packet forwarding path. * * Each trace contains multiple ordered steps. @@ -36,51 +19,47 @@ * * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Trace} */ -public final class Trace extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Trace extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Trace) TraceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Trace.newBuilder() to construct. private Trace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Trace() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Trace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Trace.class, - com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Trace.class, com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class); } public static final int ENDPOINT_INFO_FIELD_NUMBER = 1; private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_; /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -89,7 +68,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; - * * @return Whether the endpointInfo field is set. */ @java.lang.Override @@ -97,8 +75,6 @@ public boolean hasEndpointInfo() { return endpointInfo_ != null; } /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -107,18 +83,13 @@ public boolean hasEndpointInfo() {
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; - * * @return The endpointInfo. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { - return endpointInfo_ == null - ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() - : endpointInfo_; + return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; } /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -129,20 +100,14 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo()
    * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
-      getEndpointInfoOrBuilder() {
-    return endpointInfo_ == null
-        ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
-        : endpointInfo_;
+  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
+    return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
   }
 
   public static final int STEPS_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List steps_;
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -158,8 +123,6 @@ public java.util.List getStepsL
     return steps_;
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -171,13 +134,11 @@ public java.util.List getStepsL
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -193,8 +154,6 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -210,8 +169,6 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
     return steps_.get(index);
   }
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -223,12 +180,12 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(int index) {
+  public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(
+      int index) {
     return steps_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -240,7 +197,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (endpointInfo_ != null) {
       output.writeMessage(1, getEndpointInfo());
     }
@@ -257,10 +215,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (endpointInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndpointInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEndpointInfo());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, steps_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -270,19 +230,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.networkmanagement.v1beta1.Trace)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1beta1.Trace other =
-        (com.google.cloud.networkmanagement.v1beta1.Trace) obj;
+    com.google.cloud.networkmanagement.v1beta1.Trace other = (com.google.cloud.networkmanagement.v1beta1.Trace) obj;
 
     if (hasEndpointInfo() != other.hasEndpointInfo()) return false;
     if (hasEndpointInfo()) {
-      if (!getEndpointInfo().equals(other.getEndpointInfo())) return false;
+      if (!getEndpointInfo()
+          .equals(other.getEndpointInfo())) return false;
     }
-    if (!getStepsList().equals(other.getStepsList())) return false;
+    if (!getStepsList()
+        .equals(other.getStepsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -307,104 +268,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.networkmanagement.v1beta1.Trace parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.networkmanagement.v1beta1.Trace parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace 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.networkmanagement.v1beta1.Trace parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Trace prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Trace represents one simulated packet forwarding path.
    *   * Each trace contains multiple ordered steps.
@@ -420,32 +374,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Trace}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Trace)
       com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.Trace.class,
-              com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.Trace.class, com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.Trace.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto
-          .internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
     }
 
     @java.lang.Override
@@ -487,18 +442,14 @@ public com.google.cloud.networkmanagement.v1beta1.Trace build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.Trace buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.Trace result =
-          new com.google.cloud.networkmanagement.v1beta1.Trace(this);
+      com.google.cloud.networkmanagement.v1beta1.Trace result = new com.google.cloud.networkmanagement.v1beta1.Trace(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.networkmanagement.v1beta1.Trace result) {
+    private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.Trace result) {
       if (stepsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           steps_ = java.util.Collections.unmodifiableList(steps_);
@@ -513,8 +464,9 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Trace result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.endpointInfo_ =
-            endpointInfoBuilder_ == null ? endpointInfo_ : endpointInfoBuilder_.build();
+        result.endpointInfo_ = endpointInfoBuilder_ == null
+            ? endpointInfo_
+            : endpointInfoBuilder_.build();
       }
     }
 
@@ -522,39 +474,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Trace 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.networkmanagement.v1beta1.Trace) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Trace) other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Trace)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -562,8 +513,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Trace other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance()) return this;
       if (other.hasEndpointInfo()) {
         mergeEndpointInfo(other.getEndpointInfo());
       }
@@ -585,10 +535,9 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Trace other)
             stepsBuilder_ = null;
             steps_ = other.steps_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            stepsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getStepsFieldBuilder()
-                    : null;
+            stepsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getStepsFieldBuilder() : null;
           } else {
             stepsBuilder_.addAllMessages(other.steps_);
           }
@@ -620,33 +569,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEndpointInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.networkmanagement.v1beta1.Step m =
-                    input.readMessage(
-                        com.google.cloud.networkmanagement.v1beta1.Step.parser(),
-                        extensionRegistry);
-                if (stepsBuilder_ == null) {
-                  ensureStepsIsMutable();
-                  steps_.add(m);
-                } else {
-                  stepsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getEndpointInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.networkmanagement.v1beta1.Step m =
+                  input.readMessage(
+                      com.google.cloud.networkmanagement.v1beta1.Step.parser(),
+                      extensionRegistry);
+              if (stepsBuilder_ == null) {
+                ensureStepsIsMutable();
+                steps_.add(m);
+              } else {
+                stepsBuilder_.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) {
@@ -656,18 +604,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
-        endpointInfoBuilder_;
+        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> endpointInfoBuilder_;
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -676,15 +618,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; - * * @return Whether the endpointInfo field is set. */ public boolean hasEndpointInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -693,21 +632,16 @@ public boolean hasEndpointInfo() {
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; - * * @return The endpointInfo. */ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { if (endpointInfoBuilder_ == null) { - return endpointInfo_ == null - ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() - : endpointInfo_; + return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; } else { return endpointInfoBuilder_.getMessage(); } } /** - * - * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -731,8 +665,6 @@ public Builder setEndpointInfo(com.google.cloud.networkmanagement.v1beta1.Endpoi
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -754,8 +686,6 @@ public Builder setEndpointInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -765,13 +695,11 @@ public Builder setEndpointInfo(
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
-    public Builder mergeEndpointInfo(
-        com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
+    public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
       if (endpointInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && endpointInfo_ != null
-            && endpointInfo_
-                != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          endpointInfo_ != null &&
+          endpointInfo_ != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
           getEndpointInfoBuilder().mergeFrom(value);
         } else {
           endpointInfo_ = value;
@@ -784,8 +712,6 @@ public Builder mergeEndpointInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -806,8 +732,6 @@ public Builder clearEndpointInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -817,15 +741,12 @@ public Builder clearEndpointInfo() {
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder
-        getEndpointInfoBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpointInfoBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getEndpointInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -835,19 +756,15 @@ public Builder clearEndpointInfo() {
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
-        getEndpointInfoOrBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
       if (endpointInfoBuilder_ != null) {
         return endpointInfoBuilder_.getMessageOrBuilder();
       } else {
-        return endpointInfo_ == null
-            ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
-            : endpointInfo_;
+        return endpointInfo_ == null ?
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -858,41 +775,32 @@ public Builder clearEndpointInfo() {
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
+        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> 
         getEndpointInfoFieldBuilder() {
       if (endpointInfoBuilder_ == null) {
-        endpointInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
-                com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
-                getEndpointInfo(), getParentForChildren(), isClean());
+        endpointInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
+                getEndpointInfo(),
+                getParentForChildren(),
+                isClean());
         endpointInfo_ = null;
       }
       return endpointInfoBuilder_;
     }
 
     private java.util.List steps_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.Step,
-            com.google.cloud.networkmanagement.v1beta1.Step.Builder,
-            com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>
-        stepsBuilder_;
+        com.google.cloud.networkmanagement.v1beta1.Step, com.google.cloud.networkmanagement.v1beta1.Step.Builder, com.google.cloud.networkmanagement.v1beta1.StepOrBuilder> stepsBuilder_;
 
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -911,8 +819,6 @@ public java.util.List getStepsL
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -931,8 +837,6 @@ public int getStepsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -951,8 +855,6 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -963,7 +865,8 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public Builder setSteps(int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
+    public Builder setSteps(
+        int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -977,8 +880,6 @@ public Builder setSteps(int index, com.google.cloud.networkmanagement.v1beta1.St
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1001,8 +902,6 @@ public Builder setSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1027,8 +926,6 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1beta1.Step value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1039,7 +936,8 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1beta1.Step value) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public Builder addSteps(int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
+    public Builder addSteps(
+        int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1053,8 +951,6 @@ public Builder addSteps(int index, com.google.cloud.networkmanagement.v1beta1.St
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1077,8 +973,6 @@ public Builder addSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1101,8 +995,6 @@ public Builder addSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1117,7 +1009,8 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -1125,8 +1018,6 @@ public Builder addAllSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1148,8 +1039,6 @@ public Builder clearSteps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1171,8 +1060,6 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1183,12 +1070,11 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Step.Builder getStepsBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1beta1.Step.Builder getStepsBuilder(
+        int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1199,16 +1085,14 @@ public com.google.cloud.networkmanagement.v1beta1.Step.Builder getStepsBuilder(i
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(int index) {
+    public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(
+        int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);
-      } else {
+        return steps_.get(index);  } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1219,8 +1103,8 @@ public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilde
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public java.util.List
-        getStepsOrBuilderList() {
+    public java.util.List 
+         getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1228,8 +1112,6 @@ public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1241,12 +1123,10 @@ public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilde
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
     public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder() {
-      return getStepsFieldBuilder()
-          .addBuilder(com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
+      return getStepsFieldBuilder().addBuilder(
+          com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1257,13 +1137,12 @@ public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder()
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder(int index) {
-      return getStepsFieldBuilder()
-          .addBuilder(index, com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder(
+        int index) {
+      return getStepsFieldBuilder().addBuilder(
+          index, com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1274,30 +1153,27 @@ public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder(i
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public java.util.List
-        getStepsBuilderList() {
+    public java.util.List 
+         getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.Step,
-            com.google.cloud.networkmanagement.v1beta1.Step.Builder,
-            com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>
+        com.google.cloud.networkmanagement.v1beta1.Step, com.google.cloud.networkmanagement.v1beta1.Step.Builder, com.google.cloud.networkmanagement.v1beta1.StepOrBuilder> 
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.networkmanagement.v1beta1.Step,
-                com.google.cloud.networkmanagement.v1beta1.Step.Builder,
-                com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>(
-                steps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.networkmanagement.v1beta1.Step, com.google.cloud.networkmanagement.v1beta1.Step.Builder, com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>(
+                steps_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         steps_ = null;
       }
       return stepsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1307,12 +1183,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Trace)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Trace)
   private static final com.google.cloud.networkmanagement.v1beta1.Trace DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Trace();
   }
@@ -1321,27 +1197,27 @@ public static com.google.cloud.networkmanagement.v1beta1.Trace getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Trace 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 Trace 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;
@@ -1356,4 +1232,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.networkmanagement.v1beta1.Trace getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
similarity index 84%
rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
index 951668906a27..230782b1f1e9 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
+++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/trace.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
-public interface TraceOrBuilder
-    extends
+public interface TraceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Trace)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -34,13 +16,10 @@ public interface TraceOrBuilder
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; - * * @return Whether the endpointInfo field is set. */ boolean hasEndpointInfo(); /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -49,13 +28,10 @@ public interface TraceOrBuilder
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; - * * @return The endpointInfo. */ com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo(); /** - * - * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -68,8 +44,6 @@ public interface TraceOrBuilder
   com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -80,10 +54,9 @@ public interface TraceOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
-  java.util.List getStepsList();
+  java.util.List 
+      getStepsList();
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -96,8 +69,6 @@ public interface TraceOrBuilder
    */
   com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index);
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -110,8 +81,6 @@ public interface TraceOrBuilder
    */
   int getStepsCount();
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -122,11 +91,9 @@ public interface TraceOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
-  java.util.List
+  java.util.List 
       getStepsOrBuilderList();
   /**
-   *
-   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -137,5 +104,6 @@ public interface TraceOrBuilder
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
-  com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(int index);
+  com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java
new file mode 100644
index 000000000000..390f5880a02f
--- /dev/null
+++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java
@@ -0,0 +1,466 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1beta1/trace.proto
+
+package com.google.cloud.networkmanagement.v1beta1;
+
+public final class TraceProto {
+  private TraceProto() {}
+  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_networkmanagement_v1beta1_Trace_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n2google/cloud/networkmanagement/v1beta1" +
+      "/trace.proto\022&google.cloud.networkmanage" +
+      "ment.v1beta1\"\221\001\n\005Trace\022K\n\rendpoint_info\030" +
+      "\001 \001(\01324.google.cloud.networkmanagement.v" +
+      "1beta1.EndpointInfo\022;\n\005steps\030\002 \003(\0132,.goo" +
+      "gle.cloud.networkmanagement.v1beta1.Step" +
+      "\"\242\020\n\004Step\022\023\n\013description\030\001 \001(\t\022A\n\005state\030" +
+      "\002 \001(\01622.google.cloud.networkmanagement.v" +
+      "1beta1.Step.State\022\023\n\013causes_drop\030\003 \001(\010\022\022" +
+      "\n\nproject_id\030\004 \001(\t\022H\n\010instance\030\005 \001(\01324.g" +
+      "oogle.cloud.networkmanagement.v1beta1.In" +
+      "stanceInfoH\000\022H\n\010firewall\030\006 \001(\01324.google." +
+      "cloud.networkmanagement.v1beta1.Firewall" +
+      "InfoH\000\022B\n\005route\030\007 \001(\01321.google.cloud.net" +
+      "workmanagement.v1beta1.RouteInfoH\000\022H\n\010en" +
+      "dpoint\030\010 \001(\01324.google.cloud.networkmanag" +
+      "ement.v1beta1.EndpointInfoH\000\022U\n\017forwardi" +
+      "ng_rule\030\t \001(\0132:.google.cloud.networkmana" +
+      "gement.v1beta1.ForwardingRuleInfoH\000\022M\n\013v" +
+      "pn_gateway\030\n \001(\01326.google.cloud.networkm" +
+      "anagement.v1beta1.VpnGatewayInfoH\000\022K\n\nvp" +
+      "n_tunnel\030\013 \001(\01325.google.cloud.networkman" +
+      "agement.v1beta1.VpnTunnelInfoH\000\022Q\n\rvpc_c" +
+      "onnector\030\025 \001(\01328.google.cloud.networkman" +
+      "agement.v1beta1.VpcConnectorInfoH\000\022F\n\007de" +
+      "liver\030\014 \001(\01323.google.cloud.networkmanage" +
+      "ment.v1beta1.DeliverInfoH\000\022F\n\007forward\030\r " +
+      "\001(\01323.google.cloud.networkmanagement.v1b" +
+      "eta1.ForwardInfoH\000\022B\n\005abort\030\016 \001(\01321.goog" +
+      "le.cloud.networkmanagement.v1beta1.Abort" +
+      "InfoH\000\022@\n\004drop\030\017 \001(\01320.google.cloud.netw" +
+      "orkmanagement.v1beta1.DropInfoH\000\022Q\n\rload" +
+      "_balancer\030\020 \001(\01328.google.cloud.networkma" +
+      "nagement.v1beta1.LoadBalancerInfoH\000\022F\n\007n" +
+      "etwork\030\021 \001(\01323.google.cloud.networkmanag" +
+      "ement.v1beta1.NetworkInfoH\000\022K\n\ngke_maste" +
+      "r\030\022 \001(\01325.google.cloud.networkmanagement" +
+      ".v1beta1.GKEMasterInfoH\000\022Z\n\022cloud_sql_in" +
+      "stance\030\023 \001(\0132<.google.cloud.networkmanag" +
+      "ement.v1beta1.CloudSQLInstanceInfoH\000\022S\n\016" +
+      "cloud_function\030\024 \001(\01329.google.cloud.netw" +
+      "orkmanagement.v1beta1.CloudFunctionInfoH" +
+      "\000\"\364\004\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\027\n\023ST" +
+      "ART_FROM_INSTANCE\020\001\022\027\n\023START_FROM_INTERN" +
+      "ET\020\002\022\036\n\032START_FROM_PRIVATE_NETWORK\020\003\022\031\n\025" +
+      "START_FROM_GKE_MASTER\020\025\022!\n\035START_FROM_CL" +
+      "OUD_SQL_INSTANCE\020\026\022\035\n\031START_FROM_CLOUD_F" +
+      "UNCTION\020\027\022\037\n\033APPLY_INGRESS_FIREWALL_RULE" +
+      "\020\004\022\036\n\032APPLY_EGRESS_FIREWALL_RULE\020\005\022\017\n\013AP" +
+      "PLY_ROUTE\020\006\022\031\n\025APPLY_FORWARDING_RULE\020\007\022\025" +
+      "\n\021SPOOFING_APPROVED\020\010\022\026\n\022ARRIVE_AT_INSTA" +
+      "NCE\020\t\022$\n ARRIVE_AT_INTERNAL_LOAD_BALANCE" +
+      "R\020\n\022$\n ARRIVE_AT_EXTERNAL_LOAD_BALANCER\020" +
+      "\013\022\031\n\025ARRIVE_AT_VPN_GATEWAY\020\014\022\030\n\024ARRIVE_A" +
+      "T_VPN_TUNNEL\020\r\022\033\n\027ARRIVE_AT_VPC_CONNECTO" +
+      "R\020\030\022\007\n\003NAT\020\016\022\024\n\020PROXY_CONNECTION\020\017\022\013\n\007DE" +
+      "LIVER\020\020\022\010\n\004DROP\020\021\022\013\n\007FORWARD\020\022\022\t\n\005ABORT\020" +
+      "\023\022\035\n\031VIEWER_PERMISSION_MISSING\020\024B\013\n\tstep" +
+      "_info\"\266\001\n\014InstanceInfo\022\024\n\014display_name\030\001" +
+      " \001(\t\022\013\n\003uri\030\002 \001(\t\022\021\n\tinterface\030\003 \001(\t\022\023\n\013" +
+      "network_uri\030\004 \001(\t\022\023\n\013internal_ip\030\005 \001(\t\022\023" +
+      "\n\013external_ip\030\006 \001(\t\022\024\n\014network_tags\030\007 \003(" +
+      "\t\022\033\n\017service_account\030\010 \001(\tB\002\030\001\"J\n\013Networ" +
+      "kInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t" +
+      "\022\030\n\020matched_ip_range\030\004 \001(\t\"\353\003\n\014FirewallI" +
+      "nfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\021" +
+      "\n\tdirection\030\003 \001(\t\022\016\n\006action\030\004 \001(\t\022\020\n\010pri" +
+      "ority\030\005 \001(\005\022\023\n\013network_uri\030\006 \001(\t\022\023\n\013targ" +
+      "et_tags\030\007 \003(\t\022\037\n\027target_service_accounts" +
+      "\030\010 \003(\t\022\016\n\006policy\030\t \001(\t\022a\n\022firewall_rule_" +
+      "type\030\n \001(\0162E.google.cloud.networkmanagem" +
+      "ent.v1beta1.FirewallInfo.FirewallRuleTyp" +
+      "e\"\304\001\n\020FirewallRuleType\022\"\n\036FIREWALL_RULE_" +
+      "TYPE_UNSPECIFIED\020\000\022%\n!HIERARCHICAL_FIREW" +
+      "ALL_POLICY_RULE\020\001\022\025\n\021VPC_FIREWALL_RULE\020\002" +
+      "\022\035\n\031IMPLIED_VPC_FIREWALL_RULE\020\003\022/\n+SERVE" +
+      "RLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE\020\004" +
+      "\"\201\006\n\tRouteInfo\022O\n\nroute_type\030\010 \001(\0162;.goo" +
+      "gle.cloud.networkmanagement.v1beta1.Rout" +
+      "eInfo.RouteType\022T\n\rnext_hop_type\030\t \001(\0162=" +
+      ".google.cloud.networkmanagement.v1beta1." +
+      "RouteInfo.NextHopType\022\024\n\014display_name\030\001 " +
+      "\001(\t\022\013\n\003uri\030\002 \001(\t\022\025\n\rdest_ip_range\030\003 \001(\t\022" +
+      "\020\n\010next_hop\030\004 \001(\t\022\023\n\013network_uri\030\005 \001(\t\022\020" +
+      "\n\010priority\030\006 \001(\005\022\025\n\rinstance_tags\030\007 \003(\t\"" +
+      "\211\001\n\tRouteType\022\032\n\026ROUTE_TYPE_UNSPECIFIED\020" +
+      "\000\022\n\n\006SUBNET\020\001\022\n\n\006STATIC\020\002\022\013\n\007DYNAMIC\020\003\022\022" +
+      "\n\016PEERING_SUBNET\020\004\022\022\n\016PEERING_STATIC\020\005\022\023" +
+      "\n\017PEERING_DYNAMIC\020\006\"\266\002\n\013NextHopType\022\035\n\031N" +
+      "EXT_HOP_TYPE_UNSPECIFIED\020\000\022\017\n\013NEXT_HOP_I" +
+      "P\020\001\022\025\n\021NEXT_HOP_INSTANCE\020\002\022\024\n\020NEXT_HOP_N" +
+      "ETWORK\020\003\022\024\n\020NEXT_HOP_PEERING\020\004\022\031\n\025NEXT_H" +
+      "OP_INTERCONNECT\020\005\022\027\n\023NEXT_HOP_VPN_TUNNEL" +
+      "\020\006\022\030\n\024NEXT_HOP_VPN_GATEWAY\020\007\022\035\n\031NEXT_HOP" +
+      "_INTERNET_GATEWAY\020\010\022\026\n\022NEXT_HOP_BLACKHOL" +
+      "E\020\t\022\020\n\014NEXT_HOP_ILB\020\n\022\035\n\031NEXT_HOP_ROUTER" +
+      "_APPLIANCE\020\013\"\237\001\n\022ForwardingRuleInfo\022\024\n\014d" +
+      "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020matche" +
+      "d_protocol\030\003 \001(\t\022\032\n\022matched_port_range\030\006" +
+      " \001(\t\022\013\n\003vip\030\004 \001(\t\022\016\n\006target\030\005 \001(\t\022\023\n\013net" +
+      "work_uri\030\007 \001(\t\"\270\004\n\020LoadBalancerInfo\022e\n\022l" +
+      "oad_balancer_type\030\001 \001(\0162I.google.cloud.n" +
+      "etworkmanagement.v1beta1.LoadBalancerInf" +
+      "o.LoadBalancerType\022\030\n\020health_check_uri\030\002" +
+      " \001(\t\022M\n\010backends\030\003 \003(\0132;.google.cloud.ne" +
+      "tworkmanagement.v1beta1.LoadBalancerBack" +
+      "end\022Z\n\014backend_type\030\004 \001(\0162D.google.cloud" +
+      ".networkmanagement.v1beta1.LoadBalancerI" +
+      "nfo.BackendType\022\023\n\013backend_uri\030\005 \001(\t\"\217\001\n" +
+      "\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYPE_" +
+      "UNSPECIFIED\020\000\022\024\n\020INTERNAL_TCP_UDP\020\001\022\023\n\017N" +
+      "ETWORK_TCP_UDP\020\002\022\016\n\nHTTP_PROXY\020\003\022\r\n\tTCP_" +
+      "PROXY\020\004\022\r\n\tSSL_PROXY\020\005\"Q\n\013BackendType\022\034\n" +
+      "\030BACKEND_TYPE_UNSPECIFIED\020\000\022\023\n\017BACKEND_S" +
+      "ERVICE\020\001\022\017\n\013TARGET_POOL\020\002\"\373\002\n\023LoadBalanc" +
+      "erBackend\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002" +
+      " \001(\t\022y\n\033health_check_firewall_state\030\003 \001(" +
+      "\0162T.google.cloud.networkmanagement.v1bet" +
+      "a1.LoadBalancerBackend.HealthCheckFirewa" +
+      "llState\022,\n$health_check_allowing_firewal" +
+      "l_rules\030\004 \003(\t\022,\n$health_check_blocking_f" +
+      "irewall_rules\030\005 \003(\t\"j\n\030HealthCheckFirewa" +
+      "llState\022+\n\'HEALTH_CHECK_FIREWALL_STATE_U" +
+      "NSPECIFIED\020\000\022\016\n\nCONFIGURED\020\001\022\021\n\rMISCONFI" +
+      "GURED\020\002\"\204\001\n\016VpnGatewayInfo\022\024\n\014display_na" +
+      "me\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\023\n\013network_uri\030\003 \001" +
+      "(\t\022\022\n\nip_address\030\004 \001(\t\022\026\n\016vpn_tunnel_uri" +
+      "\030\005 \001(\t\022\016\n\006region\030\006 \001(\t\"\363\002\n\rVpnTunnelInfo" +
+      "\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\026\n\016s" +
+      "ource_gateway\030\003 \001(\t\022\026\n\016remote_gateway\030\004 " +
+      "\001(\t\022\031\n\021remote_gateway_ip\030\005 \001(\t\022\031\n\021source" +
+      "_gateway_ip\030\006 \001(\t\022\023\n\013network_uri\030\007 \001(\t\022\016" +
+      "\n\006region\030\010 \001(\t\022W\n\014routing_type\030\t \001(\0162A.g" +
+      "oogle.cloud.networkmanagement.v1beta1.Vp" +
+      "nTunnelInfo.RoutingType\"[\n\013RoutingType\022\034" +
+      "\n\030ROUTING_TYPE_UNSPECIFIED\020\000\022\017\n\013ROUTE_BA" +
+      "SED\020\001\022\020\n\014POLICY_BASED\020\002\022\013\n\007DYNAMIC\020\003\"\321\001\n" +
+      "\014EndpointInfo\022\021\n\tsource_ip\030\001 \001(\t\022\026\n\016dest" +
+      "ination_ip\030\002 \001(\t\022\020\n\010protocol\030\003 \001(\t\022\023\n\013so" +
+      "urce_port\030\004 \001(\005\022\030\n\020destination_port\030\005 \001(" +
+      "\005\022\032\n\022source_network_uri\030\006 \001(\t\022\037\n\027destina" +
+      "tion_network_uri\030\007 \001(\t\022\030\n\020source_agent_u" +
+      "ri\030\010 \001(\t\"\245\002\n\013DeliverInfo\022J\n\006target\030\001 \001(\016" +
+      "2:.google.cloud.networkmanagement.v1beta" +
+      "1.DeliverInfo.Target\022\024\n\014resource_uri\030\002 \001" +
+      "(\t\"\263\001\n\006Target\022\026\n\022TARGET_UNSPECIFIED\020\000\022\014\n" +
+      "\010INSTANCE\020\001\022\014\n\010INTERNET\020\002\022\016\n\nGOOGLE_API\020" +
+      "\003\022\016\n\nGKE_MASTER\020\004\022\026\n\022CLOUD_SQL_INSTANCE\020" +
+      "\005\022\031\n\025PSC_PUBLISHED_SERVICE\020\006\022\022\n\016PSC_GOOG" +
+      "LE_API\020\007\022\016\n\nPSC_VPC_SC\020\010\"\222\002\n\013ForwardInfo" +
+      "\022J\n\006target\030\001 \001(\0162:.google.cloud.networkm" +
+      "anagement.v1beta1.ForwardInfo.Target\022\024\n\014" +
+      "resource_uri\030\002 \001(\t\"\240\001\n\006Target\022\026\n\022TARGET_" +
+      "UNSPECIFIED\020\000\022\017\n\013PEERING_VPC\020\001\022\017\n\013VPN_GA" +
+      "TEWAY\020\002\022\020\n\014INTERCONNECT\020\003\022\016\n\nGKE_MASTER\020" +
+      "\004\022\"\n\036IMPORTED_CUSTOM_ROUTE_NEXT_HOP\020\005\022\026\n" +
+      "\022CLOUD_SQL_INSTANCE\020\006\"\235\004\n\tAbortInfo\022F\n\005c" +
+      "ause\030\001 \001(\01627.google.cloud.networkmanagem" +
+      "ent.v1beta1.AbortInfo.Cause\022\024\n\014resource_" +
+      "uri\030\002 \001(\t\022#\n\033projects_missing_permission" +
+      "\030\003 \003(\t\"\214\003\n\005Cause\022\025\n\021CAUSE_UNSPECIFIED\020\000\022" +
+      "\023\n\017UNKNOWN_NETWORK\020\001\022\016\n\nUNKNOWN_IP\020\002\022\023\n\017" +
+      "UNKNOWN_PROJECT\020\003\022\025\n\021PERMISSION_DENIED\020\004" +
+      "\022\026\n\022NO_SOURCE_LOCATION\020\005\022\024\n\020INVALID_ARGU" +
+      "MENT\020\006\022\022\n\016NO_EXTERNAL_IP\020\007\022\032\n\026UNINTENDED" +
+      "_DESTINATION\020\010\022\022\n\016TRACE_TOO_LONG\020\t\022\022\n\016IN" +
+      "TERNAL_ERROR\020\n\022\035\n\031SOURCE_ENDPOINT_NOT_FO" +
+      "UND\020\013\022\035\n\031MISMATCHED_SOURCE_NETWORK\020\014\022\"\n\036" +
+      "DESTINATION_ENDPOINT_NOT_FOUND\020\r\022\"\n\036MISM" +
+      "ATCHED_DESTINATION_NETWORK\020\016\022\017\n\013UNSUPPOR" +
+      "TED\020\017\"\276\007\n\010DropInfo\022E\n\005cause\030\001 \001(\01626.goog" +
+      "le.cloud.networkmanagement.v1beta1.DropI" +
+      "nfo.Cause\022\024\n\014resource_uri\030\002 \001(\t\"\324\006\n\005Caus" +
+      "e\022\025\n\021CAUSE_UNSPECIFIED\020\000\022\034\n\030UNKNOWN_EXTE" +
+      "RNAL_ADDRESS\020\001\022\031\n\025FOREIGN_IP_DISALLOWED\020" +
+      "\002\022\021\n\rFIREWALL_RULE\020\003\022\014\n\010NO_ROUTE\020\004\022\023\n\017RO" +
+      "UTE_BLACKHOLE\020\005\022\027\n\023ROUTE_WRONG_NETWORK\020\006" +
+      "\022\037\n\033PRIVATE_TRAFFIC_TO_INTERNET\020\007\022$\n PRI" +
+      "VATE_GOOGLE_ACCESS_DISALLOWED\020\010\022\027\n\023NO_EX" +
+      "TERNAL_ADDRESS\020\t\022\034\n\030UNKNOWN_INTERNAL_ADD" +
+      "RESS\020\n\022\034\n\030FORWARDING_RULE_MISMATCH\020\013\022 \n\034" +
+      "FORWARDING_RULE_NO_INSTANCES\020\014\0228\n4FIREWA" +
+      "LL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH" +
+      "_CHECK\020\r\022\030\n\024INSTANCE_NOT_RUNNING\020\016\022\030\n\024TR" +
+      "AFFIC_TYPE_BLOCKED\020\017\022\"\n\036GKE_MASTER_UNAUT" +
+      "HORIZED_ACCESS\020\020\022*\n&CLOUD_SQL_INSTANCE_U" +
+      "NAUTHORIZED_ACCESS\020\021\022\036\n\032DROPPED_INSIDE_G" +
+      "KE_SERVICE\020\022\022$\n DROPPED_INSIDE_CLOUD_SQL" +
+      "_SERVICE\020\023\022%\n!GOOGLE_MANAGED_SERVICE_NO_" +
+      "PEERING\020\024\022$\n CLOUD_SQL_INSTANCE_NO_IP_AD" +
+      "DRESS\020\025\022\035\n\031CLOUD_FUNCTION_NOT_ACTIVE\020\026\022\031" +
+      "\n\025VPC_CONNECTOR_NOT_SET\020\027\022\035\n\031VPC_CONNECT" +
+      "OR_NOT_RUNNING\020\030\022#\n\037FORWARDING_RULE_REGI" +
+      "ON_MISMATCH\020\031\022\037\n\033PSC_CONNECTION_NOT_ACCE" +
+      "PTED\020\032\"k\n\rGKEMasterInfo\022\023\n\013cluster_uri\030\002" +
+      " \001(\t\022\033\n\023cluster_network_uri\030\004 \001(\t\022\023\n\013int" +
+      "ernal_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\"\210\001\n\024" +
+      "CloudSQLInstanceInfo\022\024\n\014display_name\030\001 \001" +
+      "(\t\022\013\n\003uri\030\002 \001(\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013" +
+      "internal_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016" +
+      "\n\006region\030\007 \001(\t\"\\\n\021CloudFunctionInfo\022\024\n\014d" +
+      "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\020\n\010locati" +
+      "on\030\003 \001(\t\022\022\n\nversion_id\030\004 \001(\003\"G\n\020VpcConne" +
+      "ctorInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 " +
+      "\001(\t\022\020\n\010location\030\003 \001(\tB\222\002\n*com.google.clo" +
+      "ud.networkmanagement.v1beta1B\nTraceProto" +
+      "P\001ZXcloud.google.com/go/networkmanagemen" +
+      "t/apiv1beta1/networkmanagementpb;network" +
+      "managementpb\252\002&Google.Cloud.NetworkManag" +
+      "ement.V1Beta1\312\002&Google\\Cloud\\NetworkMana" +
+      "gement\\V1beta1\352\002)Google::Cloud::NetworkM" +
+      "anagement::V1beta1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+    internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor,
+        new java.lang.String[] { "EndpointInfo", "Steps", });
+    internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor,
+        new java.lang.String[] { "Description", "State", "CausesDrop", "ProjectId", "Instance", "Firewall", "Route", "Endpoint", "ForwardingRule", "VpnGateway", "VpnTunnel", "VpcConnector", "Deliver", "Forward", "Abort", "Drop", "LoadBalancer", "Network", "GkeMaster", "CloudSqlInstance", "CloudFunction", "StepInfo", });
+    internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "Interface", "NetworkUri", "InternalIp", "ExternalIp", "NetworkTags", "ServiceAccount", });
+    internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "MatchedIpRange", });
+    internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "Direction", "Action", "Priority", "NetworkUri", "TargetTags", "TargetServiceAccounts", "Policy", "FirewallRuleType", });
+    internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor,
+        new java.lang.String[] { "RouteType", "NextHopType", "DisplayName", "Uri", "DestIpRange", "NextHop", "NetworkUri", "Priority", "InstanceTags", });
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "MatchedProtocol", "MatchedPortRange", "Vip", "Target", "NetworkUri", });
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor,
+        new java.lang.String[] { "LoadBalancerType", "HealthCheckUri", "Backends", "BackendType", "BackendUri", });
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "HealthCheckFirewallState", "HealthCheckAllowingFirewallRules", "HealthCheckBlockingFirewallRules", });
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "NetworkUri", "IpAddress", "VpnTunnelUri", "Region", });
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "SourceGateway", "RemoteGateway", "RemoteGatewayIp", "SourceGatewayIp", "NetworkUri", "Region", "RoutingType", });
+    internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor,
+        new java.lang.String[] { "SourceIp", "DestinationIp", "Protocol", "SourcePort", "DestinationPort", "SourceNetworkUri", "DestinationNetworkUri", "SourceAgentUri", });
+    internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor,
+        new java.lang.String[] { "Target", "ResourceUri", });
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor,
+        new java.lang.String[] { "Target", "ResourceUri", });
+    internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor,
+        new java.lang.String[] { "Cause", "ResourceUri", "ProjectsMissingPermission", });
+    internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor,
+        new java.lang.String[] { "Cause", "ResourceUri", });
+    internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor,
+        new java.lang.String[] { "ClusterUri", "ClusterNetworkUri", "InternalIp", "ExternalIp", });
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "NetworkUri", "InternalIp", "ExternalIp", "Region", });
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor =
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "Location", "VersionId", });
+    internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor =
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor,
+        new java.lang.String[] { "DisplayName", "Uri", "Location", });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
similarity index 59%
rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
index 344f5833b4e0..07efd60310ca 100644
--- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
+++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
@@ -1,83 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
 /**
- *
- *
  * 
  * Request for the `UpdateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest} */ -public final class UpdateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateConnectivityTestRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) UpdateConnectivityTestRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateConnectivityTestRequest.newBuilder() to construct. private UpdateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateConnectivityTestRequest() {} + private UpdateConnectivityTestRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -85,16 +63,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -102,15 +76,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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() { @@ -120,16 +91,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int RESOURCE_FIELD_NUMBER = 2; private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ @java.lang.Override @@ -137,45 +103,30 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder - getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { + return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -204,10 +156,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,22 +171,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.networkmanagement.v1beta1.UpdateConnectivityTestRequest)) { + if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other = - (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,139 +213,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the `UpdateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder - .class); + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder.class); } - // Construct using - // com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -410,22 +354,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto - .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - .getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = - buildPartial(); + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -434,23 +375,23 @@ public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = - new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result) { + private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null + ? resource_ + : resourceBuilder_.build(); } } @@ -458,52 +399,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) { - return mergeFrom( - (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) other); + if (other instanceof com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) { + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other) { - if (other - == com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other) { + if (other == com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -536,25 +471,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getResourceFieldBuilder().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( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getResourceFieldBuilder().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) { @@ -564,63 +500,46 @@ 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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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) { @@ -636,17 +555,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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 { @@ -657,21 +574,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -684,15 +598,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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); @@ -705,15 +616,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -721,48 +629,38 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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_; @@ -770,58 +668,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> - resourceBuilder_; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> resourceBuilder_; /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -837,15 +716,11 @@ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.Connectivi return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResource( com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { @@ -859,24 +734,17 @@ public Builder setResource( return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeResource( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { + public Builder mergeResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && resource_ != null - && resource_ - != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + resource_ != null && + resource_ != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -889,15 +757,11 @@ public Builder mergeResource( return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000002); @@ -910,73 +774,55 @@ public Builder clearResource() { return this; } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder - getResourceBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getResourceBuilder() { bitField0_ |= 0x00000002; onChanged(); return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder - getResourceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; } } /** - * - * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,44 +832,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(); + DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConnectivityTestRequest 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 UpdateConnectivityTestRequest 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; @@ -1035,8 +878,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest - getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java similarity index 57% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java index 2cdc9d853220..d64ac69c0f03 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java @@ -1,107 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface UpdateConnectivityTestRequestOrBuilder - extends +public interface UpdateConnectivityTestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The resource. */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource(); /** - * - * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java similarity index 68% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java index 25c4a56ff796..b47b5dc1a870 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a VPC connector.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpcConnectorInfo} */ -public final class VpcConnectorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VpcConnectorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) VpcConnectorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VpcConnectorInfo.newBuilder() to construct. private VpcConnectorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VpcConnectorInfo() { displayName_ = ""; uri_ = ""; @@ -45,43 +27,38 @@ private VpcConnectorInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VpcConnectorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a VPC connector.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a VPC connector.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -172,18 +145,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int LOCATION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; - * * @return The location. */ @java.lang.Override @@ -192,29 +161,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -223,7 +192,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -271,17 +240,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.networkmanagement.v1beta1.VpcConnectorInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other = - (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) obj; + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other = (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,136 +276,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo 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.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a VPC connector.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpcConnectorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; } @java.lang.Override @@ -467,11 +431,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo result = - new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo result = new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -493,39 +454,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.VpcConnect public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)other); } else { super.mergeFrom(other); return this; @@ -533,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -576,31 +535,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + location_ = 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) { @@ -610,25 +565,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -637,21 +589,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -659,35 +610,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -697,21 +641,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -721,20 +661,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a VPC connector.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -743,21 +681,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a VPC connector.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -765,35 +702,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a VPC connector.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a VPC connector.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -803,21 +733,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a VPC connector.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -827,20 +753,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -849,21 +773,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -871,35 +794,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -909,30 +825,26 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = 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); } @@ -942,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) private static final com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(); } @@ -956,27 +868,27 @@ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcConnectorInfo 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 VpcConnectorInfo 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; @@ -991,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java similarity index 59% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java index 1ee4e2952aeb..022271a1b268 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java @@ -1,100 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface VpcConnectorInfoOrBuilder - extends +public interface VpcConnectorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a VPC connector.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a VPC connector.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java index cd714efe8ddf..247e1252b1e4 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine VPN gateway.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnGatewayInfo} */ -public final class VpnGatewayInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VpnGatewayInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) VpnGatewayInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VpnGatewayInfo.newBuilder() to construct. private VpnGatewayInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VpnGatewayInfo() { displayName_ = ""; uri_ = ""; @@ -48,43 +30,38 @@ private VpnGatewayInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VpnGatewayInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -93,29 +70,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -124,18 +101,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -144,29 +117,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -175,18 +148,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The networkUri. */ @java.lang.Override @@ -195,29 +164,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -226,18 +195,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int IP_ADDRESS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; - * * @return The ipAddress. */ @java.lang.Override @@ -246,29 +211,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 VPN gateway.
    * 
* * string ip_address = 4; - * * @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 { @@ -277,12 +242,9 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } public static final int VPN_TUNNEL_URI_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object vpnTunnelUri_ = ""; /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -290,7 +252,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
    * 
* * string vpn_tunnel_uri = 5; - * * @return The vpnTunnelUri. */ @java.lang.Override @@ -299,15 +260,14 @@ public java.lang.String getVpnTunnelUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; } } /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -315,15 +275,16 @@ public java.lang.String getVpnTunnelUri() {
    * 
* * string vpn_tunnel_uri = 5; - * * @return The bytes for vpnTunnelUri. */ @java.lang.Override - public com.google.protobuf.ByteString getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString + getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -332,18 +293,14 @@ public com.google.protobuf.ByteString getVpnTunnelUriBytes() { } public static final int REGION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The region. */ @java.lang.Override @@ -352,29 +309,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -383,7 +340,6 @@ public com.google.protobuf.ByteString getRegionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -449,20 +406,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.networkmanagement.v1beta1.VpnGatewayInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo other = - (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (!getVpnTunnelUri().equals(other.getVpnTunnelUri())) return false; - if (!getRegion().equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo other = (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (!getVpnTunnelUri() + .equals(other.getVpnTunnelUri())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -492,136 +454,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo 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.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine VPN gateway.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnGatewayInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -636,9 +591,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; } @java.lang.Override @@ -657,11 +612,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo result = - new com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo result = new com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -692,39 +644,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.VpnGateway public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo)other); } else { super.mergeFrom(other); return this; @@ -732,8 +683,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -790,49 +740,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - vpnTunnelUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + vpnTunnelUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + region_ = 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) { @@ -842,25 +785,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -869,21 +809,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -891,35 +830,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -929,21 +861,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -953,20 +881,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -975,21 +901,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -997,35 +922,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1035,21 +953,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1059,20 +973,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1081,21 +993,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1103,35 +1014,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1141,21 +1045,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1165,20 +1065,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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; @@ -1187,21 +1085,20 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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 { @@ -1209,35 +1106,28 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1247,21 +1137,17 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; - * * @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_ |= 0x00000008; @@ -1271,8 +1157,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object vpnTunnelUri_ = ""; /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1280,13 +1164,13 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * string vpn_tunnel_uri = 5; - * * @return The vpnTunnelUri. */ public java.lang.String getVpnTunnelUri() { java.lang.Object ref = vpnTunnelUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; @@ -1295,8 +1179,6 @@ public java.lang.String getVpnTunnelUri() { } } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1304,14 +1186,15 @@ public java.lang.String getVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; - * * @return The bytes for vpnTunnelUri. */ - public com.google.protobuf.ByteString getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString + getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -1319,8 +1202,6 @@ public com.google.protobuf.ByteString getVpnTunnelUriBytes() { } } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1328,22 +1209,18 @@ public com.google.protobuf.ByteString getVpnTunnelUriBytes() {
      * 
* * string vpn_tunnel_uri = 5; - * * @param value The vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVpnTunnelUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vpnTunnelUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1351,7 +1228,6 @@ public Builder setVpnTunnelUri(java.lang.String value) {
      * 
* * string vpn_tunnel_uri = 5; - * * @return This builder for chaining. */ public Builder clearVpnTunnelUri() { @@ -1361,8 +1237,6 @@ public Builder clearVpnTunnelUri() { return this; } /** - * - * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1370,14 +1244,12 @@ public Builder clearVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; - * * @param value The bytes for vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVpnTunnelUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vpnTunnelUri_ = value; bitField0_ |= 0x00000010; @@ -1387,20 +1259,18 @@ public Builder setVpnTunnelUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object region_ = ""; /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1409,21 +1279,20 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -1431,35 +1300,28 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1469,30 +1331,26 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1502,12 +1360,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) private static final com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo(); } @@ -1516,27 +1374,27 @@ public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnGatewayInfo 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 VpnGatewayInfo 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; @@ -1551,4 +1409,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java similarity index 70% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java index cc59fc0904d7..721177b49ad6 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java @@ -1,131 +1,93 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface VpnGatewayInfoOrBuilder - extends +public interface VpnGatewayInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -133,13 +95,10 @@ public interface VpnGatewayInfoOrBuilder
    * 
* * string vpn_tunnel_uri = 5; - * * @return The vpnTunnelUri. */ java.lang.String getVpnTunnelUri(); /** - * - * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -147,33 +106,28 @@ public interface VpnGatewayInfoOrBuilder
    * 
* * string vpn_tunnel_uri = 5; - * * @return The bytes for vpnTunnelUri. */ - com.google.protobuf.ByteString getVpnTunnelUriBytes(); + com.google.protobuf.ByteString + getVpnTunnelUriBytes(); /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java similarity index 71% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java index d66a2717c7b1..679b05ecb678 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** - * - * *
  * For display only. Metadata associated with a Compute Engine VPN tunnel.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnTunnelInfo} */ -public final class VpnTunnelInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VpnTunnelInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) VpnTunnelInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VpnTunnelInfo.newBuilder() to construct. private VpnTunnelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VpnTunnelInfo() { displayName_ = ""; uri_ = ""; @@ -51,33 +33,30 @@ private VpnTunnelInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VpnTunnelInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); } /** - * - * *
    * Types of VPN routing policy. For details, refer to [Networks and Tunnel
    * routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
@@ -85,10 +64,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType}
    */
-  public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RoutingType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified type. Default value.
      * 
@@ -97,8 +75,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTING_TYPE_UNSPECIFIED(0), /** - * - * *
      * Route based VPN.
      * 
@@ -107,8 +83,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_BASED(1), /** - * - * *
      * Policy based routing.
      * 
@@ -117,8 +91,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ POLICY_BASED(2), /** - * - * *
      * Dynamic (BGP) routing.
      * 
@@ -130,8 +102,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type. Default value.
      * 
@@ -140,8 +110,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTING_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Route based VPN.
      * 
@@ -150,8 +118,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_BASED_VALUE = 1; /** - * - * *
      * Policy based routing.
      * 
@@ -160,8 +126,6 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POLICY_BASED_VALUE = 2; /** - * - * *
      * Dynamic (BGP) routing.
      * 
@@ -170,6 +134,7 @@ public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DYNAMIC_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -194,53 +159,50 @@ public static RoutingType valueOf(int value) { */ public static RoutingType forNumber(int value) { switch (value) { - case 0: - return ROUTING_TYPE_UNSPECIFIED; - case 1: - return ROUTE_BASED; - case 2: - return POLICY_BASED; - case 3: - return DYNAMIC; - default: - return null; + case 0: return ROUTING_TYPE_UNSPECIFIED; + case 1: return ROUTE_BASED; + case 2: return POLICY_BASED; + case 3: return DYNAMIC; + 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< + RoutingType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoutingType findValueByNumber(int number) { + return RoutingType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoutingType findValueByNumber(int number) { - return RoutingType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDescriptor().getEnumTypes().get(0); } private static final RoutingType[] VALUES = values(); - public static RoutingType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoutingType 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; @@ -258,18 +220,14 @@ private RoutingType(int value) { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -278,29 +236,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -309,18 +267,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -329,29 +283,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -360,18 +314,14 @@ public com.google.protobuf.ByteString getUriBytes() { } public static final int SOURCE_GATEWAY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceGateway_ = ""; /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The sourceGateway. */ @java.lang.Override @@ -380,29 +330,29 @@ public java.lang.String getSourceGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; } } /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The bytes for sourceGateway. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceGatewayBytes() { + public com.google.protobuf.ByteString + getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -411,18 +361,14 @@ public com.google.protobuf.ByteString getSourceGatewayBytes() { } public static final int REMOTE_GATEWAY_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object remoteGateway_ = ""; /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The remoteGateway. */ @java.lang.Override @@ -431,29 +377,29 @@ public java.lang.String getRemoteGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; } } /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The bytes for remoteGateway. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteGatewayBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -462,18 +408,14 @@ public com.google.protobuf.ByteString getRemoteGatewayBytes() { } public static final int REMOTE_GATEWAY_IP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object remoteGatewayIp_ = ""; /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The remoteGatewayIp. */ @java.lang.Override @@ -482,29 +424,29 @@ public java.lang.String getRemoteGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; } } /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The bytes for remoteGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -513,18 +455,14 @@ public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { } public static final int SOURCE_GATEWAY_IP_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object sourceGatewayIp_ = ""; /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The sourceGatewayIp. */ @java.lang.Override @@ -533,29 +471,29 @@ public java.lang.String getSourceGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; } } /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The bytes for sourceGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString + getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -564,18 +502,14 @@ public com.google.protobuf.ByteString getSourceGatewayIpBytes() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ @java.lang.Override @@ -584,29 +518,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -615,18 +549,14 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } public static final int REGION_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The region. */ @java.lang.Override @@ -635,29 +565,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -668,45 +598,30 @@ public com.google.protobuf.ByteString getRegionBytes() { public static final int ROUTING_TYPE_FIELD_NUMBER = 9; private int routingType_ = 0; /** - * - * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override - public int getRoutingTypeValue() { + @java.lang.Override public int getRoutingTypeValue() { return routingType_; } /** - * - * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return The routingType. */ - @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber( - routingType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType() { + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber(routingType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -718,7 +633,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -743,10 +659,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, region_); } - if (routingType_ - != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType - .ROUTING_TYPE_UNSPECIFIED - .getNumber()) { + if (routingType_ != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, routingType_); } getUnknownFields().writeTo(output); @@ -782,11 +695,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, region_); } - if (routingType_ - != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType - .ROUTING_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, routingType_); + if (routingType_ != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, routingType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -796,22 +707,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.networkmanagement.v1beta1.VpnTunnelInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo other = - (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) obj; - - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getSourceGateway().equals(other.getSourceGateway())) return false; - if (!getRemoteGateway().equals(other.getRemoteGateway())) return false; - if (!getRemoteGatewayIp().equals(other.getRemoteGatewayIp())) return false; - if (!getSourceGatewayIp().equals(other.getSourceGatewayIp())) return false; - if (!getNetworkUri().equals(other.getNetworkUri())) return false; - if (!getRegion().equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo other = (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) obj; + + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getSourceGateway() + .equals(other.getSourceGateway())) return false; + if (!getRemoteGateway() + .equals(other.getRemoteGateway())) return false; + if (!getRemoteGatewayIp() + .equals(other.getRemoteGatewayIp())) return false; + if (!getSourceGatewayIp() + .equals(other.getSourceGatewayIp())) return false; + if (!getNetworkUri() + .equals(other.getNetworkUri())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; if (routingType_ != other.routingType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -848,136 +766,129 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo 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.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo prototype) { + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For display only. Metadata associated with a Compute Engine VPN tunnel.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnTunnelInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -995,9 +906,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto - .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; } @java.lang.Override @@ -1016,11 +927,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo result = - new com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo result = new com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1060,39 +968,38 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.VpnTunnelI public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo)other); } else { super.mergeFrom(other); return this; @@ -1100,8 +1007,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -1171,67 +1077,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sourceGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - remoteGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - remoteGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - sourceGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: - { - routingType_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sourceGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + remoteGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + remoteGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + sourceGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + routingType_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 72 + 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) { @@ -1241,25 +1137,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object displayName_ = ""; /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1268,21 +1161,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1290,35 +1182,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1328,21 +1213,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1352,20 +1233,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1374,21 +1253,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1396,35 +1274,28 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -1434,21 +1305,17 @@ public Builder clearUri() { return this; } /** - * - * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1458,20 +1325,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceGateway_ = ""; /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @return The sourceGateway. */ public java.lang.String getSourceGateway() { java.lang.Object ref = sourceGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; @@ -1480,21 +1345,20 @@ public java.lang.String getSourceGateway() { } } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @return The bytes for sourceGateway. */ - public com.google.protobuf.ByteString getSourceGatewayBytes() { + public com.google.protobuf.ByteString + getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -1502,35 +1366,28 @@ public com.google.protobuf.ByteString getSourceGatewayBytes() { } } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @param value The sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGateway(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGateway( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceGateway_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @return This builder for chaining. */ public Builder clearSourceGateway() { @@ -1540,21 +1397,17 @@ public Builder clearSourceGateway() { return this; } /** - * - * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; - * * @param value The bytes for sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGatewayBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGatewayBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceGateway_ = value; bitField0_ |= 0x00000004; @@ -1564,20 +1417,18 @@ public Builder setSourceGatewayBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteGateway_ = ""; /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @return The remoteGateway. */ public java.lang.String getRemoteGateway() { java.lang.Object ref = remoteGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; @@ -1586,21 +1437,20 @@ public java.lang.String getRemoteGateway() { } } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @return The bytes for remoteGateway. */ - public com.google.protobuf.ByteString getRemoteGatewayBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -1608,35 +1458,28 @@ public com.google.protobuf.ByteString getRemoteGatewayBytes() { } } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @param value The remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGateway(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGateway( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } remoteGateway_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @return This builder for chaining. */ public Builder clearRemoteGateway() { @@ -1646,21 +1489,17 @@ public Builder clearRemoteGateway() { return this; } /** - * - * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; - * * @param value The bytes for remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGatewayBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); remoteGateway_ = value; bitField0_ |= 0x00000008; @@ -1670,20 +1509,18 @@ public Builder setRemoteGatewayBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteGatewayIp_ = ""; /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @return The remoteGatewayIp. */ public java.lang.String getRemoteGatewayIp() { java.lang.Object ref = remoteGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; @@ -1692,21 +1529,20 @@ public java.lang.String getRemoteGatewayIp() { } } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @return The bytes for remoteGatewayIp. */ - public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString + getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -1714,35 +1550,28 @@ public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { } } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @param value The remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGatewayIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } remoteGatewayIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @return This builder for chaining. */ public Builder clearRemoteGatewayIp() { @@ -1752,21 +1581,17 @@ public Builder clearRemoteGatewayIp() { return this; } /** - * - * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; - * * @param value The bytes for remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRemoteGatewayIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); remoteGatewayIp_ = value; bitField0_ |= 0x00000010; @@ -1776,20 +1601,18 @@ public Builder setRemoteGatewayIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceGatewayIp_ = ""; /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @return The sourceGatewayIp. */ public java.lang.String getSourceGatewayIp() { java.lang.Object ref = sourceGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; @@ -1798,21 +1621,20 @@ public java.lang.String getSourceGatewayIp() { } } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @return The bytes for sourceGatewayIp. */ - public com.google.protobuf.ByteString getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString + getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -1820,35 +1642,28 @@ public com.google.protobuf.ByteString getSourceGatewayIpBytes() { } } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @param value The sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGatewayIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceGatewayIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @return This builder for chaining. */ public Builder clearSourceGatewayIp() { @@ -1858,21 +1673,17 @@ public Builder clearSourceGatewayIp() { return this; } /** - * - * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; - * * @param value The bytes for sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceGatewayIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceGatewayIp_ = value; bitField0_ |= 0x00000020; @@ -1882,20 +1693,18 @@ public Builder setSourceGatewayIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object networkUri_ = ""; /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1904,21 +1713,20 @@ public java.lang.String getNetworkUri() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString getNetworkUriBytes() { + public com.google.protobuf.ByteString + getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1926,35 +1734,28 @@ public com.google.protobuf.ByteString getNetworkUriBytes() { } } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1964,21 +1765,17 @@ public Builder clearNetworkUri() { return this; } /** - * - * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; - * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -1988,20 +1785,18 @@ public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object region_ = ""; /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -2010,21 +1805,20 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -2032,35 +1826,28 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -2070,21 +1857,17 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000080; @@ -2094,31 +1877,22 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { private int routingType_ = 0; /** - * - * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override - public int getRoutingTypeValue() { + @java.lang.Override public int getRoutingTypeValue() { return routingType_; } /** - * - * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @param value The enum numeric value on the wire for routingType to set. * @return This builder for chaining. */ @@ -2129,41 +1903,28 @@ public Builder setRoutingTypeValue(int value) { return this; } /** - * - * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return The routingType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber( - routingType_); - return result == null - ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED - : result; + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber(routingType_); + return result == null ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @param value The routingType to set. * @return This builder for chaining. */ - public Builder setRoutingType( - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType value) { + public Builder setRoutingType(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType value) { if (value == null) { throw new NullPointerException(); } @@ -2173,15 +1934,11 @@ public Builder setRoutingType( return this; } /** - * - * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return This builder for chaining. */ public Builder clearRoutingType() { @@ -2190,9 +1947,9 @@ public Builder clearRoutingType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2202,12 +1959,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) private static final com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo(); } @@ -2216,27 +1973,27 @@ public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnTunnelInfo 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 VpnTunnelInfo 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; @@ -2251,4 +2008,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java similarity index 72% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java index 5420220fc69b..378660bdef71 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java @@ -1,251 +1,187 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface VpnTunnelInfoOrBuilder - extends +public interface VpnTunnelInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The sourceGateway. */ java.lang.String getSourceGateway(); /** - * - * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; - * * @return The bytes for sourceGateway. */ - com.google.protobuf.ByteString getSourceGatewayBytes(); + com.google.protobuf.ByteString + getSourceGatewayBytes(); /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The remoteGateway. */ java.lang.String getRemoteGateway(); /** - * - * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; - * * @return The bytes for remoteGateway. */ - com.google.protobuf.ByteString getRemoteGatewayBytes(); + com.google.protobuf.ByteString + getRemoteGatewayBytes(); /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The remoteGatewayIp. */ java.lang.String getRemoteGatewayIp(); /** - * - * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; - * * @return The bytes for remoteGatewayIp. */ - com.google.protobuf.ByteString getRemoteGatewayIpBytes(); + com.google.protobuf.ByteString + getRemoteGatewayIpBytes(); /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The sourceGatewayIp. */ java.lang.String getSourceGatewayIp(); /** - * - * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; - * * @return The bytes for sourceGatewayIp. */ - com.google.protobuf.ByteString getSourceGatewayIpBytes(); + com.google.protobuf.ByteString + getSourceGatewayIpBytes(); /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The networkUri. */ java.lang.String getNetworkUri(); /** - * - * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; - * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString getNetworkUriBytes(); + com.google.protobuf.ByteString + getNetworkUriBytes(); /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); /** - * - * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return The enum numeric value on the wire for routingType. */ int getRoutingTypeValue(); /** - * - * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; - * - * + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; * @return The routingType. */ com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType(); diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto similarity index 98% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto index cfbae11c1641..c4fa6ca14acd 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto +++ b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto @@ -132,12 +132,12 @@ message Endpoint { // Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0; - // A network hosted within Google Cloud Platform. + // A network hosted within Google Cloud. // To receive more detailed output, specify the URI for the source or // destination network. GCP_NETWORK = 1; - // A network hosted outside of Google Cloud Platform. + // A network hosted outside of Google Cloud. // This can be an on-premises network, or a network hosted by another cloud // provider. NON_GCP_NETWORK = 2; @@ -184,8 +184,8 @@ message Endpoint { // The Project ID can be derived from the URI if you provide a VM instance or // network URI. // The following are two cases where you must provide the project ID: - // 1. Only the IP address is specified, and the IP address is within a GCP - // project. + // 1. Only the IP address is specified, and the IP address is within a Google + // Cloud project. // 2. When you are using Shared VPC and the IP address that you provide is // from the service project. In this case, the network that the IP address // resides in is defined in the host project. diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto similarity index 100% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto similarity index 100% rename from java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto rename to owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java b/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java rename to owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java From eaef4f94016a1d86c9a3d9a72475399240f91d77 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 18 Apr 2023 08:13:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-network-management/README.md | 4 +- .../v1/ReachabilityServiceClient.java | 0 .../v1/ReachabilityServiceSettings.java | 1 - .../networkmanagement/v1/gapic_metadata.json | 0 .../networkmanagement/v1/package-info.java | 0 ...rpcReachabilityServiceCallableFactory.java | 0 .../v1/stub/GrpcReachabilityServiceStub.java | 1 - ...sonReachabilityServiceCallableFactory.java | 0 .../stub/HttpJsonReachabilityServiceStub.java | 1 - .../v1/stub/ReachabilityServiceStub.java | 0 .../stub/ReachabilityServiceStubSettings.java | 0 .../v1beta1/ReachabilityServiceClient.java | 0 .../v1beta1/ReachabilityServiceSettings.java | 1 - .../v1beta1/gapic_metadata.json | 0 .../v1beta1/package-info.java | 0 ...rpcReachabilityServiceCallableFactory.java | 0 .../stub/GrpcReachabilityServiceStub.java | 1 - ...sonReachabilityServiceCallableFactory.java | 0 .../stub/HttpJsonReachabilityServiceStub.java | 1 - .../v1beta1/stub/ReachabilityServiceStub.java | 0 .../stub/ReachabilityServiceStubSettings.java | 0 .../v1/MockReachabilityService.java | 0 .../v1/MockReachabilityServiceImpl.java | 0 ...ReachabilityServiceClientHttpJsonTest.java | 0 .../v1/ReachabilityServiceClientTest.java | 0 .../v1beta1/MockReachabilityService.java | 0 .../v1beta1/MockReachabilityServiceImpl.java | 0 ...ReachabilityServiceClientHttpJsonTest.java | 0 .../ReachabilityServiceClientTest.java | 0 .../v1/ReachabilityServiceGrpc.java | 734 +++-- .../v1beta1/ReachabilityServiceGrpc.java | 738 +++-- .../cloud/networkmanagement/v1/AbortInfo.java | 653 +++-- .../v1/AbortInfoOrBuilder.java | 51 +- .../v1/CloudSQLInstanceInfo.java | 690 +++-- .../v1/CloudSQLInstanceInfoOrBuilder.java | 72 +- .../v1/ConnectivityTest.java | 1616 +++++++---- .../v1/ConnectivityTestOrBuilder.java | 199 +- .../v1/CreateConnectivityTestRequest.java | 578 ++-- ...reateConnectivityTestRequestOrBuilder.java | 56 +- .../v1/DeleteConnectivityTestRequest.java | 363 ++- ...eleteConnectivityTestRequestOrBuilder.java | 27 +- .../networkmanagement/v1/DeliverInfo.java | 480 +-- .../v1/DeliverInfoOrBuilder.java | 33 +- .../cloud/networkmanagement/v1/DropInfo.java | 581 ++-- .../v1/DropInfoOrBuilder.java | 33 +- .../cloud/networkmanagement/v1/Endpoint.java | 846 +++--- .../networkmanagement/v1/EndpointInfo.java | 681 +++-- .../v1/EndpointInfoOrBuilder.java | 69 +- .../v1/EndpointOrBuilder.java | 81 +- .../networkmanagement/v1/FirewallInfo.java | 1106 ++++--- .../v1/FirewallInfoOrBuilder.java | 123 +- .../networkmanagement/v1/ForwardInfo.java | 487 ++-- .../v1/ForwardInfoOrBuilder.java | 33 +- .../v1/ForwardingRuleInfo.java | 762 +++-- .../v1/ForwardingRuleInfoOrBuilder.java | 81 +- .../networkmanagement/v1/GKEMasterInfo.java | 543 ++-- .../v1/GKEMasterInfoOrBuilder.java | 54 +- .../v1/GetConnectivityTestRequest.java | 351 ++- .../GetConnectivityTestRequestOrBuilder.java | 27 +- .../networkmanagement/v1/InstanceInfo.java | 904 +++--- .../v1/InstanceInfoOrBuilder.java | 111 +- .../v1/ListConnectivityTestsRequest.java | 614 ++-- ...ListConnectivityTestsRequestOrBuilder.java | 57 +- .../v1/ListConnectivityTestsResponse.java | 616 ++-- ...istConnectivityTestsResponseOrBuilder.java | 63 +- .../v1/LoadBalancerBackend.java | 772 +++-- .../v1/LoadBalancerBackendOrBuilder.java | 89 +- .../v1/LoadBalancerInfo.java | 912 ++++-- .../v1/LoadBalancerInfoOrBuilder.java | 71 +- .../networkmanagement/v1/NetworkInfo.java | 469 +-- .../v1/NetworkInfoOrBuilder.java | 45 +- .../v1/OperationMetadata.java | 754 +++-- .../v1/OperationMetadataOrBuilder.java | 73 +- .../v1/ReachabilityDetails.java | 735 +++-- .../v1/ReachabilityDetailsOrBuilder.java | 58 +- .../v1/ReachabilityServiceProto.java | 256 ++ .../v1/RerunConnectivityTestRequest.java | 363 ++- ...RerunConnectivityTestRequestOrBuilder.java | 27 +- .../cloud/networkmanagement/v1/RouteInfo.java | 1100 ++++--- .../v1/RouteInfoOrBuilder.java | 96 +- .../cloud/networkmanagement/v1/Step.java | 2208 +++++++++----- .../networkmanagement/v1/StepOrBuilder.java | 168 +- .../networkmanagement/v1/TestOuterClass.java | 179 ++ .../cloud/networkmanagement/v1/Trace.java | 500 ++-- .../networkmanagement/v1/TraceOrBuilder.java | 44 +- .../networkmanagement/v1/TraceProto.java | 519 ++++ .../v1/UpdateConnectivityTestRequest.java | 562 ++-- ...pdateConnectivityTestRequestOrBuilder.java | 55 +- .../networkmanagement/v1/VpnGatewayInfo.java | 687 +++-- .../v1/VpnGatewayInfoOrBuilder.java | 72 +- .../networkmanagement/v1/VpnTunnelInfo.java | 975 ++++--- .../v1/VpnTunnelInfoOrBuilder.java | 96 +- .../v1/connectivity_test.proto | 0 .../networkmanagement/v1/reachability.proto | 0 .../cloud/networkmanagement/v1/trace.proto | 0 .../networkmanagement/v1beta1/AbortInfo.java | 663 +++-- .../v1beta1/AbortInfoOrBuilder.java | 51 +- .../v1beta1/CloudFunctionInfo.java | 518 ++-- .../v1beta1/CloudFunctionInfoOrBuilder.java | 48 +- .../v1beta1/CloudSQLInstanceInfo.java | 713 +++-- .../CloudSQLInstanceInfoOrBuilder.java | 72 +- .../v1beta1/ConnectivityTest.java | 1777 ++++++++---- .../v1beta1/ConnectivityTestOrBuilder.java | 219 +- .../CreateConnectivityTestRequest.java | 604 ++-- ...reateConnectivityTestRequestOrBuilder.java | 56 +- .../DeleteConnectivityTestRequest.java | 376 ++- ...eleteConnectivityTestRequestOrBuilder.java | 27 +- .../v1beta1/DeliverInfo.java | 504 ++-- .../v1beta1/DeliverInfoOrBuilder.java | 33 +- .../networkmanagement/v1beta1/DropInfo.java | 629 ++-- .../v1beta1/DropInfoOrBuilder.java | 33 +- .../networkmanagement/v1beta1/Endpoint.java | 1448 ++++++---- .../v1beta1/EndpointInfo.java | 756 +++-- .../v1beta1/EndpointInfoOrBuilder.java | 78 +- .../v1beta1/EndpointOrBuilder.java | 104 +- .../v1beta1/FirewallInfo.java | 1119 ++++--- .../v1beta1/FirewallInfoOrBuilder.java | 125 +- .../v1beta1/ForwardInfo.java | 490 ++-- .../v1beta1/ForwardInfoOrBuilder.java | 33 +- .../v1beta1/ForwardingRuleInfo.java | 772 +++-- .../v1beta1/ForwardingRuleInfoOrBuilder.java | 81 +- .../v1beta1/GKEMasterInfo.java | 546 ++-- .../v1beta1/GKEMasterInfoOrBuilder.java | 54 +- .../v1beta1/GetConnectivityTestRequest.java | 363 ++- .../GetConnectivityTestRequestOrBuilder.java | 27 +- .../v1beta1/InstanceInfo.java | 899 +++--- .../v1beta1/InstanceInfoOrBuilder.java | 103 +- .../v1beta1/LatencyDistribution.java | 562 ++-- .../v1beta1/LatencyDistributionOrBuilder.java | 89 + .../v1beta1/LatencyPercentile.java | 338 ++- .../v1beta1/LatencyPercentileOrBuilder.java | 24 +- .../v1beta1/ListConnectivityTestsRequest.java | 624 ++-- ...ListConnectivityTestsRequestOrBuilder.java | 57 +- .../ListConnectivityTestsResponse.java | 649 +++-- ...istConnectivityTestsResponseOrBuilder.java | 60 +- .../v1beta1/LoadBalancerBackend.java | 794 +++-- .../v1beta1/LoadBalancerBackendOrBuilder.java | 89 +- .../v1beta1/LoadBalancerInfo.java | 1001 ++++--- .../v1beta1/LoadBalancerInfoOrBuilder.java | 80 +- .../v1beta1/NetworkInfo.java | 472 +-- .../v1beta1/NetworkInfoOrBuilder.java | 45 +- .../v1beta1/OperationMetadata.java | 764 +++-- .../v1beta1/OperationMetadataOrBuilder.java | 73 +- .../v1beta1/ProbingDetails.java | 1588 ++++++---- .../v1beta1/ProbingDetailsOrBuilder.java | 103 +- .../v1beta1/ReachabilityDetails.java | 756 +++-- .../v1beta1/ReachabilityDetailsOrBuilder.java | 58 +- .../v1beta1/ReachabilityServiceProto.java | 257 ++ .../v1beta1/RerunConnectivityTestRequest.java | 373 ++- ...RerunConnectivityTestRequestOrBuilder.java | 27 +- .../networkmanagement/v1beta1/RouteInfo.java | 1117 ++++--- .../v1beta1/RouteInfoOrBuilder.java | 96 +- .../cloud/networkmanagement/v1beta1/Step.java | 2564 ++++++++++++----- .../v1beta1/StepOrBuilder.java | 196 +- .../v1beta1/TestOuterClass.java | 287 ++ .../networkmanagement/v1beta1/Trace.java | 520 ++-- .../v1beta1/TraceOrBuilder.java | 44 +- .../networkmanagement/v1beta1/TraceProto.java | 568 ++++ .../UpdateConnectivityTestRequest.java | 588 ++-- ...pdateConnectivityTestRequestOrBuilder.java | 55 +- .../v1beta1/VpcConnectorInfo.java | 472 +-- .../v1beta1/VpcConnectorInfoOrBuilder.java | 45 +- .../v1beta1/VpnGatewayInfo.java | 690 +++-- .../v1beta1/VpnGatewayInfoOrBuilder.java | 72 +- .../v1beta1/VpnTunnelInfo.java | 1003 ++++--- .../v1beta1/VpnTunnelInfoOrBuilder.java | 102 +- .../v1beta1/connectivity_test.proto | 0 .../v1beta1/reachability.proto | 0 .../networkmanagement/v1beta1/trace.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConnectivityTest.java | 0 .../AsyncCreateConnectivityTestLRO.java | 0 .../SyncCreateConnectivityTest.java | 0 ...ivityTestStringStringConnectivitytest.java | 0 .../AsyncDeleteConnectivityTest.java | 0 .../AsyncDeleteConnectivityTestLRO.java | 0 .../SyncDeleteConnectivityTest.java | 0 .../SyncDeleteConnectivityTestString.java | 0 .../AsyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTestString.java | 0 .../AsyncListConnectivityTests.java | 0 .../AsyncListConnectivityTestsPaged.java | 0 .../SyncListConnectivityTests.java | 0 .../SyncListConnectivityTestsString.java | 0 .../AsyncRerunConnectivityTest.java | 0 .../AsyncRerunConnectivityTestLRO.java | 0 .../SyncRerunConnectivityTest.java | 0 .../AsyncUpdateConnectivityTest.java | 0 .../AsyncUpdateConnectivityTestLRO.java | 0 .../SyncUpdateConnectivityTest.java | 0 ...ectivityTestFieldmaskConnectivitytest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConnectivityTest.java | 0 .../AsyncCreateConnectivityTestLRO.java | 0 .../SyncCreateConnectivityTest.java | 0 .../AsyncDeleteConnectivityTest.java | 0 .../AsyncDeleteConnectivityTestLRO.java | 0 .../SyncDeleteConnectivityTest.java | 0 .../AsyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../AsyncListConnectivityTests.java | 0 .../AsyncListConnectivityTestsPaged.java | 0 .../SyncListConnectivityTests.java | 0 .../AsyncRerunConnectivityTest.java | 0 .../AsyncRerunConnectivityTestLRO.java | 0 .../SyncRerunConnectivityTest.java | 0 .../AsyncUpdateConnectivityTest.java | 0 .../AsyncUpdateConnectivityTestLRO.java | 0 .../SyncUpdateConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../SyncGetConnectivityTest.java | 0 .../v1/ReachabilityServiceProto.java | 228 -- .../networkmanagement/v1/TestOuterClass.java | 142 - .../networkmanagement/v1/TraceProto.java | 422 --- .../v1beta1/LatencyDistributionOrBuilder.java | 53 - .../v1beta1/ReachabilityServiceProto.java | 229 -- .../v1beta1/TestOuterClass.java | 231 -- .../networkmanagement/v1beta1/TraceProto.java | 466 --- 225 files changed, 37777 insertions(+), 21025 deletions(-) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java (99%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java (99%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceCallableFactory.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java (99%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java (99%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java (99%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java (99%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityService.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityServiceImpl.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java (55%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java (54%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java (74%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java (74%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java (70%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java (68%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java (79%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java (65%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java (65%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java (63%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java (55%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java (68%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java (61%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java (74%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java (60%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java (74%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java (70%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java (80%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java (72%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java (78%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java (68%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java (61%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java (69%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java (69%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java (63%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java (64%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java (55%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java (70%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java (69%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java (72%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java (78%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java (69%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java (72%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java (68%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java (59%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java (72%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java (75%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java (81%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java (63%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java (55%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java (73%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java (76%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java (76%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java (90%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Trace.java (77%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java (83%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java (61%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java (57%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java (70%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java (71%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java (73%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java (74%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java (74%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java (68%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java (62%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java (69%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java (68%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java (70%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java (78%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java (63%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java (65%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java (61%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java (56%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java (69%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java (62%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java (74%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java (61%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java (69%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java (72%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java (77%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java (73%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java (76%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java (69%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java (62%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java (70%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java (70%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java (63%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java (63%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java (56%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java (73%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java (60%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java (66%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java (54%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java (78%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java (69%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java (74%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java (70%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java (67%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java (70%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java (68%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java (60%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java (69%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java (80%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java (74%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java (82%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java (61%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java (56%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java (73%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java (76%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java (74%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java (90%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Trace.java (77%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java (84%) create mode 100644 java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java (59%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java (57%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java (68%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java (59%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java (70%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java (71%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java (72%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) rename {owl-bot-staging/java-network-management/v1beta1 => java-network-management}/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java (100%) delete mode 100644 owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java delete mode 100644 owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java delete mode 100644 owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java delete mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java delete mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java delete mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java delete mode 100644 owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java diff --git a/java-network-management/README.md b/java-network-management/README.md index c4813474f475..a53fa820c6df 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.11.0 + 26.12.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.15.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.16.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClient.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java similarity index 99% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java index f54be72db909..025e98c4ea84 100644 --- a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.networkmanagement.v1.stub.ReachabilityServiceStubSettings; diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceCallableFactory.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java similarity index 99% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java index 2aab958df531..48e4f1130dd2 100644 --- a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/GrpcReachabilityServiceStub.java @@ -41,7 +41,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-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceCallableFactory.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceCallableFactory.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceCallableFactory.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java similarity index 99% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java index 9651632c4826..08354a6d1a53 100644 --- a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/HttpJsonReachabilityServiceStub.java @@ -31,7 +31,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStub.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/ReachabilityServiceStubSettings.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClient.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java similarity index 99% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java index 61c1b43bf2a1..a52c4a7ee084 100644 --- a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStubSettings; diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/package-info.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceCallableFactory.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java similarity index 99% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java index 7daedfb2f19a..69e3413b4c9b 100644 --- a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/GrpcReachabilityServiceStub.java @@ -42,7 +42,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-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceCallableFactory.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java similarity index 99% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java index 1be6b1e0bae7..3ce50718aad4 100644 --- a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/HttpJsonReachabilityServiceStub.java @@ -31,7 +31,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStub.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java rename to java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/ReachabilityServiceStubSettings.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityService.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityService.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityService.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityService.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityServiceImpl.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityServiceImpl.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityServiceImpl.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/MockReachabilityServiceImpl.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientHttpJsonTest.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientHttpJsonTest.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientTest.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientTest.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceClientTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityService.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/MockReachabilityServiceImpl.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java b/java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java rename to java-network-management/google-cloud-network-management/src/test/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceClientTest.java diff --git a/owl-bot-staging/java-network-management/v1/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java b/java-network-management/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java similarity index 55% rename from owl-bot-staging/java-network-management/v1/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java rename to java-network-management/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java index 0ca07d973bec..923b6377ca09 100644 --- a/owl-bot-staging/java-network-management/v1/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java +++ b/java-network-management/grpc-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.networkmanagement.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The Reachability service in the Google Cloud Network Management API provides
  * services that analyze the reachability within a single Google Virtual Private
@@ -24,237 +41,351 @@ private ReachabilityServiceGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.networkmanagement.v1.ReachabilityService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListConnectivityTestsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest,
+          com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>
+      getListConnectivityTestsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListConnectivityTests",
       requestType = com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class,
       responseType = com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListConnectivityTestsMethod() {
-    io.grpc.MethodDescriptor getListConnectivityTestsMethod;
-    if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest,
+          com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>
+      getListConnectivityTestsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest,
+            com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>
+        getListConnectivityTestsMethod;
+    if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) {
-          ReachabilityServiceGrpc.getListConnectivityTestsMethod = getListConnectivityTestsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectivityTests"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests"))
-              .build();
+        if ((getListConnectivityTestsMethod =
+                ReachabilityServiceGrpc.getListConnectivityTestsMethod)
+            == null) {
+          ReachabilityServiceGrpc.getListConnectivityTestsMethod =
+              getListConnectivityTestsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListConnectivityTests"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests"))
+                      .build();
         }
       }
     }
     return getListConnectivityTestsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest,
+          com.google.cloud.networkmanagement.v1.ConnectivityTest>
+      getGetConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class,
       responseType = com.google.cloud.networkmanagement.v1.ConnectivityTest.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getGetConnectivityTestMethod;
-    if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest,
+          com.google.cloud.networkmanagement.v1.ConnectivityTest>
+      getGetConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest,
+            com.google.cloud.networkmanagement.v1.ConnectivityTest>
+        getGetConnectivityTestMethod;
+    if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getGetConnectivityTestMethod = getGetConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest"))
-              .build();
+        if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getGetConnectivityTestMethod =
+              getGetConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GetConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.ConnectivityTest
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest"))
+                      .build();
         }
       }
     }
     return getGetConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getCreateConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getCreateConnectivityTestMethod;
-    if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getCreateConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getCreateConnectivityTestMethod;
+    if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getCreateConnectivityTestMethod = getCreateConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest"))
-              .build();
+        if ((getCreateConnectivityTestMethod =
+                ReachabilityServiceGrpc.getCreateConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getCreateConnectivityTestMethod =
+              getCreateConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest"))
+                      .build();
         }
       }
     }
     return getCreateConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getUpdateConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getUpdateConnectivityTestMethod;
-    if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getUpdateConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getUpdateConnectivityTestMethod;
+    if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getUpdateConnectivityTestMethod = getUpdateConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest"))
-              .build();
+        if ((getUpdateConnectivityTestMethod =
+                ReachabilityServiceGrpc.getUpdateConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getUpdateConnectivityTestMethod =
+              getUpdateConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest"))
+                      .build();
         }
       }
     }
     return getUpdateConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRerunConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getRerunConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RerunConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRerunConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getRerunConnectivityTestMethod;
-    if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getRerunConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getRerunConnectivityTestMethod;
+    if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getRerunConnectivityTestMethod = getRerunConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest"))
-              .build();
+        if ((getRerunConnectivityTestMethod =
+                ReachabilityServiceGrpc.getRerunConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getRerunConnectivityTestMethod =
+              getRerunConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest"))
+                      .build();
         }
       }
     }
     return getRerunConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getDeleteConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getDeleteConnectivityTestMethod;
-    if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getDeleteConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getDeleteConnectivityTestMethod;
+    if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getDeleteConnectivityTestMethod = getDeleteConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest"))
-              .build();
+        if ((getDeleteConnectivityTestMethod =
+                ReachabilityServiceGrpc.getDeleteConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getDeleteConnectivityTestMethod =
+              getDeleteConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest"))
+                      .build();
         }
       }
     }
     return getDeleteConnectivityTestMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static ReachabilityServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public ReachabilityServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new ReachabilityServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public ReachabilityServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new ReachabilityServiceStub(channel, callOptions);
+          }
+        };
     return ReachabilityServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static ReachabilityServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static ReachabilityServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public ReachabilityServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new ReachabilityServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public ReachabilityServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new ReachabilityServiceBlockingStub(channel, callOptions);
+          }
+        };
     return ReachabilityServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static ReachabilityServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static ReachabilityServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public ReachabilityServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new ReachabilityServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public ReachabilityServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new ReachabilityServiceFutureStub(channel, callOptions);
+          }
+        };
     return ReachabilityServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -268,26 +399,39 @@ public ReachabilityServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.Ca
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - default void listConnectivityTests(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectivityTestsMethod(), responseObserver); + default void listConnectivityTests( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConnectivityTestsMethod(), responseObserver); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - default void getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectivityTestMethod(), responseObserver); + default void getConnectivityTest( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -302,12 +446,16 @@ default void getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnec
      * see the Connectivity Test documentation.
      * 
*/ - default void createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, + default void createConnectivityTest( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -323,12 +471,16 @@ default void createConnectivityTest(com.google.cloud.networkmanagement.v1.Create
      * in `ConnectivityTest` for for more details.
      * 
*/ - default void updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, + default void updateConnectivityTest( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -342,24 +494,31 @@ default void updateConnectivityTest(com.google.cloud.networkmanagement.v1.Update
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - default void rerunConnectivityTest(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, + default void rerunConnectivityTest( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRerunConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRerunConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - default void deleteConnectivityTest(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, + default void deleteConnectivityTest( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConnectivityTestMethod(), responseObserver); } } /** * Base class for the server implementation of the service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -370,16 +529,18 @@ default void deleteConnectivityTest(com.google.cloud.networkmanagement.v1.Delete
    * to troubleshoot connectivity issues.
    * 
*/ - public static abstract class ReachabilityServiceImplBase + public abstract static class ReachabilityServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return ReachabilityServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -392,8 +553,7 @@ public static abstract class ReachabilityServiceImplBase
    */
   public static final class ReachabilityServiceStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private ReachabilityServiceStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private ReachabilityServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -404,28 +564,43 @@ protected ReachabilityServiceStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public void listConnectivityTests(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listConnectivityTests( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public void getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getConnectivityTest( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -440,13 +615,18 @@ public void getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnect
      * see the Connectivity Test documentation.
      * 
*/ - public void createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, + public void createConnectivityTest( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -462,13 +642,18 @@ public void createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateC
      * in `ConnectivityTest` for for more details.
      * 
*/ - public void updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, + public void updateConnectivityTest( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -482,26 +667,35 @@ public void updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateC
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public void rerunConnectivityTest(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, + public void rerunConnectivityTest( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public void deleteConnectivityTest(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, + public void deleteConnectivityTest( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -526,26 +720,35 @@ protected ReachabilityServiceBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse listConnectivityTests(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + listConnectivityTests( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectivityTestsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.cloud.networkmanagement.v1.ConnectivityTest getConnectivityTest(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { + public com.google.cloud.networkmanagement.v1.ConnectivityTest getConnectivityTest( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -560,12 +763,15 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest getConnectivityTes
      * see the Connectivity Test documentation.
      * 
*/ - public com.google.longrunning.Operation createConnectivityTest(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) { + public com.google.longrunning.Operation createConnectivityTest( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -581,12 +787,15 @@ public com.google.longrunning.Operation createConnectivityTest(com.google.cloud.
      * in `ConnectivityTest` for for more details.
      * 
*/ - public com.google.longrunning.Operation updateConnectivityTest(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) { + public com.google.longrunning.Operation updateConnectivityTest( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -600,17 +809,21 @@ public com.google.longrunning.Operation updateConnectivityTest(com.google.cloud.
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public com.google.longrunning.Operation rerunConnectivityTest(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) { + public com.google.longrunning.Operation rerunConnectivityTest( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRerunConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.longrunning.Operation deleteConnectivityTest(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { + public com.google.longrunning.Operation deleteConnectivityTest( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectivityTestMethod(), getCallOptions(), request); } @@ -618,6 +831,7 @@ public com.google.longrunning.Operation deleteConnectivityTest(com.google.cloud. /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -642,28 +856,38 @@ protected ReachabilityServiceFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listConnectivityTests( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse> + listConnectivityTests( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getConnectivityTest( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.networkmanagement.v1.ConnectivityTest> + getConnectivityTest( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -678,13 +902,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createConnectivityTest(
-        com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createConnectivityTest(
+            com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -700,13 +927,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateConnectivityTest(
-        com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateConnectivityTest(
+            com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -720,19 +950,23 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture rerunConnectivityTest(
-        com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        rerunConnectivityTest(
+            com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteConnectivityTest( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteConnectivityTest( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request); } @@ -745,11 +979,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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; @@ -763,27 +997,36 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_CONNECTIVITY_TESTS: - serviceImpl.listConnectivityTests((com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listConnectivityTests( + (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>) + responseObserver); break; case METHODID_GET_CONNECTIVITY_TEST: - serviceImpl.getConnectivityTest((com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getConnectivityTest( + (com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_CREATE_CONNECTIVITY_TEST: - serviceImpl.createConnectivityTest((com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) request, + serviceImpl.createConnectivityTest( + (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONNECTIVITY_TEST: - serviceImpl.updateConnectivityTest((com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) request, + serviceImpl.updateConnectivityTest( + (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RERUN_CONNECTIVITY_TEST: - serviceImpl.rerunConnectivityTest((com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) request, + serviceImpl.rerunConnectivityTest( + (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTIVITY_TEST: - serviceImpl.deleteConnectivityTest((com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) request, + serviceImpl.deleteConnectivityTest( + (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -805,52 +1048,49 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListConnectivityTestsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>( - service, METHODID_LIST_CONNECTIVITY_TESTS))) + getListConnectivityTestsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest, + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>( + service, METHODID_LIST_CONNECTIVITY_TESTS))) .addMethod( - getGetConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1.ConnectivityTest>( - service, METHODID_GET_CONNECTIVITY_TEST))) + getGetConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest, + com.google.cloud.networkmanagement.v1.ConnectivityTest>( + service, METHODID_GET_CONNECTIVITY_TEST))) .addMethod( - getCreateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CONNECTIVITY_TEST))) + getCreateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CONNECTIVITY_TEST))) .addMethod( - getUpdateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CONNECTIVITY_TEST))) + getUpdateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_CONNECTIVITY_TEST))) .addMethod( - getRerunConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_RERUN_CONNECTIVITY_TEST))) + getRerunConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_RERUN_CONNECTIVITY_TEST))) .addMethod( - getDeleteConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_CONNECTIVITY_TEST))) + getDeleteConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_CONNECTIVITY_TEST))) .build(); } - private static abstract class ReachabilityServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class ReachabilityServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { ReachabilityServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -892,15 +1132,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ReachabilityServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) - .addMethod(getListConnectivityTestsMethod()) - .addMethod(getGetConnectivityTestMethod()) - .addMethod(getCreateConnectivityTestMethod()) - .addMethod(getUpdateConnectivityTestMethod()) - .addMethod(getRerunConnectivityTestMethod()) - .addMethod(getDeleteConnectivityTestMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) + .addMethod(getListConnectivityTestsMethod()) + .addMethod(getGetConnectivityTestMethod()) + .addMethod(getCreateConnectivityTestMethod()) + .addMethod(getUpdateConnectivityTestMethod()) + .addMethod(getRerunConnectivityTestMethod()) + .addMethod(getDeleteConnectivityTestMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-network-management/v1beta1/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java b/java-network-management/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java similarity index 54% rename from owl-bot-staging/java-network-management/v1beta1/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java rename to java-network-management/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java index 5f2aa26fd7fd..e6d3e7277198 100644 --- a/owl-bot-staging/java-network-management/v1beta1/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java +++ b/java-network-management/grpc-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.networkmanagement.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The Reachability service in the Google Cloud Network Management API provides
  * services that analyze the reachability within a single Google Virtual Private
@@ -21,240 +38,355 @@ public final class ReachabilityServiceGrpc {
 
   private ReachabilityServiceGrpc() {}
 
-  public static final String SERVICE_NAME = "google.cloud.networkmanagement.v1beta1.ReachabilityService";
+  public static final String SERVICE_NAME =
+      "google.cloud.networkmanagement.v1beta1.ReachabilityService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListConnectivityTestsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest,
+          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>
+      getListConnectivityTestsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListConnectivityTests",
       requestType = com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class,
       responseType = com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListConnectivityTestsMethod() {
-    io.grpc.MethodDescriptor getListConnectivityTestsMethod;
-    if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest,
+          com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>
+      getListConnectivityTestsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest,
+            com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>
+        getListConnectivityTestsMethod;
+    if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getListConnectivityTestsMethod = ReachabilityServiceGrpc.getListConnectivityTestsMethod) == null) {
-          ReachabilityServiceGrpc.getListConnectivityTestsMethod = getListConnectivityTestsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectivityTests"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests"))
-              .build();
+        if ((getListConnectivityTestsMethod =
+                ReachabilityServiceGrpc.getListConnectivityTestsMethod)
+            == null) {
+          ReachabilityServiceGrpc.getListConnectivityTestsMethod =
+              getListConnectivityTestsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListConnectivityTests"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1
+                                  .ListConnectivityTestsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1
+                                  .ListConnectivityTestsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("ListConnectivityTests"))
+                      .build();
         }
       }
     }
     return getListConnectivityTestsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest,
+          com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>
+      getGetConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class,
       responseType = com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getGetConnectivityTestMethod;
-    if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest,
+          com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>
+      getGetConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest,
+            com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>
+        getGetConnectivityTestMethod;
+    if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getGetConnectivityTestMethod = getGetConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest"))
-              .build();
+        if ((getGetConnectivityTestMethod = ReachabilityServiceGrpc.getGetConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getGetConnectivityTestMethod =
+              getGetConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GetConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1.ConnectivityTest
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("GetConnectivityTest"))
+                      .build();
         }
       }
     }
     return getGetConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getCreateConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getCreateConnectivityTestMethod;
-    if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getCreateConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getCreateConnectivityTestMethod;
+    if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getCreateConnectivityTestMethod = ReachabilityServiceGrpc.getCreateConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getCreateConnectivityTestMethod = getCreateConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest"))
-              .build();
+        if ((getCreateConnectivityTestMethod =
+                ReachabilityServiceGrpc.getCreateConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getCreateConnectivityTestMethod =
+              getCreateConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1
+                                  .CreateConnectivityTestRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("CreateConnectivityTest"))
+                      .build();
         }
       }
     }
     return getCreateConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getUpdateConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getUpdateConnectivityTestMethod;
-    if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getUpdateConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getUpdateConnectivityTestMethod;
+    if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getUpdateConnectivityTestMethod = ReachabilityServiceGrpc.getUpdateConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getUpdateConnectivityTestMethod = getUpdateConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest"))
-              .build();
+        if ((getUpdateConnectivityTestMethod =
+                ReachabilityServiceGrpc.getUpdateConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getUpdateConnectivityTestMethod =
+              getUpdateConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UpdateConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1
+                                  .UpdateConnectivityTestRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("UpdateConnectivityTest"))
+                      .build();
         }
       }
     }
     return getUpdateConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRerunConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getRerunConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RerunConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRerunConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getRerunConnectivityTestMethod;
-    if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getRerunConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getRerunConnectivityTestMethod;
+    if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getRerunConnectivityTestMethod = ReachabilityServiceGrpc.getRerunConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getRerunConnectivityTestMethod = getRerunConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest"))
-              .build();
+        if ((getRerunConnectivityTestMethod =
+                ReachabilityServiceGrpc.getRerunConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getRerunConnectivityTestMethod =
+              getRerunConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "RerunConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1
+                                  .RerunConnectivityTestRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("RerunConnectivityTest"))
+                      .build();
         }
       }
     }
     return getRerunConnectivityTestMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteConnectivityTestMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getDeleteConnectivityTestMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteConnectivityTest",
       requestType = com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteConnectivityTestMethod() {
-    io.grpc.MethodDescriptor getDeleteConnectivityTestMethod;
-    if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest,
+          com.google.longrunning.Operation>
+      getDeleteConnectivityTestMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest,
+            com.google.longrunning.Operation>
+        getDeleteConnectivityTestMethod;
+    if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod)
+        == null) {
       synchronized (ReachabilityServiceGrpc.class) {
-        if ((getDeleteConnectivityTestMethod = ReachabilityServiceGrpc.getDeleteConnectivityTestMethod) == null) {
-          ReachabilityServiceGrpc.getDeleteConnectivityTestMethod = getDeleteConnectivityTestMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest"))
-              .build();
+        if ((getDeleteConnectivityTestMethod =
+                ReachabilityServiceGrpc.getDeleteConnectivityTestMethod)
+            == null) {
+          ReachabilityServiceGrpc.getDeleteConnectivityTestMethod =
+              getDeleteConnectivityTestMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "DeleteConnectivityTest"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.networkmanagement.v1beta1
+                                  .DeleteConnectivityTestRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new ReachabilityServiceMethodDescriptorSupplier("DeleteConnectivityTest"))
+                      .build();
         }
       }
     }
     return getDeleteConnectivityTestMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static ReachabilityServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public ReachabilityServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new ReachabilityServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public ReachabilityServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new ReachabilityServiceStub(channel, callOptions);
+          }
+        };
     return ReachabilityServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static ReachabilityServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static ReachabilityServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public ReachabilityServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new ReachabilityServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public ReachabilityServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new ReachabilityServiceBlockingStub(channel, callOptions);
+          }
+        };
     return ReachabilityServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static ReachabilityServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static ReachabilityServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public ReachabilityServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new ReachabilityServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public ReachabilityServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new ReachabilityServiceFutureStub(channel, callOptions);
+          }
+        };
     return ReachabilityServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -268,26 +400,39 @@ public ReachabilityServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.Ca
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - default void listConnectivityTests(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectivityTestsMethod(), responseObserver); + default void listConnectivityTests( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConnectivityTestsMethod(), responseObserver); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - default void getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectivityTestMethod(), responseObserver); + default void getConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -302,12 +447,16 @@ default void getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetC
      * see the Connectivity Test documentation.
      * 
*/ - default void createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, + default void createConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -323,12 +472,16 @@ default void createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.C
      * in `ConnectivityTest` for for more details.
      * 
*/ - default void updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, + default void updateConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -342,24 +495,31 @@ default void updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.U
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - default void rerunConnectivityTest(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, + default void rerunConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRerunConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRerunConnectivityTestMethod(), responseObserver); } /** + * + * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - default void deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, + default void deleteConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectivityTestMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConnectivityTestMethod(), responseObserver); } } /** * Base class for the server implementation of the service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -370,16 +530,18 @@ default void deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.D
    * to troubleshoot connectivity issues.
    * 
*/ - public static abstract class ReachabilityServiceImplBase + public abstract static class ReachabilityServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return ReachabilityServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -392,8 +554,7 @@ public static abstract class ReachabilityServiceImplBase
    */
   public static final class ReachabilityServiceStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private ReachabilityServiceStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private ReachabilityServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -404,28 +565,43 @@ protected ReachabilityServiceStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public void listConnectivityTests(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listConnectivityTests( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public void getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -440,13 +616,18 @@ public void getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetCo
      * see the Connectivity Test documentation.
      * 
*/ - public void createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, + public void createConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -462,13 +643,18 @@ public void createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.Cr
      * in `ConnectivityTest` for for more details.
      * 
*/ - public void updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, + public void updateConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -482,26 +668,35 @@ public void updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.Up
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public void rerunConnectivityTest(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, + public void rerunConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public void deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, + public void deleteConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -526,26 +721,35 @@ protected ReachabilityServiceBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse listConnectivityTests(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + listConnectivityTests( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectivityTestsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getConnectivityTest(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -560,12 +764,15 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getConnectivi
      * see the Connectivity Test documentation.
      * 
*/ - public com.google.longrunning.Operation createConnectivityTest(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) { + public com.google.longrunning.Operation createConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -581,12 +788,15 @@ public com.google.longrunning.Operation createConnectivityTest(com.google.cloud.
      * in `ConnectivityTest` for for more details.
      * 
*/ - public com.google.longrunning.Operation updateConnectivityTest(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) { + public com.google.longrunning.Operation updateConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -600,17 +810,21 @@ public com.google.longrunning.Operation updateConnectivityTest(com.google.cloud.
      * the reachability result returns a value of `UNKNOWN`.
      * 
*/ - public com.google.longrunning.Operation rerunConnectivityTest(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) { + public com.google.longrunning.Operation rerunConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRerunConnectivityTestMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.longrunning.Operation deleteConnectivityTest(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { + public com.google.longrunning.Operation deleteConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectivityTestMethod(), getCallOptions(), request); } @@ -618,6 +832,7 @@ public com.google.longrunning.Operation deleteConnectivityTest(com.google.cloud. /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ReachabilityService. + * *
    * The Reachability service in the Google Cloud Network Management API provides
    * services that analyze the reachability within a single Google Virtual Private
@@ -642,28 +857,38 @@ protected ReachabilityServiceFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists all Connectivity Tests owned by a project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listConnectivityTests( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> + listConnectivityTests( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectivityTestsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets the details of a specific Connectivity Test.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest> + getConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectivityTestMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new Connectivity Test.
      * After you create a test, the reachability analysis is performed as part
@@ -678,13 +903,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createConnectivityTest(
-        com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createConnectivityTest(
+            com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateConnectivityTestMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates the configuration of an existing `ConnectivityTest`.
      * After you update a test, the reachability analysis is performed as part
@@ -700,13 +928,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateConnectivityTest(
-        com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateConnectivityTest(
+            com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateConnectivityTestMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Rerun an existing `ConnectivityTest`.
      * After the user triggers the rerun, the reachability analysis is performed
@@ -720,19 +951,23 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture rerunConnectivityTest(
-        com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        rerunConnectivityTest(
+            com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRerunConnectivityTestMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a specific `ConnectivityTest`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteConnectivityTest( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteConnectivityTest( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectivityTestMethod(), getCallOptions()), request); } @@ -745,11 +980,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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; @@ -763,27 +998,37 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_CONNECTIVITY_TESTS: - serviceImpl.listConnectivityTests((com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listConnectivityTests( + (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>) + responseObserver); break; case METHODID_GET_CONNECTIVITY_TEST: - serviceImpl.getConnectivityTest((com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getConnectivityTest( + (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>) + responseObserver); break; case METHODID_CREATE_CONNECTIVITY_TEST: - serviceImpl.createConnectivityTest((com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) request, + serviceImpl.createConnectivityTest( + (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONNECTIVITY_TEST: - serviceImpl.updateConnectivityTest((com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) request, + serviceImpl.updateConnectivityTest( + (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RERUN_CONNECTIVITY_TEST: - serviceImpl.rerunConnectivityTest((com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) request, + serviceImpl.rerunConnectivityTest( + (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTIVITY_TEST: - serviceImpl.deleteConnectivityTest((com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) request, + serviceImpl.deleteConnectivityTest( + (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -805,52 +1050,49 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListConnectivityTestsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest, - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>( - service, METHODID_LIST_CONNECTIVITY_TESTS))) + getListConnectivityTestsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest, + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>( + service, METHODID_LIST_CONNECTIVITY_TESTS))) .addMethod( - getGetConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest, - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>( - service, METHODID_GET_CONNECTIVITY_TEST))) + getGetConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest>( + service, METHODID_GET_CONNECTIVITY_TEST))) .addMethod( - getCreateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CONNECTIVITY_TEST))) + getCreateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CONNECTIVITY_TEST))) .addMethod( - getUpdateConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CONNECTIVITY_TEST))) + getUpdateConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_CONNECTIVITY_TEST))) .addMethod( - getRerunConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_RERUN_CONNECTIVITY_TEST))) + getRerunConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_RERUN_CONNECTIVITY_TEST))) .addMethod( - getDeleteConnectivityTestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_CONNECTIVITY_TEST))) + getDeleteConnectivityTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_CONNECTIVITY_TEST))) .build(); } - private static abstract class ReachabilityServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class ReachabilityServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { ReachabilityServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -892,15 +1134,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ReachabilityServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) - .addMethod(getListConnectivityTestsMethod()) - .addMethod(getGetConnectivityTestMethod()) - .addMethod(getCreateConnectivityTestMethod()) - .addMethod(getUpdateConnectivityTestMethod()) - .addMethod(getRerunConnectivityTestMethod()) - .addMethod(getDeleteConnectivityTestMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ReachabilityServiceFileDescriptorSupplier()) + .addMethod(getListConnectivityTestsMethod()) + .addMethod(getGetConnectivityTestMethod()) + .addMethod(getCreateConnectivityTestMethod()) + .addMethod(getUpdateConnectivityTestMethod()) + .addMethod(getRerunConnectivityTestMethod()) + .addMethod(getDeleteConnectivityTestMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java similarity index 74% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java index d9bb6ce89efc..6e275ce0fed1 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Details of the final state "abort" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.AbortInfo} */ -public final class AbortInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AbortInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.AbortInfo) AbortInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AbortInfo.newBuilder() to construct. private AbortInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AbortInfo() { cause_ = 0; resourceUri_ = ""; @@ -27,39 +45,43 @@ private AbortInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AbortInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.AbortInfo.class, com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1.AbortInfo.class, + com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); } /** + * + * *
    * Abort cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.AbortInfo.Cause} */ - public enum Cause - implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Cause is unspecified.
      * 
@@ -68,6 +90,8 @@ public enum Cause */ CAUSE_UNSPECIFIED(0), /** + * + * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -80,6 +104,8 @@ public enum Cause
      */
     UNKNOWN_NETWORK(1),
     /**
+     *
+     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -88,6 +114,8 @@ public enum Cause */ UNKNOWN_IP(2), /** + * + * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -97,6 +125,8 @@ public enum Cause
      */
     UNKNOWN_PROJECT(3),
     /**
+     *
+     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -106,6 +136,8 @@ public enum Cause
      */
     PERMISSION_DENIED(4),
     /**
+     *
+     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -115,6 +147,8 @@ public enum Cause
      */
     NO_SOURCE_LOCATION(5),
     /**
+     *
+     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -127,6 +161,8 @@ public enum Cause
      */
     INVALID_ARGUMENT(6),
     /**
+     *
+     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -136,6 +172,8 @@ public enum Cause
      */
     NO_EXTERNAL_IP(7),
     /**
+     *
+     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -145,6 +183,8 @@ public enum Cause
      */
     UNINTENDED_DESTINATION(8),
     /**
+     *
+     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -154,6 +194,8 @@ public enum Cause
      */
     TRACE_TOO_LONG(9),
     /**
+     *
+     *
      * 
      * Aborted due to internal server error.
      * 
@@ -162,6 +204,8 @@ public enum Cause */ INTERNAL_ERROR(10), /** + * + * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -170,6 +214,8 @@ public enum Cause */ SOURCE_ENDPOINT_NOT_FOUND(11), /** + * + * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -178,6 +224,8 @@ public enum Cause */ MISMATCHED_SOURCE_NETWORK(12), /** + * + * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -186,6 +234,8 @@ public enum Cause */ DESTINATION_ENDPOINT_NOT_FOUND(13), /** + * + * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -195,6 +245,8 @@ public enum Cause
      */
     MISMATCHED_DESTINATION_NETWORK(14),
     /**
+     *
+     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -206,6 +258,8 @@ public enum Cause ; /** + * + * *
      * Cause is unspecified.
      * 
@@ -214,6 +268,8 @@ public enum Cause */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -226,6 +282,8 @@ public enum Cause
      */
     public static final int UNKNOWN_NETWORK_VALUE = 1;
     /**
+     *
+     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -234,6 +292,8 @@ public enum Cause */ public static final int UNKNOWN_IP_VALUE = 2; /** + * + * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -243,6 +303,8 @@ public enum Cause
      */
     public static final int UNKNOWN_PROJECT_VALUE = 3;
     /**
+     *
+     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -252,6 +314,8 @@ public enum Cause
      */
     public static final int PERMISSION_DENIED_VALUE = 4;
     /**
+     *
+     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -261,6 +325,8 @@ public enum Cause
      */
     public static final int NO_SOURCE_LOCATION_VALUE = 5;
     /**
+     *
+     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -273,6 +339,8 @@ public enum Cause
      */
     public static final int INVALID_ARGUMENT_VALUE = 6;
     /**
+     *
+     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -282,6 +350,8 @@ public enum Cause
      */
     public static final int NO_EXTERNAL_IP_VALUE = 7;
     /**
+     *
+     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -291,6 +361,8 @@ public enum Cause
      */
     public static final int UNINTENDED_DESTINATION_VALUE = 8;
     /**
+     *
+     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -300,6 +372,8 @@ public enum Cause
      */
     public static final int TRACE_TOO_LONG_VALUE = 9;
     /**
+     *
+     *
      * 
      * Aborted due to internal server error.
      * 
@@ -308,6 +382,8 @@ public enum Cause */ public static final int INTERNAL_ERROR_VALUE = 10; /** + * + * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -316,6 +392,8 @@ public enum Cause */ public static final int SOURCE_ENDPOINT_NOT_FOUND_VALUE = 11; /** + * + * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -324,6 +402,8 @@ public enum Cause */ public static final int MISMATCHED_SOURCE_NETWORK_VALUE = 12; /** + * + * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -332,6 +412,8 @@ public enum Cause */ public static final int DESTINATION_ENDPOINT_NOT_FOUND_VALUE = 13; /** + * + * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -341,6 +423,8 @@ public enum Cause
      */
     public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
     /**
+     *
+     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -349,7 +433,6 @@ public enum Cause */ public static final int UNSUPPORTED_VALUE = 15; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -374,62 +457,75 @@ public static Cause valueOf(int value) { */ public static Cause forNumber(int value) { switch (value) { - case 0: return CAUSE_UNSPECIFIED; - case 1: return UNKNOWN_NETWORK; - case 2: return UNKNOWN_IP; - case 3: return UNKNOWN_PROJECT; - case 4: return PERMISSION_DENIED; - case 5: return NO_SOURCE_LOCATION; - case 6: return INVALID_ARGUMENT; - case 7: return NO_EXTERNAL_IP; - case 8: return UNINTENDED_DESTINATION; - case 9: return TRACE_TOO_LONG; - case 10: return INTERNAL_ERROR; - case 11: return SOURCE_ENDPOINT_NOT_FOUND; - case 12: return MISMATCHED_SOURCE_NETWORK; - case 13: return DESTINATION_ENDPOINT_NOT_FOUND; - case 14: return MISMATCHED_DESTINATION_NETWORK; - case 15: return UNSUPPORTED; - default: return null; + case 0: + return CAUSE_UNSPECIFIED; + case 1: + return UNKNOWN_NETWORK; + case 2: + return UNKNOWN_IP; + case 3: + return UNKNOWN_PROJECT; + case 4: + return PERMISSION_DENIED; + case 5: + return NO_SOURCE_LOCATION; + case 6: + return INVALID_ARGUMENT; + case 7: + return NO_EXTERNAL_IP; + case 8: + return UNINTENDED_DESTINATION; + case 9: + return TRACE_TOO_LONG; + case 10: + return INTERNAL_ERROR; + case 11: + return SOURCE_ENDPOINT_NOT_FOUND; + case 12: + return MISMATCHED_SOURCE_NETWORK; + case 13: + return DESTINATION_ENDPOINT_NOT_FOUND; + case 14: + return MISMATCHED_DESTINATION_NETWORK; + case 15: + return UNSUPPORTED; + 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< - Cause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Cause findValueByNumber(int number) { - return Cause.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 Cause findValueByNumber(int number) { + return Cause.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.networkmanagement.v1.AbortInfo.getDescriptor().getEnumTypes().get(0); } private static final Cause[] VALUES = values(); - public static Cause valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Cause 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; @@ -449,38 +545,53 @@ private Cause(int value) { public static final int CAUSE_FIELD_NUMBER = 1; private int cause_ = 0; /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return The cause. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = + com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -489,29 +600,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -520,9 +631,12 @@ public java.lang.String getResourceUri() { } public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList projectsMissingPermission_; /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -530,13 +644,15 @@ public java.lang.String getResourceUri() {
    * 
* * repeated string projects_missing_permission = 3; + * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList - getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { return projectsMissingPermission_; } /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -544,12 +660,15 @@ public java.lang.String getResourceUri() {
    * 
* * repeated string projects_missing_permission = 3; + * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -557,6 +676,7 @@ public int getProjectsMissingPermissionCount() {
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -564,6 +684,8 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -571,15 +693,16 @@ public java.lang.String getProjectsMissingPermission(int index) {
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString - getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,16 +714,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (cause_ != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (cause_ + != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceUri_); } for (int i = 0; i < projectsMissingPermission_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, projectsMissingPermission_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, projectsMissingPermission_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -611,9 +735,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cause_); + if (cause_ + != com.google.cloud.networkmanagement.v1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -634,18 +758,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.networkmanagement.v1.AbortInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.AbortInfo other = (com.google.cloud.networkmanagement.v1.AbortInfo) obj; + com.google.cloud.networkmanagement.v1.AbortInfo other = + (com.google.cloud.networkmanagement.v1.AbortInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; - if (!getProjectsMissingPermissionList() - .equals(other.getProjectsMissingPermissionList())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getProjectsMissingPermissionList().equals(other.getProjectsMissingPermissionList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -670,130 +794,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.AbortInfo 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.networkmanagement.v1.AbortInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.AbortInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.AbortInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.AbortInfo 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.networkmanagement.v1.AbortInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.AbortInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.AbortInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "abort" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.AbortInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.AbortInfo) com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.AbortInfo.class, com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1.AbortInfo.class, + com.google.cloud.networkmanagement.v1.AbortInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.AbortInfo.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(); @@ -806,9 +936,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor; } @java.lang.Override @@ -827,14 +957,18 @@ public com.google.cloud.networkmanagement.v1.AbortInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo buildPartial() { - com.google.cloud.networkmanagement.v1.AbortInfo result = new com.google.cloud.networkmanagement.v1.AbortInfo(this); + com.google.cloud.networkmanagement.v1.AbortInfo result = + new com.google.cloud.networkmanagement.v1.AbortInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.AbortInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.AbortInfo result) { if (((bitField0_ & 0x00000004) != 0)) { projectsMissingPermission_ = projectsMissingPermission_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -856,38 +990,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.AbortInfo resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.AbortInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.AbortInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.AbortInfo) other); } else { super.mergeFrom(other); return this; @@ -895,7 +1030,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.AbortInfo other) { - if (other == com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) + return this; if (other.cause_ != 0) { setCauseValue(other.getCauseValue()); } @@ -940,28 +1076,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureProjectsMissingPermissionIsMutable(); - projectsMissingPermission_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureProjectsMissingPermissionIsMutable(); + projectsMissingPermission_.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) { @@ -971,26 +1111,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int cause_ = 0; /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1001,24 +1149,33 @@ public Builder setCauseValue(int value) { return this; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.AbortInfo.Cause result = + com.google.cloud.networkmanagement.v1.AbortInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1.AbortInfo.Cause.UNRECOGNIZED + : result; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @param value The cause to set. * @return This builder for chaining. */ @@ -1032,11 +1189,14 @@ public Builder setCause(com.google.cloud.networkmanagement.v1.AbortInfo.Cause va return this; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return This builder for chaining. */ public Builder clearCause() { @@ -1048,18 +1208,20 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1068,20 +1230,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1089,28 +1252,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1120,17 +1290,21 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = value; bitField0_ |= 0x00000002; @@ -1138,14 +1312,19 @@ public Builder setResourceUriBytes( return this; } - private com.google.protobuf.LazyStringList projectsMissingPermission_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList projectsMissingPermission_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureProjectsMissingPermissionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - projectsMissingPermission_ = new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); + projectsMissingPermission_ = + new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1153,13 +1332,15 @@ private void ensureProjectsMissingPermissionIsMutable() {
      * 
* * repeated string projects_missing_permission = 3; + * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList - getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { return projectsMissingPermission_.getUnmodifiableView(); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1167,12 +1348,15 @@ private void ensureProjectsMissingPermissionIsMutable() {
      * 
* * repeated string projects_missing_permission = 3; + * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1180,6 +1364,7 @@ public int getProjectsMissingPermissionCount() {
      * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -1187,6 +1372,8 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1194,14 +1381,16 @@ public java.lang.String getProjectsMissingPermission(int index) {
      * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString - getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1209,19 +1398,23 @@ public java.lang.String getProjectsMissingPermission(int index) {
      * 
* * repeated string projects_missing_permission = 3; + * * @param index The index to set the value at. * @param value The projectsMissingPermission to set. * @return This builder for chaining. */ - public Builder setProjectsMissingPermission( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectsMissingPermission(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1229,18 +1422,22 @@ public Builder setProjectsMissingPermission(
      * 
* * repeated string projects_missing_permission = 3; + * * @param value The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermission( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProjectsMissingPermission(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1248,18 +1445,19 @@ public Builder addProjectsMissingPermission(
      * 
* * repeated string projects_missing_permission = 3; + * * @param values The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addAllProjectsMissingPermission( - java.lang.Iterable values) { + public Builder addAllProjectsMissingPermission(java.lang.Iterable values) { ensureProjectsMissingPermissionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, projectsMissingPermission_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projectsMissingPermission_); onChanged(); return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1267,6 +1465,7 @@ public Builder addAllProjectsMissingPermission(
      * 
* * repeated string projects_missing_permission = 3; + * * @return This builder for chaining. */ public Builder clearProjectsMissingPermission() { @@ -1276,6 +1475,8 @@ public Builder clearProjectsMissingPermission() { return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1283,21 +1484,23 @@ public Builder clearProjectsMissingPermission() {
      * 
* * repeated string projects_missing_permission = 3; + * * @param value The bytes of the projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermissionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProjectsMissingPermissionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1307,12 +1510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.AbortInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.AbortInfo) private static final com.google.cloud.networkmanagement.v1.AbortInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.AbortInfo(); } @@ -1321,27 +1524,27 @@ public static com.google.cloud.networkmanagement.v1.AbortInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbortInfo 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 AbortInfo 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; @@ -1356,6 +1559,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.AbortInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java similarity index 74% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java index bf1dd1501aad..9c3c6469e585 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/AbortInfoOrBuilder.java @@ -1,52 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface AbortInfoOrBuilder extends +public interface AbortInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.AbortInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo.Cause cause = 1; + * * @return The cause. */ com.google.cloud.networkmanagement.v1.AbortInfo.Cause getCause(); /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -54,11 +83,13 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @return A list containing the projectsMissingPermission. */ - java.util.List - getProjectsMissingPermissionList(); + java.util.List getProjectsMissingPermissionList(); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -66,10 +97,13 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @return The count of projectsMissingPermission. */ int getProjectsMissingPermissionCount(); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -77,11 +111,14 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ java.lang.String getProjectsMissingPermission(int index); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -89,9 +126,9 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - com.google.protobuf.ByteString - getProjectsMissingPermissionBytes(int index); + com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java similarity index 70% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java index e0a343678008..a4ceef61b523 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CloudSQLInstanceInfo} */ -public final class CloudSQLInstanceInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudSQLInstanceInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) CloudSQLInstanceInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudSQLInstanceInfo.newBuilder() to construct. private CloudSQLInstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudSQLInstanceInfo() { displayName_ = ""; uri_ = ""; @@ -30,38 +48,43 @@ private CloudSQLInstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudSQLInstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -70,29 +93,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -101,14 +124,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -117,29 +144,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -148,15 +175,19 @@ public java.lang.String getUri() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ @java.lang.Override @@ -165,30 +196,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -197,14 +228,18 @@ public java.lang.String getNetworkUri() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ @java.lang.Override @@ -213,29 +248,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -244,14 +279,18 @@ public java.lang.String getInternalIp() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ @java.lang.Override @@ -260,29 +299,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -291,14 +330,18 @@ public java.lang.String getExternalIp() { } public static final int REGION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The region. */ @java.lang.Override @@ -307,29 +350,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -338,6 +381,7 @@ public java.lang.String getRegion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,8 +393,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -404,25 +447,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.networkmanagement.v1.CloudSQLInstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo other = (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo other = + (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -452,129 +490,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo 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.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CloudSQLInstanceInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.class, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.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(); @@ -589,9 +634,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override @@ -610,8 +655,11 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo result = new com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo result = + new com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -642,38 +690,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.CloudSQLInstanc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) other); } else { super.mergeFrom(other); return this; @@ -681,7 +730,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -738,42 +788,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + 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) { @@ -783,22 +840,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -807,20 +867,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -828,28 +889,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -859,17 +927,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -879,18 +951,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -899,20 +973,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -920,28 +995,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -951,17 +1033,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -971,19 +1057,21 @@ public Builder setUriBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -992,21 +1080,22 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1014,30 +1103,37 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1047,18 +1143,22 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1068,18 +1168,20 @@ public Builder setNetworkUriBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1088,20 +1190,21 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1109,28 +1212,35 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } internalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1140,17 +1250,21 @@ public Builder clearInternalIp() { return this; } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000008; @@ -1160,18 +1274,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1180,20 +1296,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1201,28 +1318,35 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1232,17 +1356,21 @@ public Builder clearExternalIp() { return this; } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000010; @@ -1252,18 +1380,20 @@ public Builder setExternalIpBytes( private java.lang.Object region_ = ""; /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1272,20 +1402,21 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1293,28 +1424,35 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1324,26 +1462,30 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1353,12 +1495,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) private static final com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo(); } @@ -1367,27 +1509,27 @@ public static com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSQLInstanceInfo 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 CloudSQLInstanceInfo 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; @@ -1402,6 +1544,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java similarity index 68% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java index 38e36f394a0c..d1dd06ea032b 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CloudSQLInstanceInfoOrBuilder.java @@ -1,131 +1,177 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface CloudSQLInstanceInfoOrBuilder extends +public interface CloudSQLInstanceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java index c6605e9cff20..36ff2afe1a4c 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * A Connectivity Test for a network reachability analysis.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ConnectivityTest} */ -public final class ConnectivityTest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConnectivityTest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ConnectivityTest) ConnectivityTestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConnectivityTest.newBuilder() to construct. private ConnectivityTest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConnectivityTest() { name_ = ""; description_ = ""; @@ -29,51 +47,55 @@ private ConnectivityTest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConnectivityTest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetLabels(); 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.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1.ConnectivityTest.class, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -82,30 +104,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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,15 +136,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -131,30 +157,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; } } /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -165,6 +191,8 @@ public java.lang.String getDescription() { public static final int SOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1.Endpoint source_; /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -185,7 +213,10 @@ public java.lang.String getDescription() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -193,6 +224,8 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -213,14 +246,21 @@ public boolean hasSource() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint getSource() { - return source_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : source_; } /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -241,16 +281,22 @@ public com.google.cloud.networkmanagement.v1.Endpoint getSource() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilder() { - return source_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : source_; } public static final int DESTINATION_FIELD_NUMBER = 4; private com.google.cloud.networkmanagement.v1.Endpoint destination_; /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -268,7 +314,10 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ @java.lang.Override @@ -276,6 +325,8 @@ public boolean hasDestination() { return destination_ != null; } /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -293,14 +344,21 @@ public boolean hasDestination() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint getDestination() { - return destination_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : destination_; } /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -318,22 +376,30 @@ public com.google.cloud.networkmanagement.v1.Endpoint getDestination() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrBuilder() { - return destination_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : destination_; } public static final int PROTOCOL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The protocol. */ @java.lang.Override @@ -342,29 +408,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -373,40 +439,49 @@ public java.lang.String getProtocol() { } public static final int RELATED_PROJECTS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList relatedProjects_; /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList - getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { return relatedProjects_; } /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -414,29 +489,35 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString - getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } public static final int DISPLAY_NAME_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ @java.lang.Override @@ -445,29 +526,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -476,32 +557,34 @@ public java.lang.String getDisplayName() { } public static final int LABELS_FIELD_NUMBER = 8; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_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.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_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(); } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -509,20 +592,21 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -534,6 +618,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -541,17 +627,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -559,11 +647,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -573,11 +661,15 @@ public java.lang.String getLabelsOrThrow( public static final int CREATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -585,11 +677,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -597,11 +693,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -611,11 +710,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -623,11 +726,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -635,11 +742,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -649,13 +759,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int REACHABILITY_DETAILS_FIELD_NUMBER = 12; private com.google.cloud.networkmanagement.v1.ReachabilityDetails reachabilityDetails_; /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the reachabilityDetails field is set. */ @java.lang.Override @@ -663,34 +778,49 @@ public boolean hasReachabilityDetails() { return reachabilityDetails_ != null; } /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reachabilityDetails. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails getReachabilityDetails() { - return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { - return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder + getReachabilityDetailsOrBuilder() { + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -702,8 +832,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_); } @@ -725,12 +854,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } @@ -756,12 +881,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSource()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDestination()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, protocol_); @@ -777,27 +900,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, displayName_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } if (reachabilityDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getReachabilityDetails()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(12, getReachabilityDetails()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -807,49 +928,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.ConnectivityTest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ConnectivityTest other = (com.google.cloud.networkmanagement.v1.ConnectivityTest) obj; + com.google.cloud.networkmanagement.v1.ConnectivityTest other = + (com.google.cloud.networkmanagement.v1.ConnectivityTest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination() - .equals(other.getDestination())) return false; - } - if (!getProtocol() - .equals(other.getProtocol())) return false; - if (!getRelatedProjectsList() - .equals(other.getRelatedProjectsList())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDestination().equals(other.getDestination())) return false; + } + if (!getProtocol().equals(other.getProtocol())) return false; + if (!getRelatedProjectsList().equals(other.getRelatedProjectsList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (hasReachabilityDetails() != other.hasReachabilityDetails()) return false; if (hasReachabilityDetails()) { - if (!getReachabilityDetails() - .equals(other.getReachabilityDetails())) return false; + if (!getReachabilityDetails().equals(other.getReachabilityDetails())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -904,151 +1015,156 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest 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.networkmanagement.v1.ConnectivityTest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ConnectivityTest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ConnectivityTest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.ConnectivityTest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Connectivity Test for a network reachability analysis.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ConnectivityTest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ConnectivityTest) com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 8: return internalGetMutableLabels(); 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.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1.ConnectivityTest.class, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ConnectivityTest.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(); @@ -1089,9 +1205,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_descriptor; } @java.lang.Override @@ -1110,14 +1226,18 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTest buildPartial() { - com.google.cloud.networkmanagement.v1.ConnectivityTest result = new com.google.cloud.networkmanagement.v1.ConnectivityTest(this); + com.google.cloud.networkmanagement.v1.ConnectivityTest result = + new com.google.cloud.networkmanagement.v1.ConnectivityTest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.ConnectivityTest result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.ConnectivityTest result) { if (((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = relatedProjects_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); @@ -1134,14 +1254,11 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ConnectivityTes result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.source_ = sourceBuilder_ == null - ? source_ - : sourceBuilder_.build(); + result.source_ = sourceBuilder_ == null ? source_ : sourceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.destination_ = destinationBuilder_ == null - ? destination_ - : destinationBuilder_.build(); + result.destination_ = + destinationBuilder_ == null ? destination_ : destinationBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.protocol_ = protocol_; @@ -1154,19 +1271,16 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ConnectivityTes result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.reachabilityDetails_ = reachabilityDetailsBuilder_ == null - ? reachabilityDetails_ - : reachabilityDetailsBuilder_.build(); + result.reachabilityDetails_ = + reachabilityDetailsBuilder_ == null + ? reachabilityDetails_ + : reachabilityDetailsBuilder_.build(); } } @@ -1174,38 +1288,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ConnectivityTes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ConnectivityTest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ConnectivityTest)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ConnectivityTest) other); } else { super.mergeFrom(other); return this; @@ -1213,7 +1328,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ConnectivityTest other) { - if (other == com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1250,8 +1366,7 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ConnectivityTest bitField0_ |= 0x00000040; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000080; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -1288,82 +1403,87 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getSourceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getDestinationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - protocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelatedProjectsIsMutable(); - relatedProjects_.add(s); - break; - } // case 50 - case 58: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: { - input.readMessage( - getReachabilityDetailsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - 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: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getSourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + protocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelatedProjectsIsMutable(); + relatedProjects_.add(s); + break; + } // case 50 + case 58: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: + { + input.readMessage( + getReachabilityDetailsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + 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) { @@ -1373,23 +1493,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -1398,21 +1521,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -1420,30 +1544,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1453,18 +1584,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -1474,19 +1609,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1495,21 +1632,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1517,30 +1655,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1550,18 +1695,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @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_ |= 0x00000002; @@ -1571,8 +1720,13 @@ public Builder setDescriptionBytes( private com.google.cloud.networkmanagement.v1.Endpoint source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> sourceBuilder_; + com.google.cloud.networkmanagement.v1.Endpoint, + com.google.cloud.networkmanagement.v1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1.EndpointOrBuilder> + sourceBuilder_; /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1593,13 +1747,18 @@ public Builder setDescriptionBytes(
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1620,17 +1779,24 @@ public boolean hasSource() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.networkmanagement.v1.Endpoint getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1651,7 +1817,9 @@ public com.google.cloud.networkmanagement.v1.Endpoint getSource() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.networkmanagement.v1.Endpoint value) { if (sourceBuilder_ == null) { @@ -1667,6 +1835,8 @@ public Builder setSource(com.google.cloud.networkmanagement.v1.Endpoint value) { return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1687,7 +1857,9 @@ public Builder setSource(com.google.cloud.networkmanagement.v1.Endpoint value) {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.networkmanagement.v1.Endpoint.Builder builderForValue) { @@ -1701,6 +1873,8 @@ public Builder setSource( return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1721,13 +1895,15 @@ public Builder setSource(
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.networkmanagement.v1.Endpoint value) { if (sourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - source_ != null && - source_ != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && source_ != null + && source_ != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { getSourceBuilder().mergeFrom(value); } else { source_ = value; @@ -1740,6 +1916,8 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1.Endpoint value) return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1760,7 +1938,9 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1.Endpoint value)
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1773,6 +1953,8 @@ public Builder clearSource() { return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1793,7 +1975,9 @@ public Builder clearSource() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getSourceBuilder() { bitField0_ |= 0x00000004; @@ -1801,6 +1985,8 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getSourceBuilder() return getSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1821,17 +2007,22 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getSourceBuilder()
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : source_; } } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1852,17 +2043,22 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1.Endpoint, + com.google.cloud.networkmanagement.v1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1.EndpointOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.Endpoint, + com.google.cloud.networkmanagement.v1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; @@ -1870,8 +2066,13 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde private com.google.cloud.networkmanagement.v1.Endpoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> destinationBuilder_; + com.google.cloud.networkmanagement.v1.Endpoint, + com.google.cloud.networkmanagement.v1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1.EndpointOrBuilder> + destinationBuilder_; /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -1889,13 +2090,18 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilde
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ public boolean hasDestination() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -1913,17 +2119,24 @@ public boolean hasDestination() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ public com.google.cloud.networkmanagement.v1.Endpoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : destination_; } else { return destinationBuilder_.getMessage(); } } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -1941,7 +2154,9 @@ public com.google.cloud.networkmanagement.v1.Endpoint getDestination() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestination(com.google.cloud.networkmanagement.v1.Endpoint value) { if (destinationBuilder_ == null) { @@ -1957,6 +2172,8 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1.Endpoint val return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -1974,7 +2191,9 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1.Endpoint val
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestination( com.google.cloud.networkmanagement.v1.Endpoint.Builder builderForValue) { @@ -1988,6 +2207,8 @@ public Builder setDestination( return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2005,13 +2226,16 @@ public Builder setDestination(
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDestination(com.google.cloud.networkmanagement.v1.Endpoint value) { if (destinationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - destination_ != null && - destination_ != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && destination_ != null + && destination_ + != com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance()) { getDestinationBuilder().mergeFrom(value); } else { destination_ = value; @@ -2024,6 +2248,8 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1.Endpoint v return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2041,7 +2267,9 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1.Endpoint v
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDestination() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2054,6 +2282,8 @@ public Builder clearDestination() { return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2071,7 +2301,9 @@ public Builder clearDestination() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getDestinationBuilder() { bitField0_ |= 0x00000008; @@ -2079,6 +2311,8 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getDestinationBuil return getDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2096,17 +2330,22 @@ public com.google.cloud.networkmanagement.v1.Endpoint.Builder getDestinationBuil
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null ? - com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1.Endpoint.getDefaultInstance() + : destination_; } } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2124,17 +2363,22 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrB
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1.Endpoint, + com.google.cloud.networkmanagement.v1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1.EndpointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Endpoint, com.google.cloud.networkmanagement.v1.Endpoint.Builder, com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( - getDestination(), - getParentForChildren(), - isClean()); + destinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.Endpoint, + com.google.cloud.networkmanagement.v1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1.EndpointOrBuilder>( + getDestination(), getParentForChildren(), isClean()); destination_ = null; } return destinationBuilder_; @@ -2142,18 +2386,20 @@ public com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrB private java.lang.Object protocol_ = ""; /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -2162,20 +2408,21 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -2183,28 +2430,35 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } protocol_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -2214,17 +2468,21 @@ public Builder clearProtocol() { return this; } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000010; @@ -2232,45 +2490,55 @@ public Builder setProtocolBytes( return this; } - private com.google.protobuf.LazyStringList relatedProjects_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList relatedProjects_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRelatedProjectsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = new com.google.protobuf.LazyStringArrayList(relatedProjects_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList - getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { return relatedProjects_.getUnmodifiableView(); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -2278,81 +2546,95 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString - getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param index The index to set the value at. * @param value The relatedProjects to set. * @return This builder for chaining. */ - public Builder setRelatedProjects( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelatedProjects(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRelatedProjectsIsMutable(); relatedProjects_.set(index, value); onChanged(); return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param value The relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjects( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelatedProjects(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); onChanged(); return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param values The relatedProjects to add. * @return This builder for chaining. */ - public Builder addAllRelatedProjects( - java.lang.Iterable values) { + public Builder addAllRelatedProjects(java.lang.Iterable values) { ensureRelatedProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relatedProjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedProjects_); onChanged(); return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @return This builder for chaining. */ public Builder clearRelatedProjects() { @@ -2362,18 +2644,22 @@ public Builder clearRelatedProjects() { return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param value The bytes of the relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjectsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); @@ -2383,18 +2669,20 @@ public Builder addRelatedProjectsBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2403,20 +2691,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2424,28 +2713,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2455,17 +2751,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000040; @@ -2473,21 +2773,19 @@ public Builder setDisplayNameBytes( return this; } - 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(); @@ -2496,10 +2794,13 @@ public Builder setDisplayNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2507,20 +2808,21 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2532,6 +2834,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2539,17 +2843,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2557,112 +2863,133 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - 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_ |= 0x00000080; return this; } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2678,14 +3005,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2696,17 +3026,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2719,11 +3053,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2736,11 +3074,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2748,36 +3090,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2785,39 +3139,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2833,14 +3206,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2851,17 +3227,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2874,11 +3254,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2891,11 +3275,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -2903,36 +3291,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2940,47 +3340,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.networkmanagement.v1.ReachabilityDetails reachabilityDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ReachabilityDetails, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> reachabilityDetailsBuilder_; + com.google.cloud.networkmanagement.v1.ReachabilityDetails, + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, + com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> + reachabilityDetailsBuilder_; /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the reachabilityDetails field is set. */ public boolean hasReachabilityDetails() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reachabilityDetails. */ public com.google.cloud.networkmanagement.v1.ReachabilityDetails getReachabilityDetails() { if (reachabilityDetailsBuilder_ == null) { - return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } else { return reachabilityDetailsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setReachabilityDetails(com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { + public Builder setReachabilityDetails( + com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2994,13 +3414,17 @@ public Builder setReachabilityDetails(com.google.cloud.networkmanagement.v1.Reac return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setReachabilityDetails( com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder builderForValue) { @@ -3014,19 +3438,25 @@ public Builder setReachabilityDetails( return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeReachabilityDetails(com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { + public Builder mergeReachabilityDetails( + com.google.cloud.networkmanagement.v1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - reachabilityDetails_ != null && - reachabilityDetails_ != com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && reachabilityDetails_ != null + && reachabilityDetails_ + != com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) { getReachabilityDetailsBuilder().mergeFrom(value); } else { reachabilityDetails_ = value; @@ -3039,13 +3469,17 @@ public Builder mergeReachabilityDetails(com.google.cloud.networkmanagement.v1.Re return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearReachabilityDetails() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3058,61 +3492,79 @@ public Builder clearReachabilityDetails() { return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder getReachabilityDetailsBuilder() { + public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder + getReachabilityDetailsBuilder() { bitField0_ |= 0x00000400; onChanged(); return getReachabilityDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { + public com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder + getReachabilityDetailsOrBuilder() { if (reachabilityDetailsBuilder_ != null) { return reachabilityDetailsBuilder_.getMessageOrBuilder(); } else { - return reachabilityDetails_ == null ? - com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ReachabilityDetails, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> + com.google.cloud.networkmanagement.v1.ReachabilityDetails, + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, + com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder> getReachabilityDetailsFieldBuilder() { if (reachabilityDetailsBuilder_ == null) { - reachabilityDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ReachabilityDetails, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder>( - getReachabilityDetails(), - getParentForChildren(), - isClean()); + reachabilityDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ReachabilityDetails, + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder, + com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder>( + getReachabilityDetails(), getParentForChildren(), isClean()); reachabilityDetails_ = null; } return reachabilityDetailsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3122,12 +3574,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ConnectivityTest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ConnectivityTest) private static final com.google.cloud.networkmanagement.v1.ConnectivityTest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ConnectivityTest(); } @@ -3136,27 +3588,27 @@ public static com.google.cloud.networkmanagement.v1.ConnectivityTest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectivityTest 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 ConnectivityTest 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; @@ -3171,6 +3623,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.ConnectivityTest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java index b27d6791fa26..1e9ece8090aa 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ConnectivityTestOrBuilder.java @@ -1,57 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; -public interface ConnectivityTestOrBuilder extends +public interface ConnectivityTestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ConnectivityTest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -72,11 +100,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -97,11 +130,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.networkmanagement.v1.Endpoint getSource(); /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -122,11 +160,15 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1.EndpointOrBuilder getSourceOrBuilder(); /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -144,11 +186,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ boolean hasDestination(); /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -166,11 +213,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ com.google.cloud.networkmanagement.v1.Endpoint getDestination(); /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -188,96 +240,120 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1.EndpointOrBuilder getDestinationOrBuilder(); /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The protocol. */ java.lang.String getProtocol(); /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The bytes for protocol. */ - com.google.protobuf.ByteString - getProtocolBytes(); + com.google.protobuf.ByteString getProtocolBytes(); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return A list containing the relatedProjects. */ - java.util.List - getRelatedProjectsList(); + java.util.List getRelatedProjectsList(); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return The count of relatedProjects. */ int getRelatedProjectsCount(); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ java.lang.String getRelatedProjects(int index); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - com.google.protobuf.ByteString - getRelatedProjectsBytes(int index); + com.google.protobuf.ByteString getRelatedProjectsBytes(int index); /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -286,30 +362,31 @@ public interface ConnectivityTestOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -317,104 +394,142 @@ boolean containsLabels( * map<string, string> labels = 8; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the reachabilityDetails field is set. */ boolean hasReachabilityDetails(); /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reachabilityDetails. */ com.google.cloud.networkmanagement.v1.ReachabilityDetails getReachabilityDetails(); /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder(); + com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder + getReachabilityDetailsOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java similarity index 65% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java index 3c4744eb62bd..91f610857a1b 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Request for the `CreateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CreateConnectivityTestRequest} */ -public final class CreateConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) CreateConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConnectivityTestRequest.newBuilder() to construct. private CreateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConnectivityTestRequest() { parent_ = ""; testId_ = ""; @@ -26,39 +44,44 @@ private CreateConnectivityTestRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,9 +122,12 @@ public java.lang.String getParent() { } public static final int TEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object testId_ = ""; /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -113,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The testId. */ @java.lang.Override @@ -121,14 +148,15 @@ public java.lang.String getTestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; } } /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -140,16 +168,15 @@ public java.lang.String getTestId() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for testId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTestIdBytes() { + public com.google.protobuf.ByteString getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); testId_ = b; return b; } else { @@ -160,11 +187,16 @@ public java.lang.String getTestId() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ @java.lang.Override @@ -172,30 +204,44 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { - return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +253,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +279,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, testId_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,21 +289,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.networkmanagement.v1.CreateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTestId() - .equals(other.getTestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTestId().equals(other.getTestId())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -286,129 +328,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `CreateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.CreateConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.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(); @@ -424,14 +475,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override @@ -445,13 +498,17 @@ public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest build @java.lang.Override public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -460,9 +517,7 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.CreateConnectiv result.testId_ = testId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resource_ = resourceBuilder_ == null - ? resource_ - : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); } } @@ -470,46 +525,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.CreateConnectiv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -549,29 +609,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - testId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getResourceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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: + { + testId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); + 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) { @@ -581,23 +643,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -606,21 +671,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -628,30 +694,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - 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. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -661,18 +734,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - 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; @@ -682,6 +759,8 @@ public Builder setParentBytes( private java.lang.Object testId_ = ""; /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -693,13 +772,13 @@ public Builder setParentBytes(
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The testId. */ public java.lang.String getTestId() { java.lang.Object ref = testId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; @@ -708,6 +787,8 @@ public java.lang.String getTestId() { } } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -719,15 +800,14 @@ public java.lang.String getTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for testId. */ - public com.google.protobuf.ByteString - getTestIdBytes() { + public com.google.protobuf.ByteString getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); testId_ = b; return b; } else { @@ -735,6 +815,8 @@ public java.lang.String getTestId() { } } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -746,18 +828,22 @@ public java.lang.String getTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The testId to set. * @return This builder for chaining. */ - public Builder setTestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } testId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -769,6 +855,7 @@ public Builder setTestId(
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTestId() { @@ -778,6 +865,8 @@ public Builder clearTestId() { return this; } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -789,12 +878,14 @@ public Builder clearTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for testId to set. * @return This builder for chaining. */ - public Builder setTestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); testId_ = value; bitField0_ |= 0x00000002; @@ -804,39 +895,58 @@ public Builder setTestIdBytes( private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> resourceBuilder_; + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + resourceBuilder_; /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -852,11 +962,15 @@ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTes return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource( com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder builderForValue) { @@ -870,17 +984,22 @@ public Builder setResource( return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - resource_ != null && - resource_ != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && resource_ != null + && resource_ + != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -893,11 +1012,15 @@ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityT return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -910,11 +1033,15 @@ public Builder clearResource() { return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourceBuilder() { bitField0_ |= 0x00000004; @@ -922,43 +1049,55 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,41 +1107,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectivityTestRequest 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 CreateConnectivityTestRequest 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; @@ -1014,9 +1155,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java index b6ff2a6f0fa0..dfd758e290a7 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/CreateConnectivityTestRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface CreateConnectivityTestRequestOrBuilder extends +public interface CreateConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.CreateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -41,10 +64,13 @@ public interface CreateConnectivityTestRequestOrBuilder extends
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The testId. */ java.lang.String getTestId(); /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -56,35 +82,49 @@ public interface CreateConnectivityTestRequestOrBuilder extends
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for testId. */ - com.google.protobuf.ByteString - getTestIdBytes(); + com.google.protobuf.ByteString getTestIdBytes(); /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ com.google.cloud.networkmanagement.v1.ConnectivityTest getResource(); /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java similarity index 63% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java index f694c1d088b8..11609437e0eb 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequest.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Request for the `DeleteConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest} */ -public final class DeleteConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) DeleteConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConnectivityTestRequest.newBuilder() to construct. private DeleteConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,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_); } @@ -134,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.networkmanagement.v1.DeleteConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `DeleteConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.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(); @@ -294,14 +326,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override @@ -315,13 +349,17 @@ public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest build @java.lang.Override public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +370,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.DeleteConnectiv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +446,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) { @@ -423,23 +468,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -448,21 +496,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -470,30 +519,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +559,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +593,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectivityTestRequest 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 DeleteConnectivityTestRequest 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; @@ -579,9 +641,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java index 0edb384a98a5..07a2d1482174 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeleteConnectivityTestRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface DeleteConnectivityTestRequestOrBuilder extends +public interface DeleteConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java similarity index 68% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java index c83395dee15d..bb8e900e20b3 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Details of the final state "deliver" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeliverInfo} */ -public final class DeliverInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeliverInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.DeliverInfo) DeliverInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeliverInfo.newBuilder() to construct. private DeliverInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeliverInfo() { target_ = 0; resourceUri_ = ""; @@ -26,39 +44,43 @@ private DeliverInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeliverInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeliverInfo.class, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DeliverInfo.class, + com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); } /** + * + * *
    * Deliver target types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.DeliverInfo.Target} */ - public enum Target - implements com.google.protobuf.ProtocolMessageEnum { + public enum Target implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Target not specified.
      * 
@@ -67,6 +89,8 @@ public enum Target */ TARGET_UNSPECIFIED(0), /** + * + * *
      * Target is a Compute Engine instance.
      * 
@@ -75,6 +99,8 @@ public enum Target */ INSTANCE(1), /** + * + * *
      * Target is the internet.
      * 
@@ -83,6 +109,8 @@ public enum Target */ INTERNET(2), /** + * + * *
      * Target is a Google API.
      * 
@@ -91,6 +119,8 @@ public enum Target */ GOOGLE_API(3), /** + * + * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -99,6 +129,8 @@ public enum Target */ GKE_MASTER(4), /** + * + * *
      * Target is a Cloud SQL instance.
      * 
@@ -110,6 +142,8 @@ public enum Target ; /** + * + * *
      * Target not specified.
      * 
@@ -118,6 +152,8 @@ public enum Target */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Target is a Compute Engine instance.
      * 
@@ -126,6 +162,8 @@ public enum Target */ public static final int INSTANCE_VALUE = 1; /** + * + * *
      * Target is the internet.
      * 
@@ -134,6 +172,8 @@ public enum Target */ public static final int INTERNET_VALUE = 2; /** + * + * *
      * Target is a Google API.
      * 
@@ -142,6 +182,8 @@ public enum Target */ public static final int GOOGLE_API_VALUE = 3; /** + * + * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -150,6 +192,8 @@ public enum Target */ public static final int GKE_MASTER_VALUE = 4; /** + * + * *
      * Target is a Cloud SQL instance.
      * 
@@ -158,7 +202,6 @@ public enum Target */ public static final int CLOUD_SQL_INSTANCE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -183,52 +226,57 @@ public static Target valueOf(int value) { */ public static Target forNumber(int value) { switch (value) { - case 0: return TARGET_UNSPECIFIED; - case 1: return INSTANCE; - case 2: return INTERNET; - case 3: return GOOGLE_API; - case 4: return GKE_MASTER; - case 5: return CLOUD_SQL_INSTANCE; - default: return null; + case 0: + return TARGET_UNSPECIFIED; + case 1: + return INSTANCE; + case 2: + return INTERNET; + case 3: + return GOOGLE_API; + case 4: + return GKE_MASTER; + case 5: + return CLOUD_SQL_INSTANCE; + 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< - Target> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Target findValueByNumber(int number) { - return Target.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 Target findValueByNumber(int number) { + return Target.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.networkmanagement.v1.DeliverInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.DeliverInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Target[] VALUES = values(); - public static Target valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Target 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; @@ -248,38 +296,53 @@ private Target(int value) { public static final int TARGET_FIELD_NUMBER = 1; private int target_ = 0; /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return The target. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = + com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -288,29 +351,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -319,6 +382,7 @@ public java.lang.String getResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,9 +394,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (target_ != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (target_ + != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -347,9 +412,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, target_); + if (target_ + != com.google.cloud.networkmanagement.v1.DeliverInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -362,16 +428,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.networkmanagement.v1.DeliverInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.DeliverInfo other = (com.google.cloud.networkmanagement.v1.DeliverInfo) obj; + com.google.cloud.networkmanagement.v1.DeliverInfo other = + (com.google.cloud.networkmanagement.v1.DeliverInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,129 +459,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DeliverInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo 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.networkmanagement.v1.DeliverInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DeliverInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.DeliverInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "deliver" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DeliverInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.DeliverInfo) com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DeliverInfo.class, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DeliverInfo.class, + com.google.cloud.networkmanagement.v1.DeliverInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.DeliverInfo.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(); @@ -526,9 +598,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor; } @java.lang.Override @@ -547,8 +619,11 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo buildPartial() { - com.google.cloud.networkmanagement.v1.DeliverInfo result = new com.google.cloud.networkmanagement.v1.DeliverInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.DeliverInfo result = + new com.google.cloud.networkmanagement.v1.DeliverInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -567,38 +642,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.DeliverInfo 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.networkmanagement.v1.DeliverInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.DeliverInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.DeliverInfo) other); } else { super.mergeFrom(other); return this; @@ -606,7 +682,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.DeliverInfo other) { - if (other == com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) + return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -641,22 +718,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = 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) { @@ -666,26 +746,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int target_ = 0; /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -696,24 +784,33 @@ public Builder setTargetValue(int value) { return this; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.DeliverInfo.Target result = + com.google.cloud.networkmanagement.v1.DeliverInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1.DeliverInfo.Target.UNRECOGNIZED + : result; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @param value The target to set. * @return This builder for chaining. */ @@ -727,11 +824,14 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1.DeliverInfo.Targe return this; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -743,18 +843,20 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -763,20 +865,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -784,28 +887,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -815,26 +925,30 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -844,12 +958,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.DeliverInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.DeliverInfo) private static final com.google.cloud.networkmanagement.v1.DeliverInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.DeliverInfo(); } @@ -858,27 +972,27 @@ public static com.google.cloud.networkmanagement.v1.DeliverInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeliverInfo 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 DeliverInfo 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; @@ -893,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.DeliverInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java similarity index 61% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java index 150a4f1563a4..8dbd4a695493 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DeliverInfoOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface DeliverInfoOrBuilder extends +public interface DeliverInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.DeliverInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo.Target target = 1; + * * @return The target. */ com.google.cloud.networkmanagement.v1.DeliverInfo.Target getTarget(); /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java similarity index 74% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java index d1c25815d8f8..18e08359c12e 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Details of the final state "drop" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DropInfo} */ -public final class DropInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DropInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.DropInfo) DropInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DropInfo.newBuilder() to construct. private DropInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DropInfo() { cause_ = 0; resourceUri_ = ""; @@ -26,39 +44,43 @@ private DropInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DropInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DropInfo.class, com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DropInfo.class, + com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); } /** + * + * *
    * Drop cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.DropInfo.Cause} */ - public enum Cause - implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Cause is unspecified.
      * 
@@ -67,6 +89,8 @@ public enum Cause */ CAUSE_UNSPECIFIED(0), /** + * + * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -77,6 +101,8 @@ public enum Cause
      */
     UNKNOWN_EXTERNAL_ADDRESS(1),
     /**
+     *
+     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -86,6 +112,8 @@ public enum Cause
      */
     FOREIGN_IP_DISALLOWED(2),
     /**
+     *
+     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -95,6 +123,8 @@ public enum Cause
      */
     FIREWALL_RULE(3),
     /**
+     *
+     *
      * 
      * Dropped due to no routes.
      * 
@@ -103,6 +133,8 @@ public enum Cause */ NO_ROUTE(4), /** + * + * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -111,6 +143,8 @@ public enum Cause */ ROUTE_BLACKHOLE(5), /** + * + * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -121,6 +155,8 @@ public enum Cause
      */
     ROUTE_WRONG_NETWORK(6),
     /**
+     *
+     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -129,6 +165,8 @@ public enum Cause */ PRIVATE_TRAFFIC_TO_INTERNET(7), /** + * + * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -138,6 +176,8 @@ public enum Cause
      */
     PRIVATE_GOOGLE_ACCESS_DISALLOWED(8),
     /**
+     *
+     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -148,6 +188,8 @@ public enum Cause
      */
     NO_EXTERNAL_ADDRESS(9),
     /**
+     *
+     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -159,6 +201,8 @@ public enum Cause
      */
     UNKNOWN_INTERNAL_ADDRESS(10),
     /**
+     *
+     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -167,6 +211,8 @@ public enum Cause */ FORWARDING_RULE_MISMATCH(11), /** + * + * *
      * Forwarding rule does not have backends configured.
      * 
@@ -175,6 +221,8 @@ public enum Cause */ FORWARDING_RULE_NO_INSTANCES(12), /** + * + * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -186,6 +234,8 @@ public enum Cause
      */
     FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK(13),
     /**
+     *
+     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -195,6 +245,8 @@ public enum Cause
      */
     INSTANCE_NOT_RUNNING(14),
     /**
+     *
+     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -206,6 +258,8 @@ public enum Cause
      */
     TRAFFIC_TYPE_BLOCKED(15),
     /**
+     *
+     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -217,6 +271,8 @@ public enum Cause
      */
     GKE_MASTER_UNAUTHORIZED_ACCESS(16),
     /**
+     *
+     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -228,6 +284,8 @@ public enum Cause
      */
     CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS(17),
     /**
+     *
+     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -236,6 +294,8 @@ public enum Cause */ DROPPED_INSIDE_GKE_SERVICE(18), /** + * + * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -244,6 +304,8 @@ public enum Cause */ DROPPED_INSIDE_CLOUD_SQL_SERVICE(19), /** + * + * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -253,6 +315,8 @@ public enum Cause
      */
     GOOGLE_MANAGED_SERVICE_NO_PEERING(20),
     /**
+     *
+     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -265,6 +329,8 @@ public enum Cause
     ;
 
     /**
+     *
+     *
      * 
      * Cause is unspecified.
      * 
@@ -273,6 +339,8 @@ public enum Cause */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -283,6 +351,8 @@ public enum Cause
      */
     public static final int UNKNOWN_EXTERNAL_ADDRESS_VALUE = 1;
     /**
+     *
+     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -292,6 +362,8 @@ public enum Cause
      */
     public static final int FOREIGN_IP_DISALLOWED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -301,6 +373,8 @@ public enum Cause
      */
     public static final int FIREWALL_RULE_VALUE = 3;
     /**
+     *
+     *
      * 
      * Dropped due to no routes.
      * 
@@ -309,6 +383,8 @@ public enum Cause */ public static final int NO_ROUTE_VALUE = 4; /** + * + * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -317,6 +393,8 @@ public enum Cause */ public static final int ROUTE_BLACKHOLE_VALUE = 5; /** + * + * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -327,6 +405,8 @@ public enum Cause
      */
     public static final int ROUTE_WRONG_NETWORK_VALUE = 6;
     /**
+     *
+     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -335,6 +415,8 @@ public enum Cause */ public static final int PRIVATE_TRAFFIC_TO_INTERNET_VALUE = 7; /** + * + * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -344,6 +426,8 @@ public enum Cause
      */
     public static final int PRIVATE_GOOGLE_ACCESS_DISALLOWED_VALUE = 8;
     /**
+     *
+     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -354,6 +438,8 @@ public enum Cause
      */
     public static final int NO_EXTERNAL_ADDRESS_VALUE = 9;
     /**
+     *
+     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -365,6 +451,8 @@ public enum Cause
      */
     public static final int UNKNOWN_INTERNAL_ADDRESS_VALUE = 10;
     /**
+     *
+     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -373,6 +461,8 @@ public enum Cause */ public static final int FORWARDING_RULE_MISMATCH_VALUE = 11; /** + * + * *
      * Forwarding rule does not have backends configured.
      * 
@@ -381,6 +471,8 @@ public enum Cause */ public static final int FORWARDING_RULE_NO_INSTANCES_VALUE = 12; /** + * + * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -392,6 +484,8 @@ public enum Cause
      */
     public static final int FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK_VALUE = 13;
     /**
+     *
+     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -401,6 +495,8 @@ public enum Cause
      */
     public static final int INSTANCE_NOT_RUNNING_VALUE = 14;
     /**
+     *
+     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -412,6 +508,8 @@ public enum Cause
      */
     public static final int TRAFFIC_TYPE_BLOCKED_VALUE = 15;
     /**
+     *
+     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -423,6 +521,8 @@ public enum Cause
      */
     public static final int GKE_MASTER_UNAUTHORIZED_ACCESS_VALUE = 16;
     /**
+     *
+     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -434,6 +534,8 @@ public enum Cause
      */
     public static final int CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS_VALUE = 17;
     /**
+     *
+     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -442,6 +544,8 @@ public enum Cause */ public static final int DROPPED_INSIDE_GKE_SERVICE_VALUE = 18; /** + * + * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -450,6 +554,8 @@ public enum Cause */ public static final int DROPPED_INSIDE_CLOUD_SQL_SERVICE_VALUE = 19; /** + * + * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -459,6 +565,8 @@ public enum Cause
      */
     public static final int GOOGLE_MANAGED_SERVICE_NO_PEERING_VALUE = 20;
     /**
+     *
+     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -468,7 +576,6 @@ public enum Cause
      */
     public static final int CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE = 21;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -493,68 +600,87 @@ public static Cause valueOf(int value) {
      */
     public static Cause forNumber(int value) {
       switch (value) {
-        case 0: return CAUSE_UNSPECIFIED;
-        case 1: return UNKNOWN_EXTERNAL_ADDRESS;
-        case 2: return FOREIGN_IP_DISALLOWED;
-        case 3: return FIREWALL_RULE;
-        case 4: return NO_ROUTE;
-        case 5: return ROUTE_BLACKHOLE;
-        case 6: return ROUTE_WRONG_NETWORK;
-        case 7: return PRIVATE_TRAFFIC_TO_INTERNET;
-        case 8: return PRIVATE_GOOGLE_ACCESS_DISALLOWED;
-        case 9: return NO_EXTERNAL_ADDRESS;
-        case 10: return UNKNOWN_INTERNAL_ADDRESS;
-        case 11: return FORWARDING_RULE_MISMATCH;
-        case 12: return FORWARDING_RULE_NO_INSTANCES;
-        case 13: return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK;
-        case 14: return INSTANCE_NOT_RUNNING;
-        case 15: return TRAFFIC_TYPE_BLOCKED;
-        case 16: return GKE_MASTER_UNAUTHORIZED_ACCESS;
-        case 17: return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS;
-        case 18: return DROPPED_INSIDE_GKE_SERVICE;
-        case 19: return DROPPED_INSIDE_CLOUD_SQL_SERVICE;
-        case 20: return GOOGLE_MANAGED_SERVICE_NO_PEERING;
-        case 21: return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS;
-        default: return null;
+        case 0:
+          return CAUSE_UNSPECIFIED;
+        case 1:
+          return UNKNOWN_EXTERNAL_ADDRESS;
+        case 2:
+          return FOREIGN_IP_DISALLOWED;
+        case 3:
+          return FIREWALL_RULE;
+        case 4:
+          return NO_ROUTE;
+        case 5:
+          return ROUTE_BLACKHOLE;
+        case 6:
+          return ROUTE_WRONG_NETWORK;
+        case 7:
+          return PRIVATE_TRAFFIC_TO_INTERNET;
+        case 8:
+          return PRIVATE_GOOGLE_ACCESS_DISALLOWED;
+        case 9:
+          return NO_EXTERNAL_ADDRESS;
+        case 10:
+          return UNKNOWN_INTERNAL_ADDRESS;
+        case 11:
+          return FORWARDING_RULE_MISMATCH;
+        case 12:
+          return FORWARDING_RULE_NO_INSTANCES;
+        case 13:
+          return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK;
+        case 14:
+          return INSTANCE_NOT_RUNNING;
+        case 15:
+          return TRAFFIC_TYPE_BLOCKED;
+        case 16:
+          return GKE_MASTER_UNAUTHORIZED_ACCESS;
+        case 17:
+          return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS;
+        case 18:
+          return DROPPED_INSIDE_GKE_SERVICE;
+        case 19:
+          return DROPPED_INSIDE_CLOUD_SQL_SERVICE;
+        case 20:
+          return GOOGLE_MANAGED_SERVICE_NO_PEERING;
+        case 21:
+          return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS;
+        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<
-        Cause> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Cause findValueByNumber(int number) {
-              return Cause.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 Cause findValueByNumber(int number) {
+            return Cause.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.networkmanagement.v1.DropInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Cause[] VALUES = values();
 
-    public static Cause valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Cause 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;
@@ -574,38 +700,53 @@ private Cause(int value) {
   public static final int CAUSE_FIELD_NUMBER = 1;
   private int cause_ = 0;
   /**
+   *
+   *
    * 
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return The cause. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1.DropInfo.Cause result = + com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -614,29 +755,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -645,6 +786,7 @@ public java.lang.String getResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -656,9 +798,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (cause_ != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (cause_ + != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -673,9 +815,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cause_); + if (cause_ + != com.google.cloud.networkmanagement.v1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -688,16 +830,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.networkmanagement.v1.DropInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.DropInfo other = (com.google.cloud.networkmanagement.v1.DropInfo) obj; + com.google.cloud.networkmanagement.v1.DropInfo other = + (com.google.cloud.networkmanagement.v1.DropInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -718,130 +860,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.DropInfo 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.networkmanagement.v1.DropInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.DropInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.DropInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DropInfo 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.networkmanagement.v1.DropInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.DropInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.DropInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "drop" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.DropInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.DropInfo) com.google.cloud.networkmanagement.v1.DropInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.DropInfo.class, com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1.DropInfo.class, + com.google.cloud.networkmanagement.v1.DropInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.DropInfo.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(); @@ -852,9 +1000,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor; } @java.lang.Override @@ -873,8 +1021,11 @@ public com.google.cloud.networkmanagement.v1.DropInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo buildPartial() { - com.google.cloud.networkmanagement.v1.DropInfo result = new com.google.cloud.networkmanagement.v1.DropInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.DropInfo result = + new com.google.cloud.networkmanagement.v1.DropInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -893,38 +1044,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.DropInfo 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.networkmanagement.v1.DropInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.DropInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.DropInfo) other); } else { super.mergeFrom(other); return this; @@ -967,22 +1119,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = 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) { @@ -992,26 +1147,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int cause_ = 0; /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1022,24 +1185,33 @@ public Builder setCauseValue(int value) { return this; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.DropInfo.Cause result = + com.google.cloud.networkmanagement.v1.DropInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1.DropInfo.Cause.UNRECOGNIZED + : result; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @param value The cause to set. * @return This builder for chaining. */ @@ -1053,11 +1225,14 @@ public Builder setCause(com.google.cloud.networkmanagement.v1.DropInfo.Cause val return this; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return This builder for chaining. */ public Builder clearCause() { @@ -1069,18 +1244,20 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1089,20 +1266,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1110,28 +1288,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1141,26 +1326,30 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -1170,12 +1359,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.DropInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.DropInfo) private static final com.google.cloud.networkmanagement.v1.DropInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.DropInfo(); } @@ -1184,27 +1373,27 @@ public static com.google.cloud.networkmanagement.v1.DropInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropInfo 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 DropInfo 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; @@ -1219,6 +1408,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.DropInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java similarity index 60% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java index 7a77128e95b6..bd2faa520585 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/DropInfoOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface DropInfoOrBuilder extends +public interface DropInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.DropInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo.Cause cause = 1; + * * @return The cause. */ com.google.cloud.networkmanagement.v1.DropInfo.Cause getCause(); /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java similarity index 74% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java index 2cc07d3fc60a..f79605ab8dd0 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Endpoint.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Source or destination of the Connectivity Test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.Endpoint} */ -public final class Endpoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.Endpoint) EndpointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Endpoint.newBuilder() to construct. private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Endpoint() { ipAddress_ = ""; instance_ = ""; @@ -31,30 +49,33 @@ private Endpoint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Endpoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.Endpoint.class, com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1.Endpoint.class, + com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); } /** + * + * *
    * The type definition of an endpoint's network. Use one of the
    * following choices:
@@ -62,9 +83,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1.Endpoint.NetworkType}
    */
-  public enum NetworkType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default type if unspecified.
      * 
@@ -73,6 +95,8 @@ public enum NetworkType */ NETWORK_TYPE_UNSPECIFIED(0), /** + * + * *
      * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
@@ -83,6 +107,8 @@ public enum NetworkType
      */
     GCP_NETWORK(1),
     /**
+     *
+     *
      * 
      * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
@@ -96,6 +122,8 @@ public enum NetworkType
     ;
 
     /**
+     *
+     *
      * 
      * Default type if unspecified.
      * 
@@ -104,6 +132,8 @@ public enum NetworkType */ public static final int NETWORK_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
@@ -114,6 +144,8 @@ public enum NetworkType
      */
     public static final int GCP_NETWORK_VALUE = 1;
     /**
+     *
+     *
      * 
      * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
@@ -124,7 +156,6 @@ public enum NetworkType
      */
     public static final int NON_GCP_NETWORK_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -149,49 +180,49 @@ public static NetworkType valueOf(int value) {
      */
     public static NetworkType forNumber(int value) {
       switch (value) {
-        case 0: return NETWORK_TYPE_UNSPECIFIED;
-        case 1: return GCP_NETWORK;
-        case 2: return NON_GCP_NETWORK;
-        default: return null;
+        case 0:
+          return NETWORK_TYPE_UNSPECIFIED;
+        case 1:
+          return GCP_NETWORK;
+        case 2:
+          return NON_GCP_NETWORK;
+        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<
-        NetworkType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NetworkType findValueByNumber(int number) {
-              return NetworkType.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 NetworkType findValueByNumber(int number) {
+            return NetworkType.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.networkmanagement.v1.Endpoint.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final NetworkType[] VALUES = values();
 
-    public static NetworkType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NetworkType 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;
@@ -209,9 +240,12 @@ private NetworkType(int value) {
   }
 
   public static final int IP_ADDRESS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object ipAddress_ = "";
   /**
+   *
+   *
    * 
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -219,6 +253,7 @@ private NetworkType(int value) {
    * 
* * string ip_address = 1; + * * @return The ipAddress. */ @java.lang.Override @@ -227,14 +262,15 @@ 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 the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -242,16 +278,15 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 1; + * * @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 { @@ -262,12 +297,15 @@ public java.lang.String getIpAddress() { public static final int PORT_FIELD_NUMBER = 2; private int port_ = 0; /** + * + * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; + * * @return The port. */ @java.lang.Override @@ -276,14 +314,18 @@ public int getPort() { } public static final int INSTANCE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object instance_ = ""; /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -292,29 +334,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -323,15 +365,19 @@ public java.lang.String getInstance() { } public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object gkeMasterCluster_ = ""; /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The gkeMasterCluster. */ @java.lang.Override @@ -340,30 +386,30 @@ public java.lang.String getGkeMasterCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; } } /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The bytes for gkeMasterCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -372,14 +418,18 @@ public java.lang.String getGkeMasterCluster() { } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object cloudSqlInstance_ = ""; /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The cloudSqlInstance. */ @java.lang.Override @@ -388,29 +438,29 @@ public java.lang.String getCloudSqlInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; } } /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The bytes for cloudSqlInstance. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -419,14 +469,18 @@ public java.lang.String getCloudSqlInstance() { } public static final int NETWORK_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @return The network. */ @java.lang.Override @@ -435,29 +489,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; } } /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @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 { @@ -468,6 +522,8 @@ public java.lang.String getNetwork() { public static final int NETWORK_TYPE_FIELD_NUMBER = 5; private int networkType_ = 0; /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -475,12 +531,16 @@ public java.lang.String getNetwork() {
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override public int getNetworkTypeValue() { + @java.lang.Override + public int getNetworkTypeValue() { return networkType_; } /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -488,17 +548,25 @@ public java.lang.String getNetwork() {
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return The networkType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); - return result == null ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType() { + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); + return result == null + ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED + : result; } public static final int PROJECT_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -512,6 +580,7 @@ public java.lang.String getNetwork() {
    * 
* * string project_id = 6; + * * @return The projectId. */ @java.lang.Override @@ -520,14 +589,15 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -541,16 +611,15 @@ public java.lang.String getProjectId() {
    * 
* * string project_id = 6; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -559,6 +628,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -570,8 +640,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(ipAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddress_); } @@ -584,7 +653,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, network_); } - if (networkType_ != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { + if (networkType_ + != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { @@ -609,8 +680,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ipAddress_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, port_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instance_); @@ -618,9 +688,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, network_); } - if (networkType_ != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, networkType_); + if (networkType_ + != com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, projectId_); @@ -639,28 +710,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.networkmanagement.v1.Endpoint)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.Endpoint other = (com.google.cloud.networkmanagement.v1.Endpoint) obj; - - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (getPort() - != other.getPort()) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getGkeMasterCluster() - .equals(other.getGkeMasterCluster())) return false; - if (!getCloudSqlInstance() - .equals(other.getCloudSqlInstance())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; + com.google.cloud.networkmanagement.v1.Endpoint other = + (com.google.cloud.networkmanagement.v1.Endpoint) obj; + + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (getPort() != other.getPort()) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false; + if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; if (networkType_ != other.networkType_) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -693,130 +758,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.Endpoint 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.networkmanagement.v1.Endpoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Endpoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.Endpoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.Endpoint 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.networkmanagement.v1.Endpoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.Endpoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.Endpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Source or destination of the Connectivity Test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.Endpoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.Endpoint) com.google.cloud.networkmanagement.v1.EndpointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.Endpoint.class, com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1.Endpoint.class, + com.google.cloud.networkmanagement.v1.Endpoint.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.Endpoint.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(); @@ -833,9 +904,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; } @java.lang.Override @@ -854,8 +925,11 @@ public com.google.cloud.networkmanagement.v1.Endpoint build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint buildPartial() { - com.google.cloud.networkmanagement.v1.Endpoint result = new com.google.cloud.networkmanagement.v1.Endpoint(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.Endpoint result = + new com.google.cloud.networkmanagement.v1.Endpoint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -892,38 +966,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Endpoint 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.networkmanagement.v1.Endpoint) { - return mergeFrom((com.google.cloud.networkmanagement.v1.Endpoint)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.Endpoint) other); } else { super.mergeFrom(other); return this; @@ -994,52 +1069,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - port_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - instance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 40: { - networkType_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 40 - case 50: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 58: { - gkeMasterCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 58 - case 66: { - cloudSqlInstance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + port_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + instance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 40: + { + networkType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 40 + case 50: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 58: + { + gkeMasterCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 58 + case 66: + { + cloudSqlInstance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + 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) { @@ -1049,10 +1133,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object ipAddress_ = ""; /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1060,13 +1147,13 @@ public Builder mergeFrom(
      * 
* * string ip_address = 1; + * * @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; @@ -1075,6 +1162,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1082,15 +1171,14 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 1; + * * @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 { @@ -1098,6 +1186,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1105,18 +1195,22 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1124,6 +1218,7 @@ public Builder setIpAddress(
      * 
* * string ip_address = 1; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1133,6 +1228,8 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1140,12 +1237,14 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 1; + * * @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_ |= 0x00000001; @@ -1153,14 +1252,17 @@ public Builder setIpAddressBytes( return this; } - private int port_ ; + private int port_; /** + * + * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; + * * @return The port. */ @java.lang.Override @@ -1168,29 +1270,35 @@ public int getPort() { return port_; } /** + * + * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; + * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; + * * @return This builder for chaining. */ public Builder clearPort() { @@ -1202,18 +1310,20 @@ public Builder clearPort() { private java.lang.Object instance_ = ""; /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1222,20 +1332,21 @@ public java.lang.String getInstance() { } } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1243,28 +1354,35 @@ public java.lang.String getInstance() { } } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstance(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instance_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { @@ -1274,17 +1392,21 @@ public Builder clearInstance() { return this; } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instance_ = value; bitField0_ |= 0x00000004; @@ -1294,19 +1416,21 @@ public Builder setInstanceBytes( private java.lang.Object gkeMasterCluster_ = ""; /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @return The gkeMasterCluster. */ public java.lang.String getGkeMasterCluster() { java.lang.Object ref = gkeMasterCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; @@ -1315,21 +1439,22 @@ public java.lang.String getGkeMasterCluster() { } } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @return The bytes for gkeMasterCluster. */ - public com.google.protobuf.ByteString - getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -1337,30 +1462,37 @@ public java.lang.String getGkeMasterCluster() { } } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @param value The gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGkeMasterCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } gkeMasterCluster_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @return This builder for chaining. */ public Builder clearGkeMasterCluster() { @@ -1370,18 +1502,22 @@ public Builder clearGkeMasterCluster() { return this; } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @param value The bytes for gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); gkeMasterCluster_ = value; bitField0_ |= 0x00000008; @@ -1391,18 +1527,20 @@ public Builder setGkeMasterClusterBytes( private java.lang.Object cloudSqlInstance_ = ""; /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @return The cloudSqlInstance. */ public java.lang.String getCloudSqlInstance() { java.lang.Object ref = cloudSqlInstance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; @@ -1411,20 +1549,21 @@ public java.lang.String getCloudSqlInstance() { } } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @return The bytes for cloudSqlInstance. */ - public com.google.protobuf.ByteString - getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -1432,28 +1571,35 @@ public java.lang.String getCloudSqlInstance() { } } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @param value The cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstance( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCloudSqlInstance(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cloudSqlInstance_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @return This builder for chaining. */ public Builder clearCloudSqlInstance() { @@ -1463,17 +1609,21 @@ public Builder clearCloudSqlInstance() { return this; } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @param value The bytes for cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstanceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cloudSqlInstance_ = value; bitField0_ |= 0x00000010; @@ -1483,18 +1633,20 @@ public Builder setCloudSqlInstanceBytes( private java.lang.Object network_ = ""; /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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; @@ -1503,20 +1655,21 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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 { @@ -1524,28 +1677,35 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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; } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1555,17 +1715,21 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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; @@ -1575,6 +1739,8 @@ public Builder setNetworkBytes( private int networkType_ = 0; /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1582,12 +1748,16 @@ public Builder setNetworkBytes(
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override public int getNetworkTypeValue() { + @java.lang.Override + public int getNetworkTypeValue() { return networkType_; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1595,6 +1765,7 @@ public Builder setNetworkBytes(
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @param value The enum numeric value on the wire for networkType to set. * @return This builder for chaining. */ @@ -1605,6 +1776,8 @@ public Builder setNetworkTypeValue(int value) { return this; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1612,14 +1785,20 @@ public Builder setNetworkTypeValue(int value) {
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return The networkType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); - return result == null ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType result = + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.forNumber(networkType_); + return result == null + ? com.google.cloud.networkmanagement.v1.Endpoint.NetworkType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1627,10 +1806,12 @@ public com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @param value The networkType to set. * @return This builder for chaining. */ - public Builder setNetworkType(com.google.cloud.networkmanagement.v1.Endpoint.NetworkType value) { + public Builder setNetworkType( + com.google.cloud.networkmanagement.v1.Endpoint.NetworkType value) { if (value == null) { throw new NullPointerException(); } @@ -1640,6 +1821,8 @@ public Builder setNetworkType(com.google.cloud.networkmanagement.v1.Endpoint.Net return this; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -1647,6 +1830,7 @@ public Builder setNetworkType(com.google.cloud.networkmanagement.v1.Endpoint.Net
      * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return This builder for chaining. */ public Builder clearNetworkType() { @@ -1658,6 +1842,8 @@ public Builder clearNetworkType() { private java.lang.Object projectId_ = ""; /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1671,13 +1857,13 @@ public Builder clearNetworkType() {
      * 
* * string project_id = 6; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1686,6 +1872,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1699,15 +1887,14 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 6; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1715,6 +1902,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1728,18 +1917,22 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 6; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1753,6 +1946,7 @@ public Builder setProjectId(
      * 
* * string project_id = 6; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1762,6 +1956,8 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1775,21 +1971,23 @@ public Builder clearProjectId() {
      * 
* * string project_id = 6; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1799,12 +1997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.Endpoint) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.Endpoint) private static final com.google.cloud.networkmanagement.v1.Endpoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.Endpoint(); } @@ -1813,27 +2011,27 @@ public static com.google.cloud.networkmanagement.v1.Endpoint getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoint 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 Endpoint 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; @@ -1848,6 +2046,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.Endpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java index 89f3a58269c3..47610a387db0 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. The specification of the endpoints for the test.
  * EndpointInfo is derived from source and destination Endpoint and validated
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.EndpointInfo}
  */
-public final class EndpointInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EndpointInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.EndpointInfo)
     EndpointInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EndpointInfo.newBuilder() to construct.
   private EndpointInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EndpointInfo() {
     sourceIp_ = "";
     destinationIp_ = "";
@@ -31,38 +49,43 @@ private EndpointInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EndpointInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.EndpointInfo.class, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1.EndpointInfo.class,
+            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
   }
 
   public static final int SOURCE_IP_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceIp_ = "";
   /**
+   *
+   *
    * 
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The sourceIp. */ @java.lang.Override @@ -71,29 +94,29 @@ public java.lang.String getSourceIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; } } /** + * + * *
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The bytes for sourceIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceIpBytes() { + public com.google.protobuf.ByteString getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getSourceIp() { } public static final int DESTINATION_IP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object destinationIp_ = ""; /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The destinationIp. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getDestinationIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; } } /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The bytes for destinationIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationIpBytes() { + public com.google.protobuf.ByteString getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -149,14 +176,18 @@ public java.lang.String getDestinationIp() { } public static final int PROTOCOL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The protocol. */ @java.lang.Override @@ -165,29 +196,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -198,11 +229,14 @@ public java.lang.String getProtocol() { public static final int SOURCE_PORT_FIELD_NUMBER = 4; private int sourcePort_ = 0; /** + * + * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; + * * @return The sourcePort. */ @java.lang.Override @@ -213,11 +247,14 @@ public int getSourcePort() { public static final int DESTINATION_PORT_FIELD_NUMBER = 5; private int destinationPort_ = 0; /** + * + * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; + * * @return The destinationPort. */ @java.lang.Override @@ -226,14 +263,18 @@ public int getDestinationPort() { } public static final int SOURCE_NETWORK_URI_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object sourceNetworkUri_ = ""; /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The sourceNetworkUri. */ @java.lang.Override @@ -242,29 +283,29 @@ public java.lang.String getSourceNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; } } /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The bytes for sourceNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -273,14 +314,18 @@ public java.lang.String getSourceNetworkUri() { } public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object destinationNetworkUri_ = ""; /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The destinationNetworkUri. */ @java.lang.Override @@ -289,29 +334,29 @@ public java.lang.String getDestinationNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; } } /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The bytes for destinationNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -320,6 +365,7 @@ public java.lang.String getDestinationNetworkUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,8 +377,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(sourceIp_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceIp_); } @@ -373,12 +418,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, protocol_); } if (sourcePort_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, sourcePort_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, sourcePort_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, destinationPort_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, destinationPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNetworkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sourceNetworkUri_); @@ -394,27 +437,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.networkmanagement.v1.EndpointInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.EndpointInfo other = (com.google.cloud.networkmanagement.v1.EndpointInfo) obj; - - if (!getSourceIp() - .equals(other.getSourceIp())) return false; - if (!getDestinationIp() - .equals(other.getDestinationIp())) return false; - if (!getProtocol() - .equals(other.getProtocol())) return false; - if (getSourcePort() - != other.getSourcePort()) return false; - if (getDestinationPort() - != other.getDestinationPort()) return false; - if (!getSourceNetworkUri() - .equals(other.getSourceNetworkUri())) return false; - if (!getDestinationNetworkUri() - .equals(other.getDestinationNetworkUri())) return false; + com.google.cloud.networkmanagement.v1.EndpointInfo other = + (com.google.cloud.networkmanagement.v1.EndpointInfo) obj; + + if (!getSourceIp().equals(other.getSourceIp())) return false; + if (!getDestinationIp().equals(other.getDestinationIp())) return false; + if (!getProtocol().equals(other.getProtocol())) return false; + if (getSourcePort() != other.getSourcePort()) return false; + if (getDestinationPort() != other.getDestinationPort()) return false; + if (!getSourceNetworkUri().equals(other.getSourceNetworkUri())) return false; + if (!getDestinationNetworkUri().equals(other.getDestinationNetworkUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -446,96 +483,103 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.EndpointInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo 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.networkmanagement.v1.EndpointInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.EndpointInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.EndpointInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. The specification of the endpoints for the test.
    * EndpointInfo is derived from source and destination Endpoint and validated
@@ -544,33 +588,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.EndpointInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.EndpointInfo)
       com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.EndpointInfo.class, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1.EndpointInfo.class,
+              com.google.cloud.networkmanagement.v1.EndpointInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.EndpointInfo.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();
@@ -586,9 +629,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
@@ -607,8 +650,11 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.EndpointInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1.EndpointInfo result = new com.google.cloud.networkmanagement.v1.EndpointInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.networkmanagement.v1.EndpointInfo result =
+          new com.google.cloud.networkmanagement.v1.EndpointInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -642,38 +688,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.EndpointInfo 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.networkmanagement.v1.EndpointInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.EndpointInfo)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.EndpointInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -681,7 +728,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1.EndpointInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance())
+        return this;
       if (!other.getSourceIp().isEmpty()) {
         sourceIp_ = other.sourceIp_;
         bitField0_ |= 0x00000001;
@@ -739,47 +787,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              sourceIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              destinationIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              protocol_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              sourcePort_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              destinationPort_ = input.readInt32();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              sourceNetworkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              destinationNetworkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                sourceIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                destinationIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                protocol_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                sourcePort_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                destinationPort_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                sourceNetworkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                destinationNetworkUri_ = 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) {
@@ -789,22 +845,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object sourceIp_ = "";
     /**
+     *
+     *
      * 
      * Source IP address.
      * 
* * string source_ip = 1; + * * @return The sourceIp. */ public java.lang.String getSourceIp() { java.lang.Object ref = sourceIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; @@ -813,20 +872,21 @@ public java.lang.String getSourceIp() { } } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @return The bytes for sourceIp. */ - public com.google.protobuf.ByteString - getSourceIpBytes() { + public com.google.protobuf.ByteString getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -834,28 +894,35 @@ public java.lang.String getSourceIp() { } } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @param value The sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceIp_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @return This builder for chaining. */ public Builder clearSourceIp() { @@ -865,17 +932,21 @@ public Builder clearSourceIp() { return this; } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @param value The bytes for sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceIp_ = value; bitField0_ |= 0x00000001; @@ -885,18 +956,20 @@ public Builder setSourceIpBytes( private java.lang.Object destinationIp_ = ""; /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @return The destinationIp. */ public java.lang.String getDestinationIp() { java.lang.Object ref = destinationIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; @@ -905,20 +978,21 @@ public java.lang.String getDestinationIp() { } } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @return The bytes for destinationIp. */ - public com.google.protobuf.ByteString - getDestinationIpBytes() { + public com.google.protobuf.ByteString getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -926,28 +1000,35 @@ public java.lang.String getDestinationIp() { } } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @param value The destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationIp_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @return This builder for chaining. */ public Builder clearDestinationIp() { @@ -957,17 +1038,21 @@ public Builder clearDestinationIp() { return this; } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @param value The bytes for destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationIp_ = value; bitField0_ |= 0x00000002; @@ -977,18 +1062,20 @@ public Builder setDestinationIpBytes( private java.lang.Object protocol_ = ""; /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -997,20 +1084,21 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -1018,28 +1106,35 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } protocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -1049,17 +1144,21 @@ public Builder clearProtocol() { return this; } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000004; @@ -1067,13 +1166,16 @@ public Builder setProtocolBytes( return this; } - private int sourcePort_ ; + private int sourcePort_; /** + * + * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; + * * @return The sourcePort. */ @java.lang.Override @@ -1081,27 +1183,33 @@ public int getSourcePort() { return sourcePort_; } /** + * + * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; + * * @param value The sourcePort to set. * @return This builder for chaining. */ public Builder setSourcePort(int value) { - + sourcePort_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; + * * @return This builder for chaining. */ public Builder clearSourcePort() { @@ -1111,13 +1219,16 @@ public Builder clearSourcePort() { return this; } - private int destinationPort_ ; + private int destinationPort_; /** + * + * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; + * * @return The destinationPort. */ @java.lang.Override @@ -1125,27 +1236,33 @@ public int getDestinationPort() { return destinationPort_; } /** + * + * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; + * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; + * * @return This builder for chaining. */ public Builder clearDestinationPort() { @@ -1157,18 +1274,20 @@ public Builder clearDestinationPort() { private java.lang.Object sourceNetworkUri_ = ""; /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @return The sourceNetworkUri. */ public java.lang.String getSourceNetworkUri() { java.lang.Object ref = sourceNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; @@ -1177,20 +1296,21 @@ public java.lang.String getSourceNetworkUri() { } } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @return The bytes for sourceNetworkUri. */ - public com.google.protobuf.ByteString - getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -1198,28 +1318,35 @@ public java.lang.String getSourceNetworkUri() { } } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @param value The sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceNetworkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @return This builder for chaining. */ public Builder clearSourceNetworkUri() { @@ -1229,17 +1356,21 @@ public Builder clearSourceNetworkUri() { return this; } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @param value The bytes for sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceNetworkUri_ = value; bitField0_ |= 0x00000020; @@ -1249,18 +1380,20 @@ public Builder setSourceNetworkUriBytes( private java.lang.Object destinationNetworkUri_ = ""; /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @return The destinationNetworkUri. */ public java.lang.String getDestinationNetworkUri() { java.lang.Object ref = destinationNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; @@ -1269,20 +1402,21 @@ public java.lang.String getDestinationNetworkUri() { } } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @return The bytes for destinationNetworkUri. */ - public com.google.protobuf.ByteString - getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -1290,28 +1424,35 @@ public java.lang.String getDestinationNetworkUri() { } } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @param value The destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationNetworkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @return This builder for chaining. */ public Builder clearDestinationNetworkUri() { @@ -1321,26 +1462,30 @@ public Builder clearDestinationNetworkUri() { return this; } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @param value The bytes for destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationNetworkUri_ = 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); } @@ -1350,12 +1495,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.EndpointInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.EndpointInfo) private static final com.google.cloud.networkmanagement.v1.EndpointInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.EndpointInfo(); } @@ -1364,27 +1509,27 @@ public static com.google.cloud.networkmanagement.v1.EndpointInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EndpointInfo 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 EndpointInfo 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; @@ -1399,6 +1544,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.EndpointInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java similarity index 70% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java index b4b83a5000bd..3f079aaf1230 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointInfoOrBuilder.java @@ -1,129 +1,176 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface EndpointInfoOrBuilder extends +public interface EndpointInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.EndpointInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The sourceIp. */ java.lang.String getSourceIp(); /** + * + * *
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The bytes for sourceIp. */ - com.google.protobuf.ByteString - getSourceIpBytes(); + com.google.protobuf.ByteString getSourceIpBytes(); /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The destinationIp. */ java.lang.String getDestinationIp(); /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The bytes for destinationIp. */ - com.google.protobuf.ByteString - getDestinationIpBytes(); + com.google.protobuf.ByteString getDestinationIpBytes(); /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The protocol. */ java.lang.String getProtocol(); /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The bytes for protocol. */ - com.google.protobuf.ByteString - getProtocolBytes(); + com.google.protobuf.ByteString getProtocolBytes(); /** + * + * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; + * * @return The sourcePort. */ int getSourcePort(); /** + * + * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; + * * @return The destinationPort. */ int getDestinationPort(); /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The sourceNetworkUri. */ java.lang.String getSourceNetworkUri(); /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The bytes for sourceNetworkUri. */ - com.google.protobuf.ByteString - getSourceNetworkUriBytes(); + com.google.protobuf.ByteString getSourceNetworkUriBytes(); /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The destinationNetworkUri. */ java.lang.String getDestinationNetworkUri(); /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The bytes for destinationNetworkUri. */ - com.google.protobuf.ByteString - getDestinationNetworkUriBytes(); + com.google.protobuf.ByteString getDestinationNetworkUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java similarity index 80% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java index 414ef274594b..41c1cf626ccf 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/EndpointOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; -public interface EndpointOrBuilder extends +public interface EndpointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.Endpoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -15,10 +33,13 @@ public interface EndpointOrBuilder extends
    * 
* * string ip_address = 1; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -26,105 +47,130 @@ public interface EndpointOrBuilder extends
    * 
* * string ip_address = 1; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; + * * @return The port. */ int getPort(); /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The gkeMasterCluster. */ java.lang.String getGkeMasterCluster(); /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The bytes for gkeMasterCluster. */ - com.google.protobuf.ByteString - getGkeMasterClusterBytes(); + com.google.protobuf.ByteString getGkeMasterClusterBytes(); /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The cloudSqlInstance. */ java.lang.String getCloudSqlInstance(); /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The bytes for cloudSqlInstance. */ - com.google.protobuf.ByteString - getCloudSqlInstanceBytes(); + com.google.protobuf.ByteString getCloudSqlInstanceBytes(); /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -132,10 +178,13 @@ public interface EndpointOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return The enum numeric value on the wire for networkType. */ int getNetworkTypeValue(); /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -143,11 +192,14 @@ public interface EndpointOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1.Endpoint.NetworkType network_type = 5; + * * @return The networkType. */ com.google.cloud.networkmanagement.v1.Endpoint.NetworkType getNetworkType(); /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -161,10 +213,13 @@ public interface EndpointOrBuilder extends
    * 
* * string project_id = 6; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -178,8 +233,8 @@ public interface EndpointOrBuilder extends
    * 
* * string project_id = 6; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java similarity index 72% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java index 919633f6e719..6476eff879f0 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a VPC firewall rule, an implied
  * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.FirewallInfo}
  */
-public final class FirewallInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FirewallInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.FirewallInfo)
     FirewallInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FirewallInfo.newBuilder() to construct.
   private FirewallInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FirewallInfo() {
     displayName_ = "";
     uri_ = "";
@@ -34,39 +52,43 @@ private FirewallInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FirewallInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.FirewallInfo.class, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1.FirewallInfo.class,
+            com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The firewall rule's type.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType} */ - public enum FirewallRuleType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type.
      * 
@@ -75,6 +97,8 @@ public enum FirewallRuleType */ FIREWALL_RULE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -85,6 +109,8 @@ public enum FirewallRuleType
      */
     HIERARCHICAL_FIREWALL_POLICY_RULE(1),
     /**
+     *
+     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -95,6 +121,8 @@ public enum FirewallRuleType
      */
     VPC_FIREWALL_RULE(2),
     /**
+     *
+     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -108,6 +136,8 @@ public enum FirewallRuleType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified type.
      * 
@@ -116,6 +146,8 @@ public enum FirewallRuleType */ public static final int FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -126,6 +158,8 @@ public enum FirewallRuleType
      */
     public static final int HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE = 1;
     /**
+     *
+     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -136,6 +170,8 @@ public enum FirewallRuleType
      */
     public static final int VPC_FIREWALL_RULE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -146,7 +182,6 @@ public enum FirewallRuleType
      */
     public static final int IMPLIED_VPC_FIREWALL_RULE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -171,41 +206,47 @@ public static FirewallRuleType valueOf(int value) {
      */
     public static FirewallRuleType forNumber(int value) {
       switch (value) {
-        case 0: return FIREWALL_RULE_TYPE_UNSPECIFIED;
-        case 1: return HIERARCHICAL_FIREWALL_POLICY_RULE;
-        case 2: return VPC_FIREWALL_RULE;
-        case 3: return IMPLIED_VPC_FIREWALL_RULE;
-        default: return null;
+        case 0:
+          return FIREWALL_RULE_TYPE_UNSPECIFIED;
+        case 1:
+          return HIERARCHICAL_FIREWALL_POLICY_RULE;
+        case 2:
+          return VPC_FIREWALL_RULE;
+        case 3:
+          return IMPLIED_VPC_FIREWALL_RULE;
+        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<
-        FirewallRuleType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FirewallRuleType findValueByNumber(int number) {
-              return FirewallRuleType.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 FirewallRuleType findValueByNumber(int number) {
+                return FirewallRuleType.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.networkmanagement.v1.FirewallInfo.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.FirewallInfo.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final FirewallRuleType[] VALUES = values();
@@ -213,8 +254,7 @@ public FirewallRuleType findValueByNumber(int number) {
     public static FirewallRuleType 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;
@@ -232,15 +272,19 @@ private FirewallRuleType(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -249,30 +293,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -281,15 +325,19 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -298,30 +346,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -330,14 +378,18 @@ public java.lang.String getUri() { } public static final int DIRECTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object direction_ = ""; /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The direction. */ @java.lang.Override @@ -346,29 +398,29 @@ public java.lang.String getDirection() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; } } /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The bytes for direction. */ @java.lang.Override - public com.google.protobuf.ByteString - getDirectionBytes() { + public com.google.protobuf.ByteString getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); direction_ = b; return b; } else { @@ -377,14 +429,18 @@ public java.lang.String getDirection() { } public static final int ACTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The action. */ @java.lang.Override @@ -393,29 +449,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -426,11 +482,14 @@ public java.lang.String getAction() { public static final int PRIORITY_FIELD_NUMBER = 5; private int priority_ = 0; /** + * + * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; + * * @return The priority. */ @java.lang.Override @@ -439,15 +498,19 @@ public int getPriority() { } public static final int NETWORK_URI_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The networkUri. */ @java.lang.Override @@ -456,30 +519,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -488,40 +551,49 @@ public java.lang.String getNetworkUri() { } public static final int TARGET_TAGS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetTags_; /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList - getTargetTagsList() { + public com.google.protobuf.ProtocolStringList getTargetTagsList() { return targetTags_; } /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -529,52 +601,63 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString - getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } public static final int TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetServiceAccounts_; /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList - getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { return targetServiceAccounts_; } /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -582,29 +665,35 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString - getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } public static final int POLICY_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object policy_ = ""; /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The policy. */ @java.lang.Override @@ -613,30 +702,30 @@ public java.lang.String getPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; } } /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The bytes for policy. */ @java.lang.Override - public com.google.protobuf.ByteString - getPolicyBytes() { + public com.google.protobuf.ByteString getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policy_ = b; return b; } else { @@ -647,30 +736,45 @@ public java.lang.String getPolicy() { public static final int FIREWALL_RULE_TYPE_FIELD_NUMBER = 10; private int firewallRuleType_ = 0; /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override public int getFirewallRuleTypeValue() { + @java.lang.Override + public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The firewallRuleType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType() { - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); - return result == null ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType() { + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber( + firewallRuleType_); + return result == null + ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -682,8 +786,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -706,12 +809,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 7, targetTags_.getRaw(i)); } for (int i = 0; i < targetServiceAccounts_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, targetServiceAccounts_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 8, targetServiceAccounts_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, policy_); } - if (firewallRuleType_ != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { + if (firewallRuleType_ + != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType + .FIREWALL_RULE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, firewallRuleType_); } getUnknownFields().writeTo(output); @@ -736,8 +843,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, priority_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, networkUri_); @@ -761,9 +867,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, policy_); } - if (firewallRuleType_ != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, firewallRuleType_); + if (firewallRuleType_ + != com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType + .FIREWALL_RULE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, firewallRuleType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -773,31 +881,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.networkmanagement.v1.FirewallInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.FirewallInfo other = (com.google.cloud.networkmanagement.v1.FirewallInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDirection() - .equals(other.getDirection())) return false; - if (!getAction() - .equals(other.getAction())) return false; - if (getPriority() - != other.getPriority()) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getTargetTagsList() - .equals(other.getTargetTagsList())) return false; - if (!getTargetServiceAccountsList() - .equals(other.getTargetServiceAccountsList())) return false; - if (!getPolicy() - .equals(other.getPolicy())) return false; + com.google.cloud.networkmanagement.v1.FirewallInfo other = + (com.google.cloud.networkmanagement.v1.FirewallInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDirection().equals(other.getDirection())) return false; + if (!getAction().equals(other.getAction())) return false; + if (getPriority() != other.getPriority()) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getTargetTagsList().equals(other.getTargetTagsList())) return false; + if (!getTargetServiceAccountsList().equals(other.getTargetServiceAccountsList())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; if (firewallRuleType_ != other.firewallRuleType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -840,96 +940,103 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.FirewallInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo 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.networkmanagement.v1.FirewallInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.FirewallInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.FirewallInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a VPC firewall rule, an implied
    * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -937,33 +1044,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.FirewallInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.FirewallInfo)
       com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.FirewallInfo.class, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1.FirewallInfo.class,
+              com.google.cloud.networkmanagement.v1.FirewallInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.FirewallInfo.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();
@@ -984,9 +1090,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
@@ -1005,14 +1111,18 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.FirewallInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1.FirewallInfo result = new com.google.cloud.networkmanagement.v1.FirewallInfo(this);
+      com.google.cloud.networkmanagement.v1.FirewallInfo result =
+          new com.google.cloud.networkmanagement.v1.FirewallInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.FirewallInfo result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.networkmanagement.v1.FirewallInfo result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         targetTags_ = targetTags_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -1057,38 +1167,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.FirewallInfo 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.networkmanagement.v1.FirewallInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.FirewallInfo)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.FirewallInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1096,7 +1207,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1.FirewallInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -1179,64 +1291,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              direction_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              action_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              priority_ = input.readInt32();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              networkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTargetTagsIsMutable();
-              targetTags_.add(s);
-              break;
-            } // case 58
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTargetServiceAccountsIsMutable();
-              targetServiceAccounts_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              policy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 80: {
-              firewallRuleType_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 80
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                direction_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                action_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                priority_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                networkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTargetTagsIsMutable();
+                targetTags_.add(s);
+                break;
+              } // case 58
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTargetServiceAccountsIsMutable();
+                targetServiceAccounts_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                policy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 80:
+              {
+                firewallRuleType_ = 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) {
@@ -1246,23 +1369,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1271,21 +1397,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1293,30 +1420,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1326,18 +1460,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1347,19 +1485,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1368,21 +1508,22 @@ public java.lang.String getUri() { } } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1390,30 +1531,37 @@ public java.lang.String getUri() { } } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1423,18 +1571,22 @@ public Builder clearUri() { return this; } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1444,18 +1596,20 @@ public Builder setUriBytes( private java.lang.Object direction_ = ""; /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @return The direction. */ public java.lang.String getDirection() { java.lang.Object ref = direction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; @@ -1464,20 +1618,21 @@ public java.lang.String getDirection() { } } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @return The bytes for direction. */ - public com.google.protobuf.ByteString - getDirectionBytes() { + public com.google.protobuf.ByteString getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); direction_ = b; return b; } else { @@ -1485,28 +1640,35 @@ public java.lang.String getDirection() { } } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @param value The direction to set. * @return This builder for chaining. */ - public Builder setDirection( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirection(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } direction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @return This builder for chaining. */ public Builder clearDirection() { @@ -1516,17 +1678,21 @@ public Builder clearDirection() { return this; } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @param value The bytes for direction to set. * @return This builder for chaining. */ - public Builder setDirectionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirectionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); direction_ = value; bitField0_ |= 0x00000004; @@ -1536,18 +1702,20 @@ public Builder setDirectionBytes( private java.lang.Object action_ = ""; /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -1556,20 +1724,21 @@ public java.lang.String getAction() { } } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @return The bytes for action. */ - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -1577,28 +1746,35 @@ public java.lang.String getAction() { } } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @return This builder for chaining. */ public Builder clearAction() { @@ -1608,17 +1784,21 @@ public Builder clearAction() { return this; } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; @@ -1626,13 +1806,16 @@ public Builder setActionBytes( return this; } - private int priority_ ; + private int priority_; /** + * + * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; + * * @return The priority. */ @java.lang.Override @@ -1640,27 +1823,33 @@ public int getPriority() { return priority_; } /** + * + * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; + * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; + * * @return This builder for chaining. */ public Builder clearPriority() { @@ -1672,19 +1861,21 @@ public Builder clearPriority() { private java.lang.Object networkUri_ = ""; /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1693,21 +1884,22 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1715,30 +1907,37 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1748,18 +1947,22 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000020; @@ -1767,45 +1970,55 @@ public Builder setNetworkUriBytes( return this; } - private com.google.protobuf.LazyStringList targetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList targetTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTargetTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { targetTags_ = new com.google.protobuf.LazyStringArrayList(targetTags_); bitField0_ |= 0x00000040; - } + } } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList - getTargetTagsList() { + public com.google.protobuf.ProtocolStringList getTargetTagsList() { return targetTags_.getUnmodifiableView(); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -1813,81 +2026,95 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString - getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param index The index to set the value at. * @param value The targetTags to set. * @return This builder for chaining. */ - public Builder setTargetTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetTagsIsMutable(); targetTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param value The targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetTagsIsMutable(); targetTags_.add(value); onChanged(); return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param values The targetTags to add. * @return This builder for chaining. */ - public Builder addAllTargetTags( - java.lang.Iterable values) { + public Builder addAllTargetTags(java.lang.Iterable values) { ensureTargetTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetTags_); onChanged(); return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @return This builder for chaining. */ public Builder clearTargetTags() { @@ -1897,18 +2124,22 @@ public Builder clearTargetTags() { return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param value The bytes of the targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTargetTagsIsMutable(); targetTags_.add(value); @@ -1916,42 +2147,53 @@ public Builder addTargetTagsBytes( return this; } - private com.google.protobuf.LazyStringList targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList targetServiceAccounts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTargetServiceAccountsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - targetServiceAccounts_ = new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); + targetServiceAccounts_ = + new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); bitField0_ |= 0x00000080; - } + } } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList - getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { return targetServiceAccounts_.getUnmodifiableView(); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -1959,76 +2201,90 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString - getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param index The index to set the value at. * @param value The targetServiceAccounts to set. * @return This builder for chaining. */ - public Builder setTargetServiceAccounts( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetServiceAccounts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.set(index, value); onChanged(); return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param value The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccounts( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetServiceAccounts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); onChanged(); return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param values The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addAllTargetServiceAccounts( - java.lang.Iterable values) { + public Builder addAllTargetServiceAccounts(java.lang.Iterable values) { ensureTargetServiceAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetServiceAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetServiceAccounts_); onChanged(); return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @return This builder for chaining. */ public Builder clearTargetServiceAccounts() { @@ -2038,17 +2294,21 @@ public Builder clearTargetServiceAccounts() { return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param value The bytes of the targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccountsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetServiceAccountsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); @@ -2058,19 +2318,21 @@ public Builder addTargetServiceAccountsBytes( private java.lang.Object policy_ = ""; /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @return The policy. */ public java.lang.String getPolicy() { java.lang.Object ref = policy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; @@ -2079,21 +2341,22 @@ public java.lang.String getPolicy() { } } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @return The bytes for policy. */ - public com.google.protobuf.ByteString - getPolicyBytes() { + public com.google.protobuf.ByteString getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policy_ = b; return b; } else { @@ -2101,30 +2364,37 @@ public java.lang.String getPolicy() { } } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @param value The policy to set. * @return This builder for chaining. */ - public Builder setPolicy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } policy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @return This builder for chaining. */ public Builder clearPolicy() { @@ -2134,18 +2404,22 @@ public Builder clearPolicy() { return this; } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @param value The bytes for policy to set. * @return This builder for chaining. */ - public Builder setPolicyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); policy_ = value; bitField0_ |= 0x00000100; @@ -2155,22 +2429,33 @@ public Builder setPolicyBytes( private int firewallRuleType_ = 0; /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override public int getFirewallRuleTypeValue() { + @java.lang.Override + public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @param value The enum numeric value on the wire for firewallRuleType to set. * @return This builder for chaining. */ @@ -2181,28 +2466,44 @@ public Builder setFirewallRuleTypeValue(int value) { return this; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The firewallRuleType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType() { - com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); - return result == null ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType + getFirewallRuleType() { + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType result = + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.forNumber( + firewallRuleType_); + return result == null + ? com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType.UNRECOGNIZED + : result; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @param value The firewallRuleType to set. * @return This builder for chaining. */ - public Builder setFirewallRuleType(com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType value) { + public Builder setFirewallRuleType( + com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType value) { if (value == null) { throw new NullPointerException(); } @@ -2212,11 +2513,16 @@ public Builder setFirewallRuleType(com.google.cloud.networkmanagement.v1.Firewal return this; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return This builder for chaining. */ public Builder clearFirewallRuleType() { @@ -2225,9 +2531,9 @@ public Builder clearFirewallRuleType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2237,12 +2543,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.FirewallInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.FirewallInfo) private static final com.google.cloud.networkmanagement.v1.FirewallInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.FirewallInfo(); } @@ -2251,27 +2557,27 @@ public static com.google.cloud.networkmanagement.v1.FirewallInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirewallInfo 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 FirewallInfo 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; @@ -2286,6 +2592,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.FirewallInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java similarity index 78% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java index d27509c109d7..5752a38b878f 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/FirewallInfoOrBuilder.java @@ -1,251 +1,328 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface FirewallInfoOrBuilder extends +public interface FirewallInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.FirewallInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The direction. */ java.lang.String getDirection(); /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The bytes for direction. */ - com.google.protobuf.ByteString - getDirectionBytes(); + com.google.protobuf.ByteString getDirectionBytes(); /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The action. */ java.lang.String getAction(); /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The bytes for action. */ - com.google.protobuf.ByteString - getActionBytes(); + com.google.protobuf.ByteString getActionBytes(); /** + * + * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; + * * @return The priority. */ int getPriority(); /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return A list containing the targetTags. */ - java.util.List - getTargetTagsList(); + java.util.List getTargetTagsList(); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return The count of targetTags. */ int getTargetTagsCount(); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the element to return. * @return The targetTags at the given index. */ java.lang.String getTargetTags(int index); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - com.google.protobuf.ByteString - getTargetTagsBytes(int index); + com.google.protobuf.ByteString getTargetTagsBytes(int index); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return A list containing the targetServiceAccounts. */ - java.util.List - getTargetServiceAccountsList(); + java.util.List getTargetServiceAccountsList(); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return The count of targetServiceAccounts. */ int getTargetServiceAccountsCount(); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ java.lang.String getTargetServiceAccounts(int index); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - com.google.protobuf.ByteString - getTargetServiceAccountsBytes(int index); + com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index); /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The policy. */ java.lang.String getPolicy(); /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The bytes for policy. */ - com.google.protobuf.ByteString - getPolicyBytes(); + com.google.protobuf.ByteString getPolicyBytes(); /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The enum numeric value on the wire for firewallRuleType. */ int getFirewallRuleTypeValue(); /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * .google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The firewallRuleType. */ com.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType getFirewallRuleType(); diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java similarity index 68% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java index 283536c5a9b6..1457b3dbd58d 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Details of the final state "forward" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardInfo} */ -public final class ForwardInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ForwardInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ForwardInfo) ForwardInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ForwardInfo.newBuilder() to construct. private ForwardInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ForwardInfo() { target_ = 0; resourceUri_ = ""; @@ -26,39 +44,43 @@ private ForwardInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ForwardInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardInfo.class, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardInfo.class, + com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); } /** + * + * *
    * Forward target types.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.ForwardInfo.Target} */ - public enum Target - implements com.google.protobuf.ProtocolMessageEnum { + public enum Target implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Target not specified.
      * 
@@ -67,6 +89,8 @@ public enum Target */ TARGET_UNSPECIFIED(0), /** + * + * *
      * Forwarded to a VPC peering network.
      * 
@@ -75,6 +99,8 @@ public enum Target */ PEERING_VPC(1), /** + * + * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -83,6 +109,8 @@ public enum Target */ VPN_GATEWAY(2), /** + * + * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -91,6 +119,8 @@ public enum Target */ INTERCONNECT(3), /** + * + * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -99,6 +129,8 @@ public enum Target */ GKE_MASTER(4), /** + * + * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -107,6 +139,8 @@ public enum Target */ IMPORTED_CUSTOM_ROUTE_NEXT_HOP(5), /** + * + * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -118,6 +152,8 @@ public enum Target ; /** + * + * *
      * Target not specified.
      * 
@@ -126,6 +162,8 @@ public enum Target */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Forwarded to a VPC peering network.
      * 
@@ -134,6 +172,8 @@ public enum Target */ public static final int PEERING_VPC_VALUE = 1; /** + * + * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -142,6 +182,8 @@ public enum Target */ public static final int VPN_GATEWAY_VALUE = 2; /** + * + * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -150,6 +192,8 @@ public enum Target */ public static final int INTERCONNECT_VALUE = 3; /** + * + * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -158,6 +202,8 @@ public enum Target */ public static final int GKE_MASTER_VALUE = 4; /** + * + * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -166,6 +212,8 @@ public enum Target */ public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE = 5; /** + * + * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -174,7 +222,6 @@ public enum Target */ public static final int CLOUD_SQL_INSTANCE_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -199,53 +246,59 @@ public static Target valueOf(int value) { */ public static Target forNumber(int value) { switch (value) { - case 0: return TARGET_UNSPECIFIED; - case 1: return PEERING_VPC; - case 2: return VPN_GATEWAY; - case 3: return INTERCONNECT; - case 4: return GKE_MASTER; - case 5: return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; - case 6: return CLOUD_SQL_INSTANCE; - default: return null; + case 0: + return TARGET_UNSPECIFIED; + case 1: + return PEERING_VPC; + case 2: + return VPN_GATEWAY; + case 3: + return INTERCONNECT; + case 4: + return GKE_MASTER; + case 5: + return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; + case 6: + return CLOUD_SQL_INSTANCE; + 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< - Target> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Target findValueByNumber(int number) { - return Target.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 Target findValueByNumber(int number) { + return Target.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.networkmanagement.v1.ForwardInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ForwardInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Target[] VALUES = values(); - public static Target valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Target 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; @@ -265,38 +318,53 @@ private Target(int value) { public static final int TARGET_FIELD_NUMBER = 1; private int target_ = 0; /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return The target. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = + com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -305,29 +373,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -336,6 +404,7 @@ public java.lang.String getResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,9 +416,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (target_ != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (target_ + != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -364,9 +434,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, target_); + if (target_ + != com.google.cloud.networkmanagement.v1.ForwardInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -379,16 +450,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.networkmanagement.v1.ForwardInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ForwardInfo other = (com.google.cloud.networkmanagement.v1.ForwardInfo) obj; + com.google.cloud.networkmanagement.v1.ForwardInfo other = + (com.google.cloud.networkmanagement.v1.ForwardInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,129 +481,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo 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.networkmanagement.v1.ForwardInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ForwardInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ForwardInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "forward" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ForwardInfo) com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardInfo.class, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardInfo.class, + com.google.cloud.networkmanagement.v1.ForwardInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ForwardInfo.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(); @@ -543,9 +620,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor; } @java.lang.Override @@ -564,8 +641,11 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo buildPartial() { - com.google.cloud.networkmanagement.v1.ForwardInfo result = new com.google.cloud.networkmanagement.v1.ForwardInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.ForwardInfo result = + new com.google.cloud.networkmanagement.v1.ForwardInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -584,38 +664,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ForwardInfo 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.networkmanagement.v1.ForwardInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardInfo) other); } else { super.mergeFrom(other); return this; @@ -623,7 +704,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ForwardInfo other) { - if (other == com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) + return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -658,22 +740,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = 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) { @@ -683,26 +768,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int target_ = 0; /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -713,24 +806,33 @@ public Builder setTargetValue(int value) { return this; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.ForwardInfo.Target result = + com.google.cloud.networkmanagement.v1.ForwardInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1.ForwardInfo.Target.UNRECOGNIZED + : result; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @param value The target to set. * @return This builder for chaining. */ @@ -744,11 +846,14 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1.ForwardInfo.Targe return this; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -760,18 +865,20 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -780,20 +887,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -801,28 +909,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -832,26 +947,30 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -861,12 +980,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ForwardInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ForwardInfo) private static final com.google.cloud.networkmanagement.v1.ForwardInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ForwardInfo(); } @@ -875,27 +994,27 @@ public static com.google.cloud.networkmanagement.v1.ForwardInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardInfo 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 ForwardInfo 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; @@ -910,6 +1029,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.ForwardInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java similarity index 61% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java index 48addf41e1ba..652e8b2bc570 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardInfoOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface ForwardInfoOrBuilder extends +public interface ForwardInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ForwardInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo.Target target = 1; + * * @return The target. */ com.google.cloud.networkmanagement.v1.ForwardInfo.Target getTarget(); /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java index f9c869058c61..cc84b98e0f1d 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine forwarding rule.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardingRuleInfo} */ -public final class ForwardingRuleInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ForwardingRuleInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ForwardingRuleInfo) ForwardingRuleInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ForwardingRuleInfo.newBuilder() to construct. private ForwardingRuleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ForwardingRuleInfo() { displayName_ = ""; uri_ = ""; @@ -31,38 +49,43 @@ private ForwardingRuleInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ForwardingRuleInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -71,29 +94,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -149,14 +176,18 @@ public java.lang.String getUri() { } public static final int MATCHED_PROTOCOL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object matchedProtocol_ = ""; /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The matchedProtocol. */ @java.lang.Override @@ -165,29 +196,29 @@ public java.lang.String getMatchedProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; } } /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The bytes for matchedProtocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getMatchedProtocolBytes() { + public com.google.protobuf.ByteString getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -196,14 +227,18 @@ public java.lang.String getMatchedProtocol() { } public static final int MATCHED_PORT_RANGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object matchedPortRange_ = ""; /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The matchedPortRange. */ @java.lang.Override @@ -212,29 +247,29 @@ public java.lang.String getMatchedPortRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; } } /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The bytes for matchedPortRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -243,14 +278,18 @@ public java.lang.String getMatchedPortRange() { } public static final int VIP_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object vip_ = ""; /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The vip. */ @java.lang.Override @@ -259,29 +298,29 @@ public java.lang.String getVip() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; } } /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The bytes for vip. */ @java.lang.Override - public com.google.protobuf.ByteString - getVipBytes() { + public com.google.protobuf.ByteString getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vip_ = b; return b; } else { @@ -290,14 +329,18 @@ public java.lang.String getVip() { } public static final int TARGET_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @return The target. */ @java.lang.Override @@ -306,29 +349,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; } } /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @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 { @@ -337,14 +380,18 @@ public java.lang.String getTarget() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ @java.lang.Override @@ -353,29 +400,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -384,6 +431,7 @@ public java.lang.String getNetworkUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,8 +443,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -456,27 +503,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.networkmanagement.v1.ForwardingRuleInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo other = (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getMatchedProtocol() - .equals(other.getMatchedProtocol())) return false; - if (!getMatchedPortRange() - .equals(other.getMatchedPortRange())) return false; - if (!getVip() - .equals(other.getVip())) return false; - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo other = + (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getMatchedProtocol().equals(other.getMatchedProtocol())) return false; + if (!getMatchedPortRange().equals(other.getMatchedPortRange())) return false; + if (!getVip().equals(other.getVip())) return false; + if (!getTarget().equals(other.getTarget())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -508,129 +549,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo 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.networkmanagement.v1.ForwardingRuleInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine forwarding rule.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ForwardingRuleInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ForwardingRuleInfo) com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.class, + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.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(); @@ -646,9 +694,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor; } @java.lang.Override @@ -667,8 +715,11 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo buildPartial() { - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo result = new com.google.cloud.networkmanagement.v1.ForwardingRuleInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo result = + new com.google.cloud.networkmanagement.v1.ForwardingRuleInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -702,38 +753,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ForwardingRuleI public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardingRuleInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) other); } else { super.mergeFrom(other); return this; @@ -741,7 +793,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo other) { - if (other == com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -803,47 +856,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - matchedProtocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - vip_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: { - matchedPortRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + matchedProtocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + vip_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: + { + matchedPortRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: + { + networkUri_ = 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) { @@ -853,22 +914,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -877,20 +941,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -898,28 +963,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -929,17 +1001,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -949,18 +1025,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -969,20 +1047,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -990,28 +1069,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1021,17 +1107,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1041,18 +1131,20 @@ public Builder setUriBytes( private java.lang.Object matchedProtocol_ = ""; /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @return The matchedProtocol. */ public java.lang.String getMatchedProtocol() { java.lang.Object ref = matchedProtocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; @@ -1061,20 +1153,21 @@ public java.lang.String getMatchedProtocol() { } } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @return The bytes for matchedProtocol. */ - public com.google.protobuf.ByteString - getMatchedProtocolBytes() { + public com.google.protobuf.ByteString getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -1082,28 +1175,35 @@ public java.lang.String getMatchedProtocol() { } } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @param value The matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } matchedProtocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @return This builder for chaining. */ public Builder clearMatchedProtocol() { @@ -1113,17 +1213,21 @@ public Builder clearMatchedProtocol() { return this; } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @param value The bytes for matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); matchedProtocol_ = value; bitField0_ |= 0x00000004; @@ -1133,18 +1237,20 @@ public Builder setMatchedProtocolBytes( private java.lang.Object matchedPortRange_ = ""; /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @return The matchedPortRange. */ public java.lang.String getMatchedPortRange() { java.lang.Object ref = matchedPortRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; @@ -1153,20 +1259,21 @@ public java.lang.String getMatchedPortRange() { } } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @return The bytes for matchedPortRange. */ - public com.google.protobuf.ByteString - getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -1174,28 +1281,35 @@ public java.lang.String getMatchedPortRange() { } } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @param value The matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedPortRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } matchedPortRange_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @return This builder for chaining. */ public Builder clearMatchedPortRange() { @@ -1205,17 +1319,21 @@ public Builder clearMatchedPortRange() { return this; } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @param value The bytes for matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedPortRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); matchedPortRange_ = value; bitField0_ |= 0x00000008; @@ -1225,18 +1343,20 @@ public Builder setMatchedPortRangeBytes( private java.lang.Object vip_ = ""; /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @return The vip. */ public java.lang.String getVip() { java.lang.Object ref = vip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; @@ -1245,20 +1365,21 @@ public java.lang.String getVip() { } } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @return The bytes for vip. */ - public com.google.protobuf.ByteString - getVipBytes() { + public com.google.protobuf.ByteString getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vip_ = b; return b; } else { @@ -1266,28 +1387,35 @@ public java.lang.String getVip() { } } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @param value The vip to set. * @return This builder for chaining. */ - public Builder setVip( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVip(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vip_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @return This builder for chaining. */ public Builder clearVip() { @@ -1297,17 +1425,21 @@ public Builder clearVip() { return this; } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @param value The bytes for vip to set. * @return This builder for chaining. */ - public Builder setVipBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVipBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vip_ = value; bitField0_ |= 0x00000010; @@ -1317,18 +1449,20 @@ public Builder setVipBytes( private java.lang.Object target_ = ""; /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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; @@ -1337,20 +1471,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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 { @@ -1358,28 +1493,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1389,17 +1531,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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_ |= 0x00000020; @@ -1409,18 +1555,20 @@ public Builder setTargetBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1429,20 +1577,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1450,28 +1599,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1481,26 +1637,30 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = 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); } @@ -1510,12 +1670,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ForwardingRuleInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ForwardingRuleInfo) private static final com.google.cloud.networkmanagement.v1.ForwardingRuleInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ForwardingRuleInfo(); } @@ -1524,27 +1684,27 @@ public static com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardingRuleInfo 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 ForwardingRuleInfo 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; @@ -1559,6 +1719,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java similarity index 69% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java index a2daf6585fa8..9c8c5c37f9e1 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ForwardingRuleInfoOrBuilder.java @@ -1,149 +1,200 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface ForwardingRuleInfoOrBuilder extends +public interface ForwardingRuleInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ForwardingRuleInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The matchedProtocol. */ java.lang.String getMatchedProtocol(); /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The bytes for matchedProtocol. */ - com.google.protobuf.ByteString - getMatchedProtocolBytes(); + com.google.protobuf.ByteString getMatchedProtocolBytes(); /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The matchedPortRange. */ java.lang.String getMatchedPortRange(); /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The bytes for matchedPortRange. */ - com.google.protobuf.ByteString - getMatchedPortRangeBytes(); + com.google.protobuf.ByteString getMatchedPortRangeBytes(); /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The vip. */ java.lang.String getVip(); /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The bytes for vip. */ - com.google.protobuf.ByteString - getVipBytes(); + com.google.protobuf.ByteString getVipBytes(); /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java similarity index 69% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java index 503ea3507f22..a6acaedc05ea 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
  * cluster master.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.GKEMasterInfo}
  */
-public final class GKEMasterInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GKEMasterInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.GKEMasterInfo)
     GKEMasterInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GKEMasterInfo.newBuilder() to construct.
   private GKEMasterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GKEMasterInfo() {
     clusterUri_ = "";
     clusterNetworkUri_ = "";
@@ -29,38 +47,43 @@ private GKEMasterInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GKEMasterInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1.GKEMasterInfo.class,
+            com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
   }
 
   public static final int CLUSTER_URI_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object clusterUri_ = "";
   /**
+   *
+   *
    * 
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The clusterUri. */ @java.lang.Override @@ -69,29 +92,29 @@ public java.lang.String getClusterUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; } } /** + * + * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The bytes for clusterUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterUriBytes() { + public com.google.protobuf.ByteString getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -100,14 +123,18 @@ public java.lang.String getClusterUri() { } public static final int CLUSTER_NETWORK_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object clusterNetworkUri_ = ""; /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The clusterNetworkUri. */ @java.lang.Override @@ -116,29 +143,29 @@ public java.lang.String getClusterNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; } } /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The bytes for clusterNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -147,14 +174,18 @@ public java.lang.String getClusterNetworkUri() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ @java.lang.Override @@ -163,29 +194,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -194,14 +225,18 @@ public java.lang.String getInternalIp() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ @java.lang.Override @@ -210,29 +245,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -241,6 +276,7 @@ public java.lang.String getExternalIp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterUri_); } @@ -295,21 +330,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.GKEMasterInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.GKEMasterInfo other = (com.google.cloud.networkmanagement.v1.GKEMasterInfo) obj; - - if (!getClusterUri() - .equals(other.getClusterUri())) return false; - if (!getClusterNetworkUri() - .equals(other.getClusterNetworkUri())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; + com.google.cloud.networkmanagement.v1.GKEMasterInfo other = + (com.google.cloud.networkmanagement.v1.GKEMasterInfo) obj; + + if (!getClusterUri().equals(other.getClusterUri())) return false; + if (!getClusterNetworkUri().equals(other.getClusterNetworkUri())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,96 +367,103 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo 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.networkmanagement.v1.GKEMasterInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.GKEMasterInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.GKEMasterInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
    * cluster master.
@@ -432,33 +471,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.GKEMasterInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.GKEMasterInfo)
       com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1.GKEMasterInfo.class,
+              com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.GKEMasterInfo.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();
@@ -471,9 +509,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
@@ -492,8 +530,11 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.GKEMasterInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1.GKEMasterInfo result = new com.google.cloud.networkmanagement.v1.GKEMasterInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.networkmanagement.v1.GKEMasterInfo result =
+          new com.google.cloud.networkmanagement.v1.GKEMasterInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -518,38 +559,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.GKEMasterInfo 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.networkmanagement.v1.GKEMasterInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.GKEMasterInfo)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.GKEMasterInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,7 +599,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1.GKEMasterInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance())
+        return this;
       if (!other.getClusterUri().isEmpty()) {
         clusterUri_ = other.clusterUri_;
         bitField0_ |= 0x00000001;
@@ -604,32 +647,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              clusterUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            case 34: {
-              clusterNetworkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            case 42: {
-              internalIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            case 50: {
-              externalIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                clusterUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            case 34:
+              {
+                clusterNetworkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            case 42:
+              {
+                internalIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 42
+            case 50:
+              {
+                externalIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                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) {
@@ -639,22 +687,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object clusterUri_ = "";
     /**
+     *
+     *
      * 
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @return The clusterUri. */ public java.lang.String getClusterUri() { java.lang.Object ref = clusterUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; @@ -663,20 +714,21 @@ public java.lang.String getClusterUri() { } } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @return The bytes for clusterUri. */ - public com.google.protobuf.ByteString - getClusterUriBytes() { + public com.google.protobuf.ByteString getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -684,28 +736,35 @@ public java.lang.String getClusterUri() { } } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @param value The clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @return This builder for chaining. */ public Builder clearClusterUri() { @@ -715,17 +774,21 @@ public Builder clearClusterUri() { return this; } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @param value The bytes for clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterUri_ = value; bitField0_ |= 0x00000001; @@ -735,18 +798,20 @@ public Builder setClusterUriBytes( private java.lang.Object clusterNetworkUri_ = ""; /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @return The clusterNetworkUri. */ public java.lang.String getClusterNetworkUri() { java.lang.Object ref = clusterNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; @@ -755,20 +820,21 @@ public java.lang.String getClusterNetworkUri() { } } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @return The bytes for clusterNetworkUri. */ - public com.google.protobuf.ByteString - getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -776,28 +842,35 @@ public java.lang.String getClusterNetworkUri() { } } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @param value The clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterNetworkUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @return This builder for chaining. */ public Builder clearClusterNetworkUri() { @@ -807,17 +880,21 @@ public Builder clearClusterNetworkUri() { return this; } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @param value The bytes for clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterNetworkUri_ = value; bitField0_ |= 0x00000002; @@ -827,18 +904,20 @@ public Builder setClusterNetworkUriBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -847,20 +926,21 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -868,28 +948,35 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } internalIp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -899,17 +986,21 @@ public Builder clearInternalIp() { return this; } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000004; @@ -919,18 +1010,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -939,20 +1032,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -960,28 +1054,35 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -991,26 +1092,30 @@ public Builder clearExternalIp() { return this; } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalIp_ = 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); } @@ -1020,12 +1125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.GKEMasterInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.GKEMasterInfo) private static final com.google.cloud.networkmanagement.v1.GKEMasterInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.GKEMasterInfo(); } @@ -1034,27 +1139,27 @@ public static com.google.cloud.networkmanagement.v1.GKEMasterInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GKEMasterInfo 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 GKEMasterInfo 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; @@ -1069,6 +1174,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.GKEMasterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java similarity index 63% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java index d35400c60a47..551267988a42 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GKEMasterInfoOrBuilder.java @@ -1,89 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface GKEMasterInfoOrBuilder extends +public interface GKEMasterInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.GKEMasterInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The clusterUri. */ java.lang.String getClusterUri(); /** + * + * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The bytes for clusterUri. */ - com.google.protobuf.ByteString - getClusterUriBytes(); + com.google.protobuf.ByteString getClusterUriBytes(); /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The clusterNetworkUri. */ java.lang.String getClusterNetworkUri(); /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The bytes for clusterNetworkUri. */ - com.google.protobuf.ByteString - getClusterNetworkUriBytes(); + com.google.protobuf.ByteString getClusterNetworkUriBytes(); /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java similarity index 64% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java index 70b6688305fc..af6d97b1c9c2 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequest.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Request for the `GetConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.GetConnectivityTestRequest} */ -public final class GetConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) GetConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConnectivityTestRequest.newBuilder() to construct. private GetConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,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_); } @@ -134,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.networkmanagement.v1.GetConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest 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.networkmanagement.v1.GetConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `GetConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.GetConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) com.google.cloud.networkmanagement.v1.GetConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.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(); @@ -294,13 +324,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance(); } @@ -315,13 +346,17 @@ public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest build() @java.lang.Override public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +367,50 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.GetConnectivity public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,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) { @@ -423,23 +464,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -448,21 +492,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -470,30 +515,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +555,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +589,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectivityTestRequest 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 GetConnectivityTestRequest 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; @@ -579,9 +637,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.GetConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java index 1acf81905f76..ccd54598d1d3 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/GetConnectivityTestRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface GetConnectivityTestRequestOrBuilder extends +public interface GetConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.GetConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java similarity index 70% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java index 6dfa47ae2a87..1e33c6760ef8 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.InstanceInfo} */ -public final class InstanceInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstanceInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.InstanceInfo) InstanceInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstanceInfo.newBuilder() to construct. private InstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstanceInfo() { displayName_ = ""; uri_ = ""; @@ -32,38 +50,43 @@ private InstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.InstanceInfo.class, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.InstanceInfo.class, + com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -72,29 +95,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -103,14 +126,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -119,29 +146,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -150,14 +177,18 @@ public java.lang.String getUri() { } public static final int INTERFACE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object interface_ = ""; /** + * + * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @return The interface. */ @java.lang.Override @@ -166,29 +197,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 network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @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 { @@ -197,14 +228,18 @@ public java.lang.String getInterface() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ @java.lang.Override @@ -213,29 +248,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -244,14 +279,18 @@ public java.lang.String getNetworkUri() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ @java.lang.Override @@ -260,29 +299,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -291,14 +330,18 @@ public java.lang.String getInternalIp() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ @java.lang.Override @@ -307,29 +350,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -338,37 +381,46 @@ public java.lang.String getExternalIp() { } public static final int NETWORK_TAGS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList networkTags_; /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -376,63 +428,71 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -441,6 +501,7 @@ public java.lang.String getNetworkTags(int index) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -452,8 +513,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -524,29 +584,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.networkmanagement.v1.InstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.InstanceInfo other = (com.google.cloud.networkmanagement.v1.InstanceInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getInterface() - .equals(other.getInterface())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + com.google.cloud.networkmanagement.v1.InstanceInfo other = + (com.google.cloud.networkmanagement.v1.InstanceInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getInterface().equals(other.getInterface())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -582,129 +635,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.InstanceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo 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.networkmanagement.v1.InstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.InstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.InstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.InstanceInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.InstanceInfo) com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.InstanceInfo.class, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1.InstanceInfo.class, + com.google.cloud.networkmanagement.v1.InstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.InstanceInfo.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(); @@ -722,9 +781,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor; } @java.lang.Override @@ -743,14 +802,18 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.InstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1.InstanceInfo result = new com.google.cloud.networkmanagement.v1.InstanceInfo(this); + com.google.cloud.networkmanagement.v1.InstanceInfo result = + new com.google.cloud.networkmanagement.v1.InstanceInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.InstanceInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.InstanceInfo result) { if (((bitField0_ & 0x00000040) != 0)) { networkTags_ = networkTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); @@ -787,38 +850,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.InstanceInfo 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.networkmanagement.v1.InstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.InstanceInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.InstanceInfo) other); } else { super.mergeFrom(other); return this; @@ -826,7 +890,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.InstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -898,53 +963,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - interface_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 58 - case 66: { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + interface_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 58 + case 66: + { + serviceAccount_ = input.readStringRequireUtf8(); + 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) { @@ -954,22 +1028,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -978,20 +1055,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -999,28 +1077,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1030,17 +1115,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1050,18 +1139,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1070,20 +1161,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1091,28 +1183,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1122,17 +1221,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1142,18 +1245,20 @@ public Builder setUriBytes( private java.lang.Object interface_ = ""; /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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; @@ -1162,20 +1267,21 @@ public java.lang.String getInterface() { } } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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 { @@ -1183,28 +1289,35 @@ public java.lang.String getInterface() { } } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @return This builder for chaining. */ public Builder clearInterface() { @@ -1214,17 +1327,21 @@ public Builder clearInterface() { return this; } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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_ |= 0x00000004; @@ -1234,18 +1351,20 @@ public Builder setInterfaceBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1254,20 +1373,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1275,28 +1395,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1306,17 +1433,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000008; @@ -1326,18 +1457,20 @@ public Builder setNetworkUriBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1346,20 +1479,21 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1367,28 +1501,35 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } internalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1398,17 +1539,21 @@ public Builder clearInternalIp() { return this; } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000010; @@ -1418,18 +1563,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1438,20 +1585,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1459,28 +1607,35 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1490,17 +1645,21 @@ public Builder clearExternalIp() { return this; } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000020; @@ -1508,42 +1667,52 @@ public Builder setExternalIpBytes( return this; } - private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList networkTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000040; - } + } } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -1551,76 +1720,90 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); onChanged(); return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -1630,17 +1813,21 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -1650,20 +1837,23 @@ public Builder addNetworkTagsBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The serviceAccount. */ - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1672,22 +1862,24 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1695,63 +1887,77 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearServiceAccount() { + @java.lang.Deprecated + public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1761,12 +1967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.InstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.InstanceInfo) private static final com.google.cloud.networkmanagement.v1.InstanceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.InstanceInfo(); } @@ -1775,27 +1981,27 @@ public static com.google.cloud.networkmanagement.v1.InstanceInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceInfo 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 InstanceInfo 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; @@ -1810,6 +2016,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.InstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java similarity index 69% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java index 243907ac9d6c..0945d20ea38d 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/InstanceInfoOrBuilder.java @@ -1,194 +1,257 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface InstanceInfoOrBuilder extends +public interface InstanceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.InstanceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @return The interface. */ java.lang.String getInterface(); /** + * + * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @return The bytes for interface. */ - com.google.protobuf.ByteString - getInterfaceBytes(); + com.google.protobuf.ByteString getInterfaceBytes(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The serviceAccount. */ - @java.lang.Deprecated java.lang.String getServiceAccount(); + @java.lang.Deprecated + java.lang.String getServiceAccount(); /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1/trace.proto;l=232 + * + * @deprecated google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See + * google/cloud/networkmanagement/v1/trace.proto;l=232 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getServiceAccountBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getServiceAccountBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java similarity index 72% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java index 53bdd33a88cb..823a4bc1eaff 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Request for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsRequest} */ -public final class ListConnectivityTestsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConnectivityTestsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) ListConnectivityTestsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConnectivityTestsRequest.newBuilder() to construct. private ListConnectivityTestsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConnectivityTestsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,39 +46,44 @@ private ListConnectivityTestsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConnectivityTestsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -69,30 +92,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +126,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,14 +142,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,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; } } /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * 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 { @@ -163,9 +193,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -186,6 +219,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -194,14 +228,15 @@ 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; } } /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -222,16 +257,15 @@ public java.lang.String getFilter() {
    * 
* * 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 { @@ -240,14 +274,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -256,29 +294,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Field to use to sort the list.
    * 
* * 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 { @@ -287,6 +325,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -328,8 +366,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_); @@ -348,23 +385,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.networkmanagement.v1.ListConnectivityTestsRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest other = (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) 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.networkmanagement.v1.ListConnectivityTestsRequest other = + (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) 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; } @@ -392,129 +425,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.class, + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.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(); @@ -528,14 +570,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + .getDefaultInstance(); } @java.lang.Override @@ -549,13 +593,17 @@ public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest build( @java.lang.Override public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest buildPartial() { - com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result = + new com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -578,46 +626,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ListConnectivit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest other) { - if (other == com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest other) { + if (other + == com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -667,37 +720,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) { @@ -707,23 +766,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -732,21 +794,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -754,30 +817,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - 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. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -787,18 +857,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - 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; @@ -806,13 +880,16 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -820,27 +897,33 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -852,18 +935,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -872,20 +957,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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 { @@ -893,28 +979,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -924,17 +1017,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -944,6 +1041,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -964,13 +1063,13 @@ public Builder setPageTokenBytes(
      * 
* * 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; @@ -979,6 +1078,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -999,15 +1100,14 @@ public java.lang.String getFilter() {
      * 
* * 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 { @@ -1015,6 +1115,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1035,18 +1137,22 @@ public java.lang.String getFilter() {
      * 
* * 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; } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1067,6 +1173,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1076,6 +1183,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1096,12 +1205,14 @@ public Builder clearFilter() {
      * 
* * 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; @@ -1111,18 +1222,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to use to sort the list.
      * 
* * 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; @@ -1131,20 +1244,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * 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 { @@ -1152,28 +1266,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * 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; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1183,26 +1304,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * 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); } @@ -1212,41 +1337,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) - private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest(); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsRequest 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 ListConnectivityTestsRequest 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; @@ -1258,9 +1385,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java index b584be04d218..100dfd43c2c0 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsRequestOrBuilder.java @@ -1,65 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface ListConnectivityTestsRequestOrBuilder extends +public interface ListConnectivityTestsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ListConnectivityTestsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -80,10 +111,13 @@ public interface ListConnectivityTestsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -104,28 +138,33 @@ public interface ListConnectivityTestsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to use to sort the list.
    * 
* * 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-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java index f9711493c628..bea91b2f707a 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Response for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsResponse} */ -public final class ListConnectivityTestsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConnectivityTestsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) ListConnectivityTestsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConnectivityTestsResponse.newBuilder() to construct. private ListConnectivityTestsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConnectivityTestsResponse() { resources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,33 +45,37 @@ private ListConnectivityTestsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConnectivityTestsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); } public static final int RESOURCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List resources_; /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -65,6 +87,8 @@ public java.util.List ge return resources_; } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -72,11 +96,13 @@ public java.util.List ge * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -88,6 +114,8 @@ public int getResourcesCount() { return resources_.size(); } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -99,6 +127,8 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResources(int i return resources_.get(index); } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -112,14 +142,18 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResour } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,29 +162,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; } } /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 { @@ -159,37 +193,46 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -197,20 +240,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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; @@ -222,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -243,8 +288,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -265,19 +309,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.networkmanagement.v1.ListConnectivityTestsResponse)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other = (com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) obj; + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other = + (com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) obj; - if (!getResourcesList() - .equals(other.getResourcesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getResourcesList().equals(other.getResourcesList())) 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; } @@ -305,129 +347,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ListConnectivityTestsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.class, + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.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(); @@ -446,14 +497,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + .getDefaultInstance(); } @java.lang.Override @@ -467,14 +520,18 @@ public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse build @java.lang.Override public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse buildPartial() { - com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse(this); + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result = + new com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { if (resourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resources_ = java.util.Collections.unmodifiableList(resources_); @@ -491,7 +548,8 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.Li result.unreachable_ = unreachable_; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -502,46 +560,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ListConnectivit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other) { - if (other == com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse other) { + if (other + == com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + .getDefaultInstance()) return this; if (resourcesBuilder_ == null) { if (!other.resources_.isEmpty()) { if (resources_.isEmpty()) { @@ -560,9 +623,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ListConnectivityT resourcesBuilder_ = null; resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000001); - resourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourcesFieldBuilder() : null; + resourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResourcesFieldBuilder() + : null; } else { resourcesBuilder_.addAllMessages(other.resources_); } @@ -609,36 +673,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.networkmanagement.v1.ConnectivityTest m = - input.readMessage( - com.google.cloud.networkmanagement.v1.ConnectivityTest.parser(), - extensionRegistry); - if (resourcesBuilder_ == null) { - ensureResourcesIsMutable(); - resources_.add(m); - } else { - resourcesBuilder_.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.networkmanagement.v1.ConnectivityTest m = + input.readMessage( + com.google.cloud.networkmanagement.v1.ConnectivityTest.parser(), + extensionRegistry); + if (resourcesBuilder_ == null) { + ensureResourcesIsMutable(); + resources_.add(m); + } else { + resourcesBuilder_.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) { @@ -648,28 +716,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List resources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resources_ = new java.util.ArrayList(resources_); + resources_ = + new java.util.ArrayList( + resources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> resourcesBuilder_; + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + resourcesBuilder_; /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -677,6 +755,8 @@ public java.util.List ge } } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -691,6 +771,8 @@ public int getResourcesCount() { } } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -705,6 +787,8 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResources(int i } } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -726,6 +810,8 @@ public Builder setResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -744,6 +830,8 @@ public Builder setResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -764,6 +852,8 @@ public Builder addResources(com.google.cloud.networkmanagement.v1.ConnectivityTe return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -785,6 +875,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -803,6 +895,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -821,6 +915,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -828,11 +924,11 @@ public Builder addResources( * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ public Builder addAllResources( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -840,6 +936,8 @@ public Builder addAllResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -857,6 +955,8 @@ public Builder clearResources() { return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -874,6 +974,8 @@ public Builder removeResources(int index) { return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -885,6 +987,8 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -894,19 +998,22 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourcesOrBuilder( int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -914,6 +1021,8 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResour } } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -921,10 +1030,12 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResour * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder(com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -933,30 +1044,36 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourc */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder( + index, com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()); } /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( - resources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( + resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; @@ -964,18 +1081,20 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder addResourc private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -984,20 +1103,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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 { @@ -1005,28 +1125,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1036,17 +1163,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -1054,42 +1185,52 @@ public Builder setNextPageTokenBytes( return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,76 +1238,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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 (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1176,26 +1331,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,41 +1364,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) - private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse(); } - public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsResponse 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 ListConnectivityTestsResponse 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; @@ -1251,9 +1412,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java index f2a751f1a617..e5c8cb79520e 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ListConnectivityTestsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface ListConnectivityTestsResponseOrBuilder extends +public interface ListConnectivityTestsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ListConnectivityTestsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - java.util.List - getResourcesList(); + java.util.List getResourcesList(); /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -25,6 +44,8 @@ public interface ListConnectivityTestsResponseOrBuilder extends */ com.google.cloud.networkmanagement.v1.ConnectivityTest getResources(int index); /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -33,82 +54,100 @@ public interface ListConnectivityTestsResponseOrBuilder extends */ int getResourcesCount(); /** + * + * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** + * + * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1.ConnectivityTest resources = 1; */ - com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourcesOrBuilder( - int index); + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourcesOrBuilder(int index); /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * 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-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java index fe17517f0fda..95b755aa7835 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackend.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a specific load balancer backend.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerBackend} */ -public final class LoadBalancerBackend extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoadBalancerBackend extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.LoadBalancerBackend) LoadBalancerBackendOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoadBalancerBackend.newBuilder() to construct. private LoadBalancerBackend(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoadBalancerBackend() { displayName_ = ""; uri_ = ""; @@ -29,39 +47,44 @@ private LoadBalancerBackend() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoadBalancerBackend(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); } /** + * + * *
    * State of a health check firewall configuration:
    * 
* - * Protobuf enum {@code google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState} + * Protobuf enum {@code + * google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState} */ - public enum HealthCheckFirewallState - implements com.google.protobuf.ProtocolMessageEnum { + public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * State is unspecified. Default state if not populated.
      * 
@@ -70,6 +93,8 @@ public enum HealthCheckFirewallState */ HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED(0), /** + * + * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -79,6 +104,8 @@ public enum HealthCheckFirewallState
      */
     CONFIGURED(1),
     /**
+     *
+     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -94,6 +121,8 @@ public enum HealthCheckFirewallState
     ;
 
     /**
+     *
+     *
      * 
      * State is unspecified. Default state if not populated.
      * 
@@ -102,6 +131,8 @@ public enum HealthCheckFirewallState */ public static final int HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -111,6 +142,8 @@ public enum HealthCheckFirewallState
      */
     public static final int CONFIGURED_VALUE = 1;
     /**
+     *
+     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -123,7 +156,6 @@ public enum HealthCheckFirewallState
      */
     public static final int MISCONFIGURED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -148,10 +180,14 @@ public static HealthCheckFirewallState valueOf(int value) {
      */
     public static HealthCheckFirewallState forNumber(int value) {
       switch (value) {
-        case 0: return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
-        case 1: return CONFIGURED;
-        case 2: return MISCONFIGURED;
-        default: return null;
+        case 0:
+          return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
+        case 1:
+          return CONFIGURED;
+        case 2:
+          return MISCONFIGURED;
+        default:
+          return null;
       }
     }
 
@@ -159,29 +195,31 @@ public static HealthCheckFirewallState forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        HealthCheckFirewallState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public HealthCheckFirewallState findValueByNumber(int number) {
-              return HealthCheckFirewallState.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 HealthCheckFirewallState findValueByNumber(int number) {
+                return HealthCheckFirewallState.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.networkmanagement.v1.LoadBalancerBackend.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final HealthCheckFirewallState[] VALUES = values();
@@ -189,8 +227,7 @@ public HealthCheckFirewallState findValueByNumber(int number) {
     public static HealthCheckFirewallState 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;
@@ -208,14 +245,18 @@ private HealthCheckFirewallState(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -224,29 +265,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -255,14 +296,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -271,29 +316,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -304,61 +349,88 @@ public java.lang.String getUri() { public static final int HEALTH_CHECK_FIREWALL_STATE_FIELD_NUMBER = 3; private int healthCheckFirewallState_ = 0; /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override public int getHealthCheckFirewallStateValue() { + @java.lang.Override + public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The healthCheckFirewallState. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); - return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + .forNumber(healthCheckFirewallState_); + return result == null + ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + .UNRECOGNIZED + : result; } public static final int HEALTH_CHECK_ALLOWING_FIREWALL_RULES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_; /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_; } /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -366,51 +438,62 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } public static final int HEALTH_CHECK_BLOCKING_FIREWALL_RULES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_; /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_; } /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -418,20 +501,23 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,22 +529,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } - if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { + if (healthCheckFirewallState_ + != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, healthCheckFirewallState_); } for (int i = 0; i < healthCheckAllowingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); } for (int i = 0; i < healthCheckBlockingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -475,9 +565,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } - if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, healthCheckFirewallState_); + if (healthCheckFirewallState_ + != com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, healthCheckFirewallState_); } { int dataSize = 0; @@ -503,17 +595,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.networkmanagement.v1.LoadBalancerBackend)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.LoadBalancerBackend other = (com.google.cloud.networkmanagement.v1.LoadBalancerBackend) obj; + com.google.cloud.networkmanagement.v1.LoadBalancerBackend other = + (com.google.cloud.networkmanagement.v1.LoadBalancerBackend) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; if (healthCheckFirewallState_ != other.healthCheckFirewallState_) return false; if (!getHealthCheckAllowingFirewallRulesList() .equals(other.getHealthCheckAllowingFirewallRulesList())) return false; @@ -550,129 +641,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend 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.networkmanagement.v1.LoadBalancerBackend parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.LoadBalancerBackend prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a specific load balancer backend.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerBackend} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.LoadBalancerBackend) com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.class, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.LoadBalancerBackend.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(); @@ -688,9 +786,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor; } @java.lang.Override @@ -709,14 +807,18 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerBackend buildPartial() { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend result = new com.google.cloud.networkmanagement.v1.LoadBalancerBackend(this); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend result = + new com.google.cloud.networkmanagement.v1.LoadBalancerBackend(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.LoadBalancerBackend result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend result) { if (((bitField0_ & 0x00000008) != 0)) { healthCheckAllowingFirewallRules_ = healthCheckAllowingFirewallRules_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -746,38 +848,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.LoadBalancerBac public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.LoadBalancerBackend) { - return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerBackend)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerBackend) other); } else { super.mergeFrom(other); return this; @@ -785,7 +888,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.LoadBalancerBackend other) { - if (other == com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -845,39 +949,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - healthCheckFirewallState_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckAllowingFirewallRulesIsMutable(); - healthCheckAllowingFirewallRules_.add(s); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckBlockingFirewallRulesIsMutable(); - healthCheckBlockingFirewallRules_.add(s); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + healthCheckFirewallState_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckAllowingFirewallRulesIsMutable(); + healthCheckAllowingFirewallRules_.add(s); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckBlockingFirewallRulesIsMutable(); + healthCheckBlockingFirewallRules_.add(s); + 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) { @@ -887,22 +997,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -911,20 +1024,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -932,28 +1046,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -963,17 +1084,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -983,18 +1108,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1003,20 +1130,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1024,28 +1152,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1055,17 +1190,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1075,22 +1214,33 @@ public Builder setUriBytes( private int healthCheckFirewallState_ = 0; /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override public int getHealthCheckFirewallStateValue() { + @java.lang.Override + public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @param value The enum numeric value on the wire for healthCheckFirewallState to set. * @return This builder for chaining. */ @@ -1101,28 +1251,45 @@ public Builder setHealthCheckFirewallStateValue(int value) { return this; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The healthCheckFirewallState. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); - return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState result = + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + .forNumber(healthCheckFirewallState_); + return result == null + ? com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + .UNRECOGNIZED + : result; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @param value The healthCheckFirewallState to set. * @return This builder for chaining. */ - public Builder setHealthCheckFirewallState(com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState value) { + public Builder setHealthCheckFirewallState( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState value) { if (value == null) { throw new NullPointerException(); } @@ -1132,11 +1299,16 @@ public Builder setHealthCheckFirewallState(com.google.cloud.networkmanagement.v1 return this; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return This builder for chaining. */ public Builder clearHealthCheckFirewallState() { @@ -1146,42 +1318,53 @@ public Builder clearHealthCheckFirewallState() { return this; } - private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureHealthCheckAllowingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - healthCheckAllowingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); + healthCheckAllowingFirewallRules_ = + new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_.getUnmodifiableView(); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -1189,59 +1372,72 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index to set the value at. * @param value The healthCheckAllowingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckAllowingFirewallRules( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckAllowingFirewallRules(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param value The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRules( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckAllowingFirewallRules(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param values The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ @@ -1254,11 +1450,14 @@ public Builder addAllHealthCheckAllowingFirewallRules( return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return This builder for chaining. */ public Builder clearHealthCheckAllowingFirewallRules() { @@ -1268,17 +1467,21 @@ public Builder clearHealthCheckAllowingFirewallRules() { return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param value The bytes of the healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRulesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); @@ -1286,42 +1489,53 @@ public Builder addHealthCheckAllowingFirewallRulesBytes( return this; } - private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureHealthCheckBlockingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - healthCheckBlockingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); + healthCheckBlockingFirewallRules_ = + new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_.getUnmodifiableView(); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -1329,59 +1543,72 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index to set the value at. * @param value The healthCheckBlockingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckBlockingFirewallRules( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckBlockingFirewallRules(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param value The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRules( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckBlockingFirewallRules(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param values The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ @@ -1394,11 +1621,14 @@ public Builder addAllHealthCheckBlockingFirewallRules( return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return This builder for chaining. */ public Builder clearHealthCheckBlockingFirewallRules() { @@ -1408,26 +1638,30 @@ public Builder clearHealthCheckBlockingFirewallRules() { return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param value The bytes of the healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRulesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckBlockingFirewallRulesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1437,12 +1671,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.LoadBalancerBackend) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.LoadBalancerBackend) private static final com.google.cloud.networkmanagement.v1.LoadBalancerBackend DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.LoadBalancerBackend(); } @@ -1451,27 +1685,27 @@ public static com.google.cloud.networkmanagement.v1.LoadBalancerBackend getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerBackend 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 LoadBalancerBackend 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; @@ -1486,6 +1720,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.LoadBalancerBackend getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java index 46fdc7b8a330..7ef01f29d354 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerBackendOrBuilder.java @@ -1,150 +1,207 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface LoadBalancerBackendOrBuilder extends +public interface LoadBalancerBackendOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.LoadBalancerBackend) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The enum numeric value on the wire for healthCheckFirewallState. */ int getHealthCheckFirewallStateValue(); /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The healthCheckFirewallState. */ - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState(); + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState + getHealthCheckFirewallState(); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return A list containing the healthCheckAllowingFirewallRules. */ - java.util.List - getHealthCheckAllowingFirewallRulesList(); + java.util.List getHealthCheckAllowingFirewallRulesList(); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return The count of healthCheckAllowingFirewallRules. */ int getHealthCheckAllowingFirewallRulesCount(); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ java.lang.String getHealthCheckAllowingFirewallRules(int index); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - com.google.protobuf.ByteString - getHealthCheckAllowingFirewallRulesBytes(int index); + com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return A list containing the healthCheckBlockingFirewallRules. */ - java.util.List - getHealthCheckBlockingFirewallRulesList(); + java.util.List getHealthCheckBlockingFirewallRulesList(); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return The count of healthCheckBlockingFirewallRules. */ int getHealthCheckBlockingFirewallRulesCount(); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ java.lang.String getHealthCheckBlockingFirewallRules(int index); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - com.google.protobuf.ByteString - getHealthCheckBlockingFirewallRulesBytes(int index); + com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java similarity index 69% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java index b81697ebf69d..c2ce88549137 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a load balancer.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerInfo} */ -public final class LoadBalancerInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoadBalancerInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.LoadBalancerInfo) LoadBalancerInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoadBalancerInfo.newBuilder() to construct. private LoadBalancerInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoadBalancerInfo() { loadBalancerType_ = 0; healthCheckUri_ = ""; @@ -29,39 +47,43 @@ private LoadBalancerInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoadBalancerInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); } /** + * + * *
    * The type definition for a load balancer:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType} */ - public enum LoadBalancerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type is unspecified.
      * 
@@ -70,6 +92,8 @@ public enum LoadBalancerType */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Internal TCP/UDP load balancer.
      * 
@@ -78,6 +102,8 @@ public enum LoadBalancerType */ INTERNAL_TCP_UDP(1), /** + * + * *
      * Network TCP/UDP load balancer.
      * 
@@ -86,6 +112,8 @@ public enum LoadBalancerType */ NETWORK_TCP_UDP(2), /** + * + * *
      * HTTP(S) proxy load balancer.
      * 
@@ -94,6 +122,8 @@ public enum LoadBalancerType */ HTTP_PROXY(3), /** + * + * *
      * TCP proxy load balancer.
      * 
@@ -102,6 +132,8 @@ public enum LoadBalancerType */ TCP_PROXY(4), /** + * + * *
      * SSL proxy load balancer.
      * 
@@ -113,6 +145,8 @@ public enum LoadBalancerType ; /** + * + * *
      * Type is unspecified.
      * 
@@ -121,6 +155,8 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Internal TCP/UDP load balancer.
      * 
@@ -129,6 +165,8 @@ public enum LoadBalancerType */ public static final int INTERNAL_TCP_UDP_VALUE = 1; /** + * + * *
      * Network TCP/UDP load balancer.
      * 
@@ -137,6 +175,8 @@ public enum LoadBalancerType */ public static final int NETWORK_TCP_UDP_VALUE = 2; /** + * + * *
      * HTTP(S) proxy load balancer.
      * 
@@ -145,6 +185,8 @@ public enum LoadBalancerType */ public static final int HTTP_PROXY_VALUE = 3; /** + * + * *
      * TCP proxy load balancer.
      * 
@@ -153,6 +195,8 @@ public enum LoadBalancerType */ public static final int TCP_PROXY_VALUE = 4; /** + * + * *
      * SSL proxy load balancer.
      * 
@@ -161,7 +205,6 @@ public enum LoadBalancerType */ public static final int SSL_PROXY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,43 +229,51 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: return INTERNAL_TCP_UDP; - case 2: return NETWORK_TCP_UDP; - case 3: return HTTP_PROXY; - case 4: return TCP_PROXY; - case 5: return SSL_PROXY; - default: return null; + case 0: + return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: + return INTERNAL_TCP_UDP; + case 2: + return NETWORK_TCP_UDP; + case 3: + return HTTP_PROXY; + case 4: + return TCP_PROXY; + case 5: + return SSL_PROXY; + 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< - LoadBalancerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.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 LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.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.networkmanagement.v1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final LoadBalancerType[] VALUES = values(); @@ -230,8 +281,7 @@ public LoadBalancerType findValueByNumber(int number) { public static LoadBalancerType 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; @@ -249,15 +299,18 @@ private LoadBalancerType(int value) { } /** + * + * *
    * The type definition for a load balancer backend configuration:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType} */ - public enum BackendType - implements com.google.protobuf.ProtocolMessageEnum { + public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type is unspecified.
      * 
@@ -266,6 +319,8 @@ public enum BackendType */ BACKEND_TYPE_UNSPECIFIED(0), /** + * + * *
      * Backend Service as the load balancer's backend.
      * 
@@ -274,6 +329,8 @@ public enum BackendType */ BACKEND_SERVICE(1), /** + * + * *
      * Target Pool as the load balancer's backend.
      * 
@@ -285,6 +342,8 @@ public enum BackendType ; /** + * + * *
      * Type is unspecified.
      * 
@@ -293,6 +352,8 @@ public enum BackendType */ public static final int BACKEND_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Backend Service as the load balancer's backend.
      * 
@@ -301,6 +362,8 @@ public enum BackendType */ public static final int BACKEND_SERVICE_VALUE = 1; /** + * + * *
      * Target Pool as the load balancer's backend.
      * 
@@ -309,7 +372,6 @@ public enum BackendType */ public static final int TARGET_POOL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -334,49 +396,51 @@ public static BackendType valueOf(int value) { */ public static BackendType forNumber(int value) { switch (value) { - case 0: return BACKEND_TYPE_UNSPECIFIED; - case 1: return BACKEND_SERVICE; - case 2: return TARGET_POOL; - default: return null; + case 0: + return BACKEND_TYPE_UNSPECIFIED; + case 1: + return BACKEND_SERVICE; + case 2: + return TARGET_POOL; + 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< - BackendType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BackendType findValueByNumber(int number) { - return BackendType.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 BackendType findValueByNumber(int number) { + return BackendType.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.networkmanagement.v1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDescriptor() + .getEnumTypes() + .get(1); } private static final BackendType[] VALUES = values(); - public static BackendType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BackendType 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; @@ -396,38 +460,59 @@ private BackendType(int value) { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 1; private int loadBalancerType_ = 0; /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The loadBalancerType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); - return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType + getLoadBalancerType() { + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber( + loadBalancerType_); + return result == null + ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED + : result; } public static final int HEALTH_CHECK_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object healthCheckUri_ = ""; /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The healthCheckUri. */ @java.lang.Override @@ -436,29 +521,29 @@ public java.lang.String getHealthCheckUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; } } /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The bytes for healthCheckUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getHealthCheckUriBytes() { + public com.google.protobuf.ByteString getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -467,9 +552,12 @@ public java.lang.String getHealthCheckUri() { } public static final int BACKENDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List backends_; /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -477,10 +565,13 @@ public java.lang.String getHealthCheckUri() { * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List getBackendsList() { + public java.util.List + getBackendsList() { return backends_; } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -488,11 +579,14 @@ public java.util.List * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> getBackendsOrBuilderList() { return backends_; } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -504,6 +598,8 @@ public int getBackendsCount() { return backends_.size(); } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -515,6 +611,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend getBackends(int return backends_.get(index); } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -530,38 +628,53 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBac public static final int BACKEND_TYPE_FIELD_NUMBER = 4; private int backendType_ = 0; /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override public int getBackendTypeValue() { + @java.lang.Override + public int getBackendTypeValue() { return backendType_; } /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * * @return The backendType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber(backendType_); - return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType() { + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber(backendType_); + return result == null + ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED + : result; } public static final int BACKEND_URI_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object backendUri_ = ""; /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The backendUri. */ @java.lang.Override @@ -570,29 +683,29 @@ public java.lang.String getBackendUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; } } /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The bytes for backendUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackendUriBytes() { + public com.google.protobuf.ByteString getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backendUri_ = b; return b; } else { @@ -601,6 +714,7 @@ public java.lang.String getBackendUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -612,9 +726,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (loadBalancerType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (loadBalancerType_ + != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType + .LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { @@ -623,7 +739,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < backends_.size(); i++) { output.writeMessage(3, backends_.get(i)); } - if (backendType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { + if (backendType_ + != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType + .BACKEND_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { @@ -638,20 +757,23 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (loadBalancerType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, loadBalancerType_); + if (loadBalancerType_ + != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType + .LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, healthCheckUri_); } for (int i = 0; i < backends_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, backends_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, backends_.get(i)); } - if (backendType_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, backendType_); + if (backendType_ + != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType + .BACKEND_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, backendUri_); @@ -664,21 +786,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.networkmanagement.v1.LoadBalancerInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.LoadBalancerInfo other = (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) obj; + com.google.cloud.networkmanagement.v1.LoadBalancerInfo other = + (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) obj; if (loadBalancerType_ != other.loadBalancerType_) return false; - if (!getHealthCheckUri() - .equals(other.getHealthCheckUri())) return false; - if (!getBackendsList() - .equals(other.getBackendsList())) return false; + if (!getHealthCheckUri().equals(other.getHealthCheckUri())) return false; + if (!getBackendsList().equals(other.getBackendsList())) return false; if (backendType_ != other.backendType_) return false; - if (!getBackendUri() - .equals(other.getBackendUri())) return false; + if (!getBackendUri().equals(other.getBackendUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -708,129 +828,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo 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.networkmanagement.v1.LoadBalancerInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.LoadBalancerInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.LoadBalancerInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a load balancer.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.LoadBalancerInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.LoadBalancerInfo) com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.class, + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.LoadBalancerInfo.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(); @@ -850,9 +977,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor; } @java.lang.Override @@ -871,14 +998,18 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo buildPartial() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo result = new com.google.cloud.networkmanagement.v1.LoadBalancerInfo(this); + com.google.cloud.networkmanagement.v1.LoadBalancerInfo result = + new com.google.cloud.networkmanagement.v1.LoadBalancerInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.LoadBalancerInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.LoadBalancerInfo result) { if (backendsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { backends_ = java.util.Collections.unmodifiableList(backends_); @@ -910,38 +1041,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.LoadBalancerInf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.LoadBalancerInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.LoadBalancerInfo) other); } else { super.mergeFrom(other); return this; @@ -949,7 +1081,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.LoadBalancerInfo other) { - if (other == com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) + return this; if (other.loadBalancerType_ != 0) { setLoadBalancerTypeValue(other.getLoadBalancerTypeValue()); } @@ -976,9 +1109,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.LoadBalancerInfo backendsBuilder_ = null; backends_ = other.backends_; bitField0_ = (bitField0_ & ~0x00000004); - backendsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBackendsFieldBuilder() : null; + backendsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBackendsFieldBuilder() + : null; } else { backendsBuilder_.addAllMessages(other.backends_); } @@ -1018,45 +1152,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - loadBalancerType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - healthCheckUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.cloud.networkmanagement.v1.LoadBalancerBackend m = - input.readMessage( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.parser(), - extensionRegistry); - if (backendsBuilder_ == null) { - ensureBackendsIsMutable(); - backends_.add(m); - } else { - backendsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - backendType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - backendUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + loadBalancerType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + healthCheckUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.networkmanagement.v1.LoadBalancerBackend m = + input.readMessage( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.parser(), + extensionRegistry); + if (backendsBuilder_ == null) { + ensureBackendsIsMutable(); + backends_.add(m); + } else { + backendsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + backendType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + backendUri_ = 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) { @@ -1066,26 +1206,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int loadBalancerType_ = 0; /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ @@ -1096,28 +1248,44 @@ public Builder setLoadBalancerTypeValue(int value) { return this; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The loadBalancerType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); - return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType + getLoadBalancerType() { + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType result = + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.forNumber( + loadBalancerType_); + return result == null + ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType(com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType value) { + public Builder setLoadBalancerType( + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } @@ -1127,11 +1295,16 @@ public Builder setLoadBalancerType(com.google.cloud.networkmanagement.v1.LoadBal return this; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return This builder for chaining. */ public Builder clearLoadBalancerType() { @@ -1143,18 +1316,20 @@ public Builder clearLoadBalancerType() { private java.lang.Object healthCheckUri_ = ""; /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @return The healthCheckUri. */ public java.lang.String getHealthCheckUri() { java.lang.Object ref = healthCheckUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; @@ -1163,20 +1338,21 @@ public java.lang.String getHealthCheckUri() { } } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @return The bytes for healthCheckUri. */ - public com.google.protobuf.ByteString - getHealthCheckUriBytes() { + public com.google.protobuf.ByteString getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -1184,28 +1360,35 @@ public java.lang.String getHealthCheckUri() { } } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @param value The healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } healthCheckUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @return This builder for chaining. */ public Builder clearHealthCheckUri() { @@ -1215,17 +1398,21 @@ public Builder clearHealthCheckUri() { return this; } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @param value The bytes for healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); healthCheckUri_ = value; bitField0_ |= 0x00000002; @@ -1234,25 +1421,34 @@ public Builder setHealthCheckUriBytes( } private java.util.List backends_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBackendsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - backends_ = new java.util.ArrayList(backends_); + backends_ = + new java.util.ArrayList( + backends_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> backendsBuilder_; + com.google.cloud.networkmanagement.v1.LoadBalancerBackend, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, + com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> + backendsBuilder_; /** + * + * *
      * Information for the loadbalancer backends.
      * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - public java.util.List getBackendsList() { + public java.util.List + getBackendsList() { if (backendsBuilder_ == null) { return java.util.Collections.unmodifiableList(backends_); } else { @@ -1260,6 +1456,8 @@ public java.util.List } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1274,6 +1472,8 @@ public int getBackendsCount() { } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1288,6 +1488,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend getBackends(int } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1309,6 +1511,8 @@ public Builder setBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1316,7 +1520,8 @@ public Builder setBackends( * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public Builder setBackends( - int index, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.set(index, builderForValue.build()); @@ -1327,6 +1532,8 @@ public Builder setBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1347,6 +1554,8 @@ public Builder addBackends(com.google.cloud.networkmanagement.v1.LoadBalancerBac return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1368,6 +1577,8 @@ public Builder addBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1386,6 +1597,8 @@ public Builder addBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1393,7 +1606,8 @@ public Builder addBackends( * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public Builder addBackends( - int index, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.add(index, builderForValue.build()); @@ -1404,6 +1618,8 @@ public Builder addBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1411,11 +1627,11 @@ public Builder addBackends( * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public Builder addAllBackends( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, backends_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backends_); onChanged(); } else { backendsBuilder_.addAllMessages(values); @@ -1423,6 +1639,8 @@ public Builder addAllBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1440,6 +1658,8 @@ public Builder clearBackends() { return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1457,6 +1677,8 @@ public Builder removeBackends(int index) { return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1468,6 +1690,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder getBack return getBackendsFieldBuilder().getBuilder(index); } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1477,19 +1701,23 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder getBack public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBackendsOrBuilder( int index) { if (backendsBuilder_ == null) { - return backends_.get(index); } else { + return backends_.get(index); + } else { return backendsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - public java.util.List - getBackendsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> + getBackendsOrBuilderList() { if (backendsBuilder_ != null) { return backendsBuilder_.getMessageOrBuilderList(); } else { @@ -1497,6 +1725,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBac } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1504,10 +1734,13 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBac * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBackendsBuilder() { - return getBackendsFieldBuilder().addBuilder( - com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); + return getBackendsFieldBuilder() + .addBuilder( + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); } /** + * + * *
      * Information for the loadbalancer backends.
      * 
@@ -1516,30 +1749,37 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBack */ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBackendsBuilder( int index) { - return getBackendsFieldBuilder().addBuilder( - index, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); + return getBackendsFieldBuilder() + .addBuilder( + index, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.getDefaultInstance()); } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - public java.util.List - getBackendsBuilderList() { + public java.util.List + getBackendsBuilderList() { return getBackendsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> + com.google.cloud.networkmanagement.v1.LoadBalancerBackend, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, + com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> getBackendsFieldBuilder() { if (backendsBuilder_ == null) { - backendsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder>( - backends_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + backendsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1.LoadBalancerBackend, + com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder, + com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder>( + backends_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); backends_ = null; } return backendsBuilder_; @@ -1547,22 +1787,31 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerBackend.Builder addBack private int backendType_ = 0; /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override public int getBackendTypeValue() { + @java.lang.Override + public int getBackendTypeValue() { return backendType_; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @param value The enum numeric value on the wire for backendType to set. * @return This builder for chaining. */ @@ -1573,28 +1822,41 @@ public Builder setBackendTypeValue(int value) { return this; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The backendType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber(backendType_); - return result == null ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType result = + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.forNumber( + backendType_); + return result == null + ? com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @param value The backendType to set. * @return This builder for chaining. */ - public Builder setBackendType(com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType value) { + public Builder setBackendType( + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType value) { if (value == null) { throw new NullPointerException(); } @@ -1604,11 +1866,15 @@ public Builder setBackendType(com.google.cloud.networkmanagement.v1.LoadBalancer return this; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return This builder for chaining. */ public Builder clearBackendType() { @@ -1620,18 +1886,20 @@ public Builder clearBackendType() { private java.lang.Object backendUri_ = ""; /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @return The backendUri. */ public java.lang.String getBackendUri() { java.lang.Object ref = backendUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; @@ -1640,20 +1908,21 @@ public java.lang.String getBackendUri() { } } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @return The bytes for backendUri. */ - public com.google.protobuf.ByteString - getBackendUriBytes() { + public com.google.protobuf.ByteString getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backendUri_ = b; return b; } else { @@ -1661,28 +1930,35 @@ public java.lang.String getBackendUri() { } } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @param value The backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackendUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backendUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @return This builder for chaining. */ public Builder clearBackendUri() { @@ -1692,26 +1968,30 @@ public Builder clearBackendUri() { return this; } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @param value The bytes for backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackendUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backendUri_ = 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); } @@ -1721,12 +2001,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.LoadBalancerInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.LoadBalancerInfo) private static final com.google.cloud.networkmanagement.v1.LoadBalancerInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.LoadBalancerInfo(); } @@ -1735,27 +2015,27 @@ public static com.google.cloud.networkmanagement.v1.LoadBalancerInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerInfo 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 LoadBalancerInfo 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; @@ -1770,6 +2050,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java similarity index 72% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java index 8ccdb855348d..b24cc0262270 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/LoadBalancerInfoOrBuilder.java @@ -1,61 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface LoadBalancerInfoOrBuilder extends +public interface LoadBalancerInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.LoadBalancerInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The loadBalancerType. */ com.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType(); /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The healthCheckUri. */ java.lang.String getHealthCheckUri(); /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The bytes for healthCheckUri. */ - com.google.protobuf.ByteString - getHealthCheckUriBytes(); + com.google.protobuf.ByteString getHealthCheckUriBytes(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - java.util.List - getBackendsList(); + java.util.List getBackendsList(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -64,6 +98,8 @@ public interface LoadBalancerInfoOrBuilder extends */ com.google.cloud.networkmanagement.v1.LoadBalancerBackend getBackends(int index); /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -72,15 +108,19 @@ public interface LoadBalancerInfoOrBuilder extends */ int getBackendsCount(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3; */ - java.util.List + java.util.List getBackendsOrBuilderList(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -91,41 +131,52 @@ com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder getBackendsOr int index); /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * * @return The enum numeric value on the wire for backendType. */ int getBackendTypeValue(); /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4; + * * @return The backendType. */ com.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType getBackendType(); /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The backendUri. */ java.lang.String getBackendUri(); /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The bytes for backendUri. */ - com.google.protobuf.ByteString - getBackendUriBytes(); + com.google.protobuf.ByteString getBackendUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java similarity index 68% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java index b45252ff0b1e..49e1544fdbf5 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine network.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.NetworkInfo} */ -public final class NetworkInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NetworkInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.NetworkInfo) NetworkInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkInfo.newBuilder() to construct. private NetworkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkInfo() { displayName_ = ""; uri_ = ""; @@ -27,38 +45,43 @@ private NetworkInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.NetworkInfo.class, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1.NetworkInfo.class, + com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -67,29 +90,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -145,14 +172,18 @@ public java.lang.String getUri() { } public static final int MATCHED_IP_RANGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object matchedIpRange_ = ""; /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The matchedIpRange. */ @java.lang.Override @@ -161,29 +192,29 @@ public java.lang.String getMatchedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; } } /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The bytes for matchedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -192,6 +223,7 @@ public java.lang.String getMatchedIpRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +235,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -240,19 +271,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.NetworkInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.NetworkInfo other = (com.google.cloud.networkmanagement.v1.NetworkInfo) obj; + com.google.cloud.networkmanagement.v1.NetworkInfo other = + (com.google.cloud.networkmanagement.v1.NetworkInfo) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getMatchedIpRange() - .equals(other.getMatchedIpRange())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getMatchedIpRange().equals(other.getMatchedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,129 +305,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.NetworkInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo 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.networkmanagement.v1.NetworkInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.NetworkInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.NetworkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine network.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.NetworkInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.NetworkInfo) com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.NetworkInfo.class, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1.NetworkInfo.class, + com.google.cloud.networkmanagement.v1.NetworkInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.NetworkInfo.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(); @@ -410,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor; } @java.lang.Override @@ -431,8 +466,11 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.NetworkInfo buildPartial() { - com.google.cloud.networkmanagement.v1.NetworkInfo result = new com.google.cloud.networkmanagement.v1.NetworkInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.NetworkInfo result = + new com.google.cloud.networkmanagement.v1.NetworkInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -454,38 +492,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.NetworkInfo 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.networkmanagement.v1.NetworkInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.NetworkInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.NetworkInfo) other); } else { super.mergeFrom(other); return this; @@ -493,7 +532,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.NetworkInfo other) { - if (other == com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -535,27 +575,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - matchedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + matchedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -565,22 +609,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -589,20 +636,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -610,28 +658,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -641,17 +696,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -661,18 +720,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -681,20 +742,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -702,28 +764,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -733,17 +802,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -753,18 +826,20 @@ public Builder setUriBytes( private java.lang.Object matchedIpRange_ = ""; /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @return The matchedIpRange. */ public java.lang.String getMatchedIpRange() { java.lang.Object ref = matchedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; @@ -773,20 +848,21 @@ public java.lang.String getMatchedIpRange() { } } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @return The bytes for matchedIpRange. */ - public com.google.protobuf.ByteString - getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -794,28 +870,35 @@ public java.lang.String getMatchedIpRange() { } } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @param value The matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } matchedIpRange_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @return This builder for chaining. */ public Builder clearMatchedIpRange() { @@ -825,26 +908,30 @@ public Builder clearMatchedIpRange() { return this; } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @param value The bytes for matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); matchedIpRange_ = 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); } @@ -854,12 +941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.NetworkInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.NetworkInfo) private static final com.google.cloud.networkmanagement.v1.NetworkInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.NetworkInfo(); } @@ -868,27 +955,27 @@ public static com.google.cloud.networkmanagement.v1.NetworkInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkInfo 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 NetworkInfo 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; @@ -903,6 +990,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.NetworkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java similarity index 59% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java index bcf72b5218ae..ec69c355ba9b 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/NetworkInfoOrBuilder.java @@ -1,69 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface NetworkInfoOrBuilder extends +public interface NetworkInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.NetworkInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The matchedIpRange. */ java.lang.String getMatchedIpRange(); /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The bytes for matchedIpRange. */ - com.google.protobuf.ByteString - getMatchedIpRangeBytes(); + com.google.protobuf.ByteString getMatchedIpRangeBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java similarity index 72% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java index 6e0e7dccf663..a10491271500 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Metadata describing an [Operation][google.longrunning.Operation]
  * 
* * Protobuf type {@code google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,37 +46,41 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.OperationMetadata.class, com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1.OperationMetadata.class, + com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -92,11 +119,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -104,11 +134,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -116,6 +149,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -128,15 +163,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -145,30 +184,30 @@ 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; } } /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -177,14 +216,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -193,29 +236,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -224,14 +267,18 @@ public java.lang.String getVerb() { } public static final int STATUS_DETAIL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusDetail_ = ""; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -240,29 +287,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -273,11 +320,14 @@ public java.lang.String getStatusDetail() { public static final int CANCEL_REQUESTED_FIELD_NUMBER = 6; private boolean cancelRequested_ = false; /** + * + * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; + * * @return The cancelRequested. */ @java.lang.Override @@ -286,14 +336,18 @@ public boolean getCancelRequested() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ @java.lang.Override @@ -302,29 +356,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -333,6 +387,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -377,12 +431,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -394,8 +446,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_); } if (cancelRequested_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, cancelRequested_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancelRequested_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -408,33 +459,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.OperationMetadata other = (com.google.cloud.networkmanagement.v1.OperationMetadata) obj; + com.google.cloud.networkmanagement.v1.OperationMetadata other = + (com.google.cloud.networkmanagement.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusDetail() - .equals(other.getStatusDetail())) return false; - if (getCancelRequested() - != other.getCancelRequested()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (getCancelRequested() != other.getCancelRequested()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -461,8 +506,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER; hash = (53 * hash) + getStatusDetail().hashCode(); hash = (37 * hash) + CANCEL_REQUESTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCancelRequested()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancelRequested()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -471,129 +515,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.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.networkmanagement.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.networkmanagement.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.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.networkmanagement.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.networkmanagement.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.networkmanagement.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata describing an [Operation][google.longrunning.Operation]
    * 
* * Protobuf type {@code google.cloud.networkmanagement.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.networkmanagement.v1.OperationMetadata) com.google.cloud.networkmanagement.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.OperationMetadata.class, com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1.OperationMetadata.class, + com.google.cloud.networkmanagement.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.OperationMetadata.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(); @@ -617,9 +668,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -638,8 +689,11 @@ public com.google.cloud.networkmanagement.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.OperationMetadata buildPartial() { - com.google.cloud.networkmanagement.v1.OperationMetadata result = new com.google.cloud.networkmanagement.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.OperationMetadata result = + new com.google.cloud.networkmanagement.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -647,14 +701,10 @@ public com.google.cloud.networkmanagement.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.networkmanagement.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -677,38 +727,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.OperationMetada public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.networkmanagement.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -716,7 +767,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.OperationMetadata other) { - if (other == com.google.cloud.networkmanagement.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -772,51 +824,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: { - statusDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - cancelRequested_ = 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: + { + statusDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + cancelRequested_ = 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) { @@ -826,38 +882,52 @@ 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_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -878,14 +948,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -896,6 +967,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -904,9 +977,9 @@ public Builder setCreateTime( */ 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; @@ -919,6 +992,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -936,6 +1011,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -948,6 +1025,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -958,11 +1037,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -970,14 +1052,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -985,24 +1070,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1013,6 +1107,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1033,14 +1129,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1051,6 +1148,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1059,9 +1158,9 @@ public Builder setEndTime( */ 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; @@ -1074,6 +1173,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1091,6 +1192,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1103,6 +1206,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1113,11 +1218,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1125,14 +1231,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1140,19 +1249,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1161,21 +1272,22 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1183,30 +1295,37 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @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; } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1216,18 +1335,22 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @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; @@ -1237,18 +1360,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1257,20 +1382,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1278,28 +1404,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - 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; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1309,17 +1442,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - 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; @@ -1329,18 +1466,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1349,20 +1488,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1370,28 +1510,35 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusDetail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { @@ -1401,17 +1548,21 @@ public Builder clearStatusDetail() { return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusDetail_ = value; bitField0_ |= 0x00000010; @@ -1419,13 +1570,16 @@ public Builder setStatusDetailBytes( return this; } - private boolean cancelRequested_ ; + private boolean cancelRequested_; /** + * + * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; + * * @return The cancelRequested. */ @java.lang.Override @@ -1433,27 +1587,33 @@ public boolean getCancelRequested() { return cancelRequested_; } /** + * + * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; + * * @param value The cancelRequested to set. * @return This builder for chaining. */ public Builder setCancelRequested(boolean value) { - + cancelRequested_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; + * * @return This builder for chaining. */ public Builder clearCancelRequested() { @@ -1465,18 +1625,20 @@ public Builder clearCancelRequested() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1485,20 +1647,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1506,28 +1669,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @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; } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1537,26 +1707,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -1566,12 +1740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.OperationMetadata) private static final com.google.cloud.networkmanagement.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.OperationMetadata(); } @@ -1580,27 +1754,27 @@ public static com.google.cloud.networkmanagement.v1.OperationMetadata getDefault 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; @@ -1615,6 +1789,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java index be952b980f55..f23df362ca68 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,94 +94,117 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; + * * @return The cancelRequested. */ boolean getCancelRequested(); /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java similarity index 75% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java index 0dbb5adf065d..725be39d10af 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetails.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/connectivity_test.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * Results of the configuration analysis from the last run of the test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ReachabilityDetails} */ -public final class ReachabilityDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReachabilityDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.ReachabilityDetails) ReachabilityDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReachabilityDetails.newBuilder() to construct. private ReachabilityDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReachabilityDetails() { result_ = 0; traces_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private ReachabilityDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReachabilityDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); } /** + * + * *
    * The overall result of the test's configuration analysis.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.ReachabilityDetails.Result} */ - public enum Result - implements com.google.protobuf.ProtocolMessageEnum { + public enum Result implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No result was specified.
      * 
@@ -67,6 +89,8 @@ public enum Result */ RESULT_UNSPECIFIED(0), /** + * + * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -80,6 +104,8 @@ public enum Result
      */
     REACHABLE(1),
     /**
+     *
+     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -89,6 +115,8 @@ public enum Result
      */
     UNREACHABLE(2),
     /**
+     *
+     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -100,6 +128,8 @@ public enum Result
      */
     AMBIGUOUS(4),
     /**
+     *
+     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -116,6 +146,8 @@ public enum Result
     ;
 
     /**
+     *
+     *
      * 
      * No result was specified.
      * 
@@ -124,6 +156,8 @@ public enum Result */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -137,6 +171,8 @@ public enum Result
      */
     public static final int REACHABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -146,6 +182,8 @@ public enum Result
      */
     public static final int UNREACHABLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -157,6 +195,8 @@ public enum Result
      */
     public static final int AMBIGUOUS_VALUE = 4;
     /**
+     *
+     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -170,7 +210,6 @@ public enum Result
      */
     public static final int UNDETERMINED_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -195,51 +234,55 @@ public static Result valueOf(int value) {
      */
     public static Result forNumber(int value) {
       switch (value) {
-        case 0: return RESULT_UNSPECIFIED;
-        case 1: return REACHABLE;
-        case 2: return UNREACHABLE;
-        case 4: return AMBIGUOUS;
-        case 5: return UNDETERMINED;
-        default: return null;
+        case 0:
+          return RESULT_UNSPECIFIED;
+        case 1:
+          return REACHABLE;
+        case 2:
+          return UNREACHABLE;
+        case 4:
+          return AMBIGUOUS;
+        case 5:
+          return UNDETERMINED;
+        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<
-        Result> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Result findValueByNumber(int number) {
-              return Result.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 Result findValueByNumber(int number) {
+            return Result.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.networkmanagement.v1.ReachabilityDetails.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Result[] VALUES = values();
 
-    public static Result valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Result 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;
@@ -259,37 +302,51 @@ private Result(int value) {
   public static final int RESULT_FIELD_NUMBER = 1;
   private int result_ = 0;
   /**
+   *
+   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return The result. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); - return result == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult() { + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); + return result == null + ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED + : result; } public static final int VERIFY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp verifyTime_; /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ @java.lang.Override @@ -297,11 +354,14 @@ public boolean hasVerifyTime() { return verifyTime_ != null; } /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ @java.lang.Override @@ -309,6 +369,8 @@ public com.google.protobuf.Timestamp getVerifyTime() { return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } /** + * + * *
    * The time of the configuration analysis.
    * 
@@ -323,11 +385,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -335,11 +400,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -347,6 +415,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -359,9 +429,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } public static final int TRACES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List traces_; /** + * + * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -375,6 +448,8 @@ public java.util.List getTracesList
     return traces_;
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -384,11 +459,13 @@ public java.util.List getTracesList
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTracesOrBuilderList() {
     return traces_;
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -402,6 +479,8 @@ public int getTracesCount() {
     return traces_.size();
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -415,6 +494,8 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
     return traces_.get(index);
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -424,12 +505,12 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
-      int index) {
+  public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(int index) {
     return traces_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -441,9 +522,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (result_ != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (result_
+        != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, result_);
     }
     if (verifyTime_ != null) {
@@ -464,21 +546,19 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (result_ != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, result_);
+    if (result_
+        != com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_);
     }
     if (verifyTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getVerifyTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError());
     }
     for (int i = 0; i < traces_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, traces_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, traces_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -488,26 +568,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.networkmanagement.v1.ReachabilityDetails)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1.ReachabilityDetails other = (com.google.cloud.networkmanagement.v1.ReachabilityDetails) obj;
+    com.google.cloud.networkmanagement.v1.ReachabilityDetails other =
+        (com.google.cloud.networkmanagement.v1.ReachabilityDetails) obj;
 
     if (result_ != other.result_) return false;
     if (hasVerifyTime() != other.hasVerifyTime()) return false;
     if (hasVerifyTime()) {
-      if (!getVerifyTime()
-          .equals(other.getVerifyTime())) return false;
+      if (!getVerifyTime().equals(other.getVerifyTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
-    if (!getTracesList()
-        .equals(other.getTracesList())) return false;
+    if (!getTracesList().equals(other.getTracesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -539,129 +617,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails 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.networkmanagement.v1.ReachabilityDetails parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1.ReachabilityDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.networkmanagement.v1.ReachabilityDetails prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.networkmanagement.v1.ReachabilityDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Results of the configuration analysis from the last run of the test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.ReachabilityDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.ReachabilityDetails) com.google.cloud.networkmanagement.v1.ReachabilityDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1.ReachabilityDetails.class, + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.ReachabilityDetails.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(); @@ -688,9 +773,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; } @java.lang.Override @@ -709,14 +794,18 @@ public com.google.cloud.networkmanagement.v1.ReachabilityDetails build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails buildPartial() { - com.google.cloud.networkmanagement.v1.ReachabilityDetails result = new com.google.cloud.networkmanagement.v1.ReachabilityDetails(this); + com.google.cloud.networkmanagement.v1.ReachabilityDetails result = + new com.google.cloud.networkmanagement.v1.ReachabilityDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.ReachabilityDetails result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.ReachabilityDetails result) { if (tracesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { traces_ = java.util.Collections.unmodifiableList(traces_); @@ -734,14 +823,10 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ReachabilityDet result.result_ = result_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyTime_ = verifyTimeBuilder_ == null - ? verifyTime_ - : verifyTimeBuilder_.build(); + result.verifyTime_ = verifyTimeBuilder_ == null ? verifyTime_ : verifyTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.error_ = errorBuilder_ == null - ? error_ - : errorBuilder_.build(); + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); } } @@ -749,38 +834,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.ReachabilityDet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.ReachabilityDetails) { - return mergeFrom((com.google.cloud.networkmanagement.v1.ReachabilityDetails)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.ReachabilityDetails) other); } else { super.mergeFrom(other); return this; @@ -788,7 +874,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ReachabilityDetails other) { - if (other == com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.ReachabilityDetails.getDefaultInstance()) + return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -816,9 +903,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.ReachabilityDetai tracesBuilder_ = null; traces_ = other.traces_; bitField0_ = (bitField0_ & ~0x00000008); - tracesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracesFieldBuilder() : null; + tracesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracesFieldBuilder() + : null; } else { tracesBuilder_.addAllMessages(other.traces_); } @@ -850,44 +938,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getVerifyTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: { - com.google.cloud.networkmanagement.v1.Trace m = - input.readMessage( - com.google.cloud.networkmanagement.v1.Trace.parser(), - extensionRegistry); - if (tracesBuilder_ == null) { - ensureTracesIsMutable(); - traces_.add(m); - } else { - tracesBuilder_.addMessage(m); - } - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getVerifyTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: + { + com.google.cloud.networkmanagement.v1.Trace m = + input.readMessage( + com.google.cloud.networkmanagement.v1.Trace.parser(), extensionRegistry); + if (tracesBuilder_ == null) { + ensureTracesIsMutable(); + traces_.add(m); + } else { + tracesBuilder_.addMessage(m); + } + 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) { @@ -897,26 +985,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int result_ = 0; /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -927,28 +1023,38 @@ public Builder setResultValue(int value) { return this; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return The result. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); - return result == null ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.forNumber(result_); + return result == null + ? com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result.UNRECOGNIZED + : result; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult(com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result value) { + public Builder setResult( + com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result value) { if (value == null) { throw new NullPointerException(); } @@ -958,11 +1064,14 @@ public Builder setResult(com.google.cloud.networkmanagement.v1.ReachabilityDetai return this; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return This builder for chaining. */ public Builder clearResult() { @@ -974,34 +1083,47 @@ public Builder clearResult() { private com.google.protobuf.Timestamp verifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> verifyTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + verifyTimeBuilder_; /** + * + * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ public boolean hasVerifyTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ public com.google.protobuf.Timestamp getVerifyTime() { if (verifyTimeBuilder_ == null) { - return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; + return verifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : verifyTime_; } else { return verifyTimeBuilder_.getMessage(); } } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1022,14 +1144,15 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; */ - public Builder setVerifyTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (verifyTimeBuilder_ == null) { verifyTime_ = builderForValue.build(); } else { @@ -1040,6 +1163,8 @@ public Builder setVerifyTime( return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1048,9 +1173,9 @@ public Builder setVerifyTime( */ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { if (verifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - verifyTime_ != null && - verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && verifyTime_ != null + && verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getVerifyTimeBuilder().mergeFrom(value); } else { verifyTime_ = value; @@ -1063,6 +1188,8 @@ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1080,6 +1207,8 @@ public Builder clearVerifyTime() { return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1092,6 +1221,8 @@ public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder() { return getVerifyTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1102,11 +1233,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { if (verifyTimeBuilder_ != null) { return verifyTimeBuilder_.getMessageOrBuilder(); } else { - return verifyTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; + return verifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : verifyTime_; } } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1114,14 +1248,17 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { * .google.protobuf.Timestamp verify_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getVerifyTimeFieldBuilder() { if (verifyTimeBuilder_ == null) { - verifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getVerifyTime(), - getParentForChildren(), - isClean()); + verifyTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getVerifyTime(), getParentForChildren(), isClean()); verifyTime_ = null; } return verifyTimeBuilder_; @@ -1129,24 +1266,31 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1157,6 +1301,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1177,14 +1323,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -1195,6 +1342,8 @@ public Builder setError( return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1203,9 +1352,9 @@ public Builder setError( */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - error_ != null && - error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -1218,6 +1367,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1235,6 +1386,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1247,6 +1400,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1257,11 +1412,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1269,32 +1425,38 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } private java.util.List traces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTracesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { traces_ = new java.util.ArrayList(traces_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1.Trace, com.google.cloud.networkmanagement.v1.Trace.Builder, com.google.cloud.networkmanagement.v1.TraceOrBuilder> tracesBuilder_; + com.google.cloud.networkmanagement.v1.Trace, + com.google.cloud.networkmanagement.v1.Trace.Builder, + com.google.cloud.networkmanagement.v1.TraceOrBuilder> + tracesBuilder_; /** + * + * *
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1311,6 +1473,8 @@ public java.util.List getTracesList
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1327,6 +1491,8 @@ public int getTracesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1343,6 +1509,8 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1351,8 +1519,7 @@ public com.google.cloud.networkmanagement.v1.Trace getTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public Builder setTraces(
-        int index, com.google.cloud.networkmanagement.v1.Trace value) {
+    public Builder setTraces(int index, com.google.cloud.networkmanagement.v1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1366,6 +1533,8 @@ public Builder setTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1386,6 +1555,8 @@ public Builder setTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1408,6 +1579,8 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1416,8 +1589,7 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace value) {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public Builder addTraces(
-        int index, com.google.cloud.networkmanagement.v1.Trace value) {
+    public Builder addTraces(int index, com.google.cloud.networkmanagement.v1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1431,6 +1603,8 @@ public Builder addTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1439,8 +1613,7 @@ public Builder addTraces(
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public Builder addTraces(
-        com.google.cloud.networkmanagement.v1.Trace.Builder builderForValue) {
+    public Builder addTraces(com.google.cloud.networkmanagement.v1.Trace.Builder builderForValue) {
       if (tracesBuilder_ == null) {
         ensureTracesIsMutable();
         traces_.add(builderForValue.build());
@@ -1451,6 +1624,8 @@ public Builder addTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1471,6 +1646,8 @@ public Builder addTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1483,8 +1660,7 @@ public Builder addAllTraces(
         java.lang.Iterable values) {
       if (tracesBuilder_ == null) {
         ensureTracesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, traces_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, traces_);
         onChanged();
       } else {
         tracesBuilder_.addAllMessages(values);
@@ -1492,6 +1668,8 @@ public Builder addAllTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1511,6 +1689,8 @@ public Builder clearTraces() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1530,6 +1710,8 @@ public Builder removeTraces(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1538,11 +1720,12 @@ public Builder removeTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1.Trace.Builder getTracesBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1.Trace.Builder getTracesBuilder(int index) {
       return getTracesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1551,14 +1734,16 @@ public com.google.cloud.networkmanagement.v1.Trace.Builder getTracesBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(int index) {
       if (tracesBuilder_ == null) {
-        return traces_.get(index);  } else {
+        return traces_.get(index);
+      } else {
         return tracesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1567,8 +1752,8 @@ public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public java.util.List 
-         getTracesOrBuilderList() {
+    public java.util.List
+        getTracesOrBuilderList() {
       if (tracesBuilder_ != null) {
         return tracesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1576,6 +1761,8 @@ public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1585,10 +1772,12 @@ public com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
     public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder() {
-      return getTracesFieldBuilder().addBuilder(
-          com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
+      return getTracesFieldBuilder()
+          .addBuilder(com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1597,12 +1786,13 @@ public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder() {
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder(
-        int index) {
-      return getTracesFieldBuilder().addBuilder(
-          index, com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder(int index) {
+      return getTracesFieldBuilder()
+          .addBuilder(index, com.google.cloud.networkmanagement.v1.Trace.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1611,27 +1801,30 @@ public com.google.cloud.networkmanagement.v1.Trace.Builder addTracesBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
      */
-    public java.util.List 
-         getTracesBuilderList() {
+    public java.util.List
+        getTracesBuilderList() {
       return getTracesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.Trace, com.google.cloud.networkmanagement.v1.Trace.Builder, com.google.cloud.networkmanagement.v1.TraceOrBuilder> 
+            com.google.cloud.networkmanagement.v1.Trace,
+            com.google.cloud.networkmanagement.v1.Trace.Builder,
+            com.google.cloud.networkmanagement.v1.TraceOrBuilder>
         getTracesFieldBuilder() {
       if (tracesBuilder_ == null) {
-        tracesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.Trace, com.google.cloud.networkmanagement.v1.Trace.Builder, com.google.cloud.networkmanagement.v1.TraceOrBuilder>(
-                traces_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        tracesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1.Trace,
+                com.google.cloud.networkmanagement.v1.Trace.Builder,
+                com.google.cloud.networkmanagement.v1.TraceOrBuilder>(
+                traces_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         traces_ = null;
       }
       return tracesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1641,12 +1834,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.ReachabilityDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.ReachabilityDetails)
   private static final com.google.cloud.networkmanagement.v1.ReachabilityDetails DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.ReachabilityDetails();
   }
@@ -1655,27 +1848,27 @@ public static com.google.cloud.networkmanagement.v1.ReachabilityDetails getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReachabilityDetails 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 ReachabilityDetails 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;
@@ -1690,6 +1883,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.networkmanagement.v1.ReachabilityDetails getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
index 34078d568b38..72bd0f904b52 100644
--- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityDetailsOrBuilder.java
@@ -1,50 +1,80 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/connectivity_test.proto
 
 package com.google.cloud.networkmanagement.v1;
 
-public interface ReachabilityDetailsOrBuilder extends
+public interface ReachabilityDetailsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.ReachabilityDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** + * + * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1; + * * @return The result. */ com.google.cloud.networkmanagement.v1.ReachabilityDetails.Result getResult(); /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ boolean hasVerifyTime(); /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ com.google.protobuf.Timestamp getVerifyTime(); /** + * + * *
    * The time of the configuration analysis.
    * 
@@ -54,24 +84,32 @@ public interface ReachabilityDetailsOrBuilder extends com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder(); /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -81,6 +119,8 @@ public interface ReachabilityDetailsOrBuilder extends com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** + * + * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -89,9 +129,10 @@ public interface ReachabilityDetailsOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
-  java.util.List 
-      getTracesList();
+  java.util.List getTracesList();
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -102,6 +143,8 @@ public interface ReachabilityDetailsOrBuilder extends
    */
   com.google.cloud.networkmanagement.v1.Trace getTraces(int index);
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -112,6 +155,8 @@ public interface ReachabilityDetailsOrBuilder extends
    */
   int getTracesCount();
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -120,9 +165,11 @@ public interface ReachabilityDetailsOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
-  java.util.List 
+  java.util.List
       getTracesOrBuilderList();
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -131,6 +178,5 @@ public interface ReachabilityDetailsOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1.Trace traces = 5;
    */
-  com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(
-      int index);
+  com.google.cloud.networkmanagement.v1.TraceOrBuilder getTracesOrBuilder(int index);
 }
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
new file mode 100644
index 000000000000..807df54c5552
--- /dev/null
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java
@@ -0,0 +1,256 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1/reachability.proto
+
+package com.google.cloud.networkmanagement.v1;
+
+public final class ReachabilityServiceProto {
+  private ReachabilityServiceProto() {}
+
+  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_networkmanagement_v1_ListConnectivityTestsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/networkmanagement/v1/reac"
+          + "hability.proto\022!google.cloud.networkmana"
+          + "gement.v1\032\034google/api/annotations.proto\032"
+          + "\027google/api/client.proto\032\037google/api/fie"
+          + "ld_behavior.proto\0329google/cloud/networkm"
+          + "anagement/v1/connectivity_test.proto\032#go"
+          + "ogle/longrunning/operations.proto\032 googl"
+          + "e/protobuf/field_mask.proto\032\037google/prot"
+          + "obuf/timestamp.proto\"|\n\034ListConnectivity"
+          + "TestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpag"
+          + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt"
+          + "er\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\225\001\n\035ListConne"
+          + "ctivityTestsResponse\022F\n\tresources\030\001 \003(\0132"
+          + "3.google.cloud.networkmanagement.v1.Conn"
+          + "ectivityTest\022\027\n\017next_page_token\030\002 \001(\t\022\023\n"
+          + "\013unreachable\030\003 \003(\t\"/\n\032GetConnectivityTes"
+          + "tRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateCo"
+          + "nnectivityTestRequest\022\023\n\006parent\030\001 \001(\tB\003\340"
+          + "A\002\022\024\n\007test_id\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001"
+          + "(\01323.google.cloud.networkmanagement.v1.C"
+          + "onnectivityTestB\003\340A\002\"\241\001\n\035UpdateConnectiv"
+          + "ityTestRequest\0224\n\013update_mask\030\001 \001(\0132\032.go"
+          + "ogle.protobuf.FieldMaskB\003\340A\002\022J\n\010resource"
+          + "\030\002 \001(\01323.google.cloud.networkmanagement."
+          + "v1.ConnectivityTestB\003\340A\002\"2\n\035DeleteConnec"
+          + "tivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034"
+          + "RerunConnectivityTestRequest\022\021\n\004name\030\001 \001"
+          + "(\tB\003\340A\002\"\326\001\n\021OperationMetadata\022/\n\013create_"
+          + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022,"
+          + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times"
+          + "tamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rst"
+          + "atus_detail\030\005 \001(\t\022\030\n\020cancel_requested\030\006 "
+          + "\001(\010\022\023\n\013api_version\030\007 \001(\t2\226\r\n\023Reachabilit"
+          + "yService\022\347\001\n\025ListConnectivityTests\022?.goo"
+          + "gle.cloud.networkmanagement.v1.ListConne"
+          + "ctivityTestsRequest\032@.google.cloud.netwo"
+          + "rkmanagement.v1.ListConnectivityTestsRes"
+          + "ponse\"K\202\323\344\223\002<\022:/v1/{parent=projects/*/lo"
+          + "cations/global}/connectivityTests\332A\006pare"
+          + "nt\022\324\001\n\023GetConnectivityTest\022=.google.clou"
+          + "d.networkmanagement.v1.GetConnectivityTe"
+          + "stRequest\0323.google.cloud.networkmanageme"
+          + "nt.v1.ConnectivityTest\"I\202\323\344\223\002<\022:/v1/{nam"
+          + "e=projects/*/locations/global/connectivi"
+          + "tyTests/*}\332A\004name\022\254\002\n\026CreateConnectivity"
+          + "Test\022@.google.cloud.networkmanagement.v1"
+          + ".CreateConnectivityTestRequest\032\035.google."
+          + "longrunning.Operation\"\260\001\202\323\344\223\002F\":/v1/{par"
+          + "ent=projects/*/locations/global}/connect"
+          + "ivityTests:\010resource\332A\027parent,test_id,re"
+          + "source\312AG\n2google.cloud.networkmanagemen"
+          + "t.v1.ConnectivityTest\022\021OperationMetadata"
+          + "\022\262\002\n\026UpdateConnectivityTest\022@.google.clo"
+          + "ud.networkmanagement.v1.UpdateConnectivi"
+          + "tyTestRequest\032\035.google.longrunning.Opera"
+          + "tion\"\266\001\202\323\344\223\002O2C/v1/{resource.name=projec"
+          + "ts/*/locations/global/connectivityTests/"
+          + "*}:\010resource\332A\024update_mask,resource\312AG\n2"
+          + "google.cloud.networkmanagement.v1.Connec"
+          + "tivityTest\022\021OperationMetadata\022\217\002\n\025RerunC"
+          + "onnectivityTest\022?.google.cloud.networkma"
+          + "nagement.v1.RerunConnectivityTestRequest"
+          + "\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002E"
+          + "\"@/v1/{name=projects/*/locations/global/"
+          + "connectivityTests/*}:rerun:\001*\312AG\n2google"
+          + ".cloud.networkmanagement.v1.Connectivity"
+          + "Test\022\021OperationMetadata\022\361\001\n\026DeleteConnec"
+          + "tivityTest\022@.google.cloud.networkmanagem"
+          + "ent.v1.DeleteConnectivityTestRequest\032\035.g"
+          + "oogle.longrunning.Operation\"v\202\323\344\223\002<*:/v1"
+          + "/{name=projects/*/locations/global/conne"
+          + "ctivityTests/*}\332A\004name\312A*\n\025google.protob"
+          + "uf.Empty\022\021OperationMetadata\032T\312A networkm"
+          + "anagement.googleapis.com\322A.https://www.g"
+          + "oogleapis.com/auth/cloud-platformB\207\002\n%co"
+          + "m.google.cloud.networkmanagement.v1B\030Rea"
+          + "chabilityServiceProtoP\001ZScloud.google.co"
+          + "m/go/networkmanagement/apiv1/networkmana"
+          + "gementpb;networkmanagementpb\252\002!Google.Cl"
+          + "oud.NetworkManagement.V1\312\002!Google\\Cloud\\"
+          + "NetworkManagement\\V1\352\002$Google::Cloud::Ne"
+          + "tworkManagement::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter", "OrderBy",
+            });
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor,
+            new java.lang.String[] {
+              "Resources", "NextPageToken", "Unreachable",
+            });
+    internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "TestId", "Resource",
+            });
+    internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "UpdateMask", "Resource",
+            });
+    internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor,
+            new java.lang.String[] {
+              "CreateTime",
+              "EndTime",
+              "Target",
+              "Verb",
+              "StatusDetail",
+              "CancelRequested",
+              "ApiVersion",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
similarity index 63%
rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
index 48605f4d2398..5a35d31bb009 100644
--- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequest.java
@@ -1,63 +1,86 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1;
 
 /**
+ *
+ *
  * 
  * Request for the `RerunConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RerunConnectivityTestRequest} */ -public final class RerunConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RerunConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) RerunConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RerunConnectivityTestRequest.newBuilder() to construct. private RerunConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RerunConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RerunConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,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_); } @@ -134,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.networkmanagement.v1.RerunConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `RerunConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RerunConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.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(); @@ -294,14 +326,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override @@ -315,13 +349,17 @@ public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest build( @java.lang.Override public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +370,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.RerunConnectivi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +446,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) { @@ -423,23 +468,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -448,21 +496,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -470,30 +519,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +559,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +593,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RerunConnectivityTestRequest 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 RerunConnectivityTestRequest 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; @@ -579,9 +641,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java index 7517cff23f4e..ce053af06a2a 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RerunConnectivityTestRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface RerunConnectivityTestRequestOrBuilder extends +public interface RerunConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.RerunConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java similarity index 73% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java index ca07c62abdc9..4c6d28318ff3 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine route.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RouteInfo} */ -public final class RouteInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.RouteInfo) RouteInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteInfo.newBuilder() to construct. private RouteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RouteInfo() { routeType_ = 0; nextHopType_ = 0; @@ -32,39 +50,43 @@ private RouteInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RouteInfo.class, com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1.RouteInfo.class, + com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); } /** + * + * *
    * Type of route:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.RouteInfo.RouteType} */ - public enum RouteType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -73,6 +95,8 @@ public enum RouteType */ ROUTE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -81,6 +105,8 @@ public enum RouteType */ SUBNET(1), /** + * + * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -90,6 +116,8 @@ public enum RouteType
      */
     STATIC(2),
     /**
+     *
+     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -98,6 +126,8 @@ public enum RouteType */ DYNAMIC(3), /** + * + * *
      * A subnet route received from peering network.
      * 
@@ -106,6 +136,8 @@ public enum RouteType */ PEERING_SUBNET(4), /** + * + * *
      * A static route received from peering network.
      * 
@@ -114,6 +146,8 @@ public enum RouteType */ PEERING_STATIC(5), /** + * + * *
      * A dynamic route received from peering network.
      * 
@@ -125,6 +159,8 @@ public enum RouteType ; /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -133,6 +169,8 @@ public enum RouteType */ public static final int ROUTE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -141,6 +179,8 @@ public enum RouteType */ public static final int SUBNET_VALUE = 1; /** + * + * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -150,6 +190,8 @@ public enum RouteType
      */
     public static final int STATIC_VALUE = 2;
     /**
+     *
+     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -158,6 +200,8 @@ public enum RouteType */ public static final int DYNAMIC_VALUE = 3; /** + * + * *
      * A subnet route received from peering network.
      * 
@@ -166,6 +210,8 @@ public enum RouteType */ public static final int PEERING_SUBNET_VALUE = 4; /** + * + * *
      * A static route received from peering network.
      * 
@@ -174,6 +220,8 @@ public enum RouteType */ public static final int PEERING_STATIC_VALUE = 5; /** + * + * *
      * A dynamic route received from peering network.
      * 
@@ -182,7 +230,6 @@ public enum RouteType */ public static final int PEERING_DYNAMIC_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,57 @@ public static RouteType valueOf(int value) { */ public static RouteType forNumber(int value) { switch (value) { - case 0: return ROUTE_TYPE_UNSPECIFIED; - case 1: return SUBNET; - case 2: return STATIC; - case 3: return DYNAMIC; - case 4: return PEERING_SUBNET; - case 5: return PEERING_STATIC; - case 6: return PEERING_DYNAMIC; - default: return null; + case 0: + return ROUTE_TYPE_UNSPECIFIED; + case 1: + return SUBNET; + case 2: + return STATIC; + case 3: + return DYNAMIC; + case 4: + return PEERING_SUBNET; + case 5: + return PEERING_STATIC; + case 6: + return PEERING_DYNAMIC; + 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< - RouteType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RouteType findValueByNumber(int number) { - return RouteType.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 RouteType findValueByNumber(int number) { + return RouteType.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.networkmanagement.v1.RouteInfo.getDescriptor().getEnumTypes().get(0); } private static final RouteType[] VALUES = values(); - public static RouteType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RouteType 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; @@ -271,15 +322,18 @@ private RouteType(int value) { } /** + * + * *
    * Type of next hop:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1.RouteInfo.NextHopType} */ - public enum NextHopType - implements com.google.protobuf.ProtocolMessageEnum { + public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -288,6 +342,8 @@ public enum NextHopType */ NEXT_HOP_TYPE_UNSPECIFIED(0), /** + * + * *
      * Next hop is an IP address.
      * 
@@ -296,6 +352,8 @@ public enum NextHopType */ NEXT_HOP_IP(1), /** + * + * *
      * Next hop is a Compute Engine instance.
      * 
@@ -304,6 +362,8 @@ public enum NextHopType */ NEXT_HOP_INSTANCE(2), /** + * + * *
      * Next hop is a VPC network gateway.
      * 
@@ -312,6 +372,8 @@ public enum NextHopType */ NEXT_HOP_NETWORK(3), /** + * + * *
      * Next hop is a peering VPC.
      * 
@@ -320,6 +382,8 @@ public enum NextHopType */ NEXT_HOP_PEERING(4), /** + * + * *
      * Next hop is an interconnect.
      * 
@@ -328,6 +392,8 @@ public enum NextHopType */ NEXT_HOP_INTERCONNECT(5), /** + * + * *
      * Next hop is a VPN tunnel.
      * 
@@ -336,6 +402,8 @@ public enum NextHopType */ NEXT_HOP_VPN_TUNNEL(6), /** + * + * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -347,6 +415,8 @@ public enum NextHopType
      */
     NEXT_HOP_VPN_GATEWAY(7),
     /**
+     *
+     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -355,6 +425,8 @@ public enum NextHopType */ NEXT_HOP_INTERNET_GATEWAY(8), /** + * + * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -364,6 +436,8 @@ public enum NextHopType
      */
     NEXT_HOP_BLACKHOLE(9),
     /**
+     *
+     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -372,6 +446,8 @@ public enum NextHopType */ NEXT_HOP_ILB(10), /** + * + * *
      * Next hop is a
      * [router appliance
@@ -385,6 +461,8 @@ public enum NextHopType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified type. Default value.
      * 
@@ -393,6 +471,8 @@ public enum NextHopType */ public static final int NEXT_HOP_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Next hop is an IP address.
      * 
@@ -401,6 +481,8 @@ public enum NextHopType */ public static final int NEXT_HOP_IP_VALUE = 1; /** + * + * *
      * Next hop is a Compute Engine instance.
      * 
@@ -409,6 +491,8 @@ public enum NextHopType */ public static final int NEXT_HOP_INSTANCE_VALUE = 2; /** + * + * *
      * Next hop is a VPC network gateway.
      * 
@@ -417,6 +501,8 @@ public enum NextHopType */ public static final int NEXT_HOP_NETWORK_VALUE = 3; /** + * + * *
      * Next hop is a peering VPC.
      * 
@@ -425,6 +511,8 @@ public enum NextHopType */ public static final int NEXT_HOP_PEERING_VALUE = 4; /** + * + * *
      * Next hop is an interconnect.
      * 
@@ -433,6 +521,8 @@ public enum NextHopType */ public static final int NEXT_HOP_INTERCONNECT_VALUE = 5; /** + * + * *
      * Next hop is a VPN tunnel.
      * 
@@ -441,6 +531,8 @@ public enum NextHopType */ public static final int NEXT_HOP_VPN_TUNNEL_VALUE = 6; /** + * + * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -452,6 +544,8 @@ public enum NextHopType
      */
     public static final int NEXT_HOP_VPN_GATEWAY_VALUE = 7;
     /**
+     *
+     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -460,6 +554,8 @@ public enum NextHopType */ public static final int NEXT_HOP_INTERNET_GATEWAY_VALUE = 8; /** + * + * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -469,6 +565,8 @@ public enum NextHopType
      */
     public static final int NEXT_HOP_BLACKHOLE_VALUE = 9;
     /**
+     *
+     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -477,6 +575,8 @@ public enum NextHopType */ public static final int NEXT_HOP_ILB_VALUE = 10; /** + * + * *
      * Next hop is a
      * [router appliance
@@ -487,7 +587,6 @@ public enum NextHopType
      */
     public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -512,58 +611,67 @@ public static NextHopType valueOf(int value) {
      */
     public static NextHopType forNumber(int value) {
       switch (value) {
-        case 0: return NEXT_HOP_TYPE_UNSPECIFIED;
-        case 1: return NEXT_HOP_IP;
-        case 2: return NEXT_HOP_INSTANCE;
-        case 3: return NEXT_HOP_NETWORK;
-        case 4: return NEXT_HOP_PEERING;
-        case 5: return NEXT_HOP_INTERCONNECT;
-        case 6: return NEXT_HOP_VPN_TUNNEL;
-        case 7: return NEXT_HOP_VPN_GATEWAY;
-        case 8: return NEXT_HOP_INTERNET_GATEWAY;
-        case 9: return NEXT_HOP_BLACKHOLE;
-        case 10: return NEXT_HOP_ILB;
-        case 11: return NEXT_HOP_ROUTER_APPLIANCE;
-        default: return null;
+        case 0:
+          return NEXT_HOP_TYPE_UNSPECIFIED;
+        case 1:
+          return NEXT_HOP_IP;
+        case 2:
+          return NEXT_HOP_INSTANCE;
+        case 3:
+          return NEXT_HOP_NETWORK;
+        case 4:
+          return NEXT_HOP_PEERING;
+        case 5:
+          return NEXT_HOP_INTERCONNECT;
+        case 6:
+          return NEXT_HOP_VPN_TUNNEL;
+        case 7:
+          return NEXT_HOP_VPN_GATEWAY;
+        case 8:
+          return NEXT_HOP_INTERNET_GATEWAY;
+        case 9:
+          return NEXT_HOP_BLACKHOLE;
+        case 10:
+          return NEXT_HOP_ILB;
+        case 11:
+          return NEXT_HOP_ROUTER_APPLIANCE;
+        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<
-        NextHopType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NextHopType findValueByNumber(int number) {
-              return NextHopType.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 NextHopType findValueByNumber(int number) {
+            return NextHopType.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.networkmanagement.v1.RouteInfo.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final NextHopType[] VALUES = values();
 
-    public static NextHopType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NextHopType 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;
@@ -583,64 +691,90 @@ private NextHopType(int value) {
   public static final int ROUTE_TYPE_FIELD_NUMBER = 8;
   private int routeType_ = 0;
   /**
+   *
+   *
    * 
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override public int getRouteTypeValue() { + @java.lang.Override + public int getRouteTypeValue() { return routeType_; } /** + * + * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return The routeType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); - return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType() { + com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = + com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); + return result == null + ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED + : result; } public static final int NEXT_HOP_TYPE_FIELD_NUMBER = 9; private int nextHopType_ = 0; /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override public int getNextHopTypeValue() { + @java.lang.Override + public int getNextHopTypeValue() { return nextHopType_; } /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The nextHopType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType() { + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null + ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED + : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -649,29 +783,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -680,9 +814,12 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -691,6 +828,7 @@ public java.lang.String getDisplayName() {
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -699,14 +837,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -715,16 +854,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -733,14 +871,18 @@ public java.lang.String getUri() { } public static final int DEST_IP_RANGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object destIpRange_ = ""; /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The destIpRange. */ @java.lang.Override @@ -749,29 +891,29 @@ public java.lang.String getDestIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; } } /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The bytes for destIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestIpRangeBytes() { + public com.google.protobuf.ByteString getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -780,14 +922,18 @@ public java.lang.String getDestIpRange() { } public static final int NEXT_HOP_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object nextHop_ = ""; /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The nextHop. */ @java.lang.Override @@ -796,29 +942,29 @@ public java.lang.String getNextHop() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; } } /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The bytes for nextHop. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextHopBytes() { + public com.google.protobuf.ByteString getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextHop_ = b; return b; } else { @@ -827,14 +973,18 @@ public java.lang.String getNextHop() { } public static final int NETWORK_URI_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The networkUri. */ @java.lang.Override @@ -843,29 +993,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -876,11 +1026,14 @@ public java.lang.String getNetworkUri() { public static final int PRIORITY_FIELD_NUMBER = 6; private int priority_ = 0; /** + * + * *
    * Priority of the route.
    * 
* * int32 priority = 6; + * * @return The priority. */ @java.lang.Override @@ -889,37 +1042,46 @@ public int getPriority() { } public static final int INSTANCE_TAGS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList instanceTags_; /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList - getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList getInstanceTagsList() { return instanceTags_; } /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -927,20 +1089,23 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString - getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -952,8 +1117,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -975,10 +1139,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < instanceTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, instanceTags_.getRaw(i)); } - if (routeType_ != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { + if (routeType_ + != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(8, routeType_); } - if (nextHopType_ != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { + if (nextHopType_ + != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, nextHopType_); } getUnknownFields().writeTo(output); @@ -1006,8 +1174,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, networkUri_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, priority_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, priority_); } { int dataSize = 0; @@ -1017,13 +1184,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTagsList().size(); } - if (routeType_ != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, routeType_); + if (routeType_ + != com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, routeType_); } - if (nextHopType_ != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, nextHopType_); + if (nextHopType_ + != com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, nextHopType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1033,29 +1202,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.networkmanagement.v1.RouteInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.RouteInfo other = (com.google.cloud.networkmanagement.v1.RouteInfo) obj; + com.google.cloud.networkmanagement.v1.RouteInfo other = + (com.google.cloud.networkmanagement.v1.RouteInfo) obj; if (routeType_ != other.routeType_) return false; if (nextHopType_ != other.nextHopType_) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDestIpRange() - .equals(other.getDestIpRange())) return false; - if (!getNextHop() - .equals(other.getNextHop())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (getPriority() - != other.getPriority()) return false; - if (!getInstanceTagsList() - .equals(other.getInstanceTagsList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDestIpRange().equals(other.getDestIpRange())) return false; + if (!getNextHop().equals(other.getNextHop())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (getPriority() != other.getPriority()) return false; + if (!getInstanceTagsList().equals(other.getInstanceTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1092,130 +1255,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.RouteInfo 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.networkmanagement.v1.RouteInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.RouteInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.RouteInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.RouteInfo 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.networkmanagement.v1.RouteInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.RouteInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.RouteInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine route.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.RouteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.RouteInfo) com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.RouteInfo.class, com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1.RouteInfo.class, + com.google.cloud.networkmanagement.v1.RouteInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.RouteInfo.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(); @@ -1234,9 +1403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor; } @java.lang.Override @@ -1255,14 +1424,18 @@ public com.google.cloud.networkmanagement.v1.RouteInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo buildPartial() { - com.google.cloud.networkmanagement.v1.RouteInfo result = new com.google.cloud.networkmanagement.v1.RouteInfo(this); + com.google.cloud.networkmanagement.v1.RouteInfo result = + new com.google.cloud.networkmanagement.v1.RouteInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.RouteInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1.RouteInfo result) { if (((bitField0_ & 0x00000100) != 0)) { instanceTags_ = instanceTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); @@ -1302,38 +1475,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.RouteInfo resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.RouteInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.RouteInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.RouteInfo) other); } else { super.mergeFrom(other); return this; @@ -1341,7 +1515,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.RouteInfo other) { - if (other == com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) + return this; if (other.routeType_ != 0) { setRouteTypeValue(other.getRouteTypeValue()); } @@ -1412,58 +1587,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: { - destIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: { - nextHop_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: { - priority_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceTagsIsMutable(); - instanceTags_.add(s); - break; - } // case 58 - case 64: { - routeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 64 - case 72: { - nextHopType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 72 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + destIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + nextHop_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: + { + priority_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceTagsIsMutable(); + instanceTags_.add(s); + break; + } // case 58 + case 64: + { + routeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 64 + case 72: + { + nextHopType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 72 + 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) { @@ -1473,26 +1658,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int routeType_ = 0; /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override public int getRouteTypeValue() { + @java.lang.Override + public int getRouteTypeValue() { return routeType_; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @param value The enum numeric value on the wire for routeType to set. * @return This builder for chaining. */ @@ -1503,24 +1696,33 @@ public Builder setRouteTypeValue(int value) { return this; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return The routeType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); - return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.RouteInfo.RouteType result = + com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.forNumber(routeType_); + return result == null + ? com.google.cloud.networkmanagement.v1.RouteInfo.RouteType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @param value The routeType to set. * @return This builder for chaining. */ @@ -1534,11 +1736,14 @@ public Builder setRouteType(com.google.cloud.networkmanagement.v1.RouteInfo.Rout return this; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return This builder for chaining. */ public Builder clearRouteType() { @@ -1550,22 +1755,29 @@ public Builder clearRouteType() { private int nextHopType_ = 0; /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override public int getNextHopTypeValue() { + @java.lang.Override + public int getNextHopTypeValue() { return nextHopType_; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @param value The enum numeric value on the wire for nextHopType to set. * @return This builder for chaining. */ @@ -1576,28 +1788,38 @@ public Builder setNextHopTypeValue(int value) { return this; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The nextHopType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType result = + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null + ? com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @param value The nextHopType to set. * @return This builder for chaining. */ - public Builder setNextHopType(com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType value) { + public Builder setNextHopType( + com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType value) { if (value == null) { throw new NullPointerException(); } @@ -1607,11 +1829,14 @@ public Builder setNextHopType(com.google.cloud.networkmanagement.v1.RouteInfo.Ne return this; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return This builder for chaining. */ public Builder clearNextHopType() { @@ -1623,18 +1848,20 @@ public Builder clearNextHopType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1643,20 +1870,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1664,28 +1892,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1695,17 +1930,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1715,6 +1954,8 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1723,13 +1964,13 @@ public Builder setDisplayNameBytes(
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1738,6 +1979,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1746,15 +1989,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1762,6 +2004,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1770,18 +2014,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1790,6 +2038,7 @@ public Builder setUri(
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1799,6 +2048,8 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1807,12 +2058,14 @@ public Builder clearUri() {
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000008; @@ -1822,18 +2075,20 @@ public Builder setUriBytes( private java.lang.Object destIpRange_ = ""; /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @return The destIpRange. */ public java.lang.String getDestIpRange() { java.lang.Object ref = destIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; @@ -1842,20 +2097,21 @@ public java.lang.String getDestIpRange() { } } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @return The bytes for destIpRange. */ - public com.google.protobuf.ByteString - getDestIpRangeBytes() { + public com.google.protobuf.ByteString getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -1863,28 +2119,35 @@ public java.lang.String getDestIpRange() { } } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @param value The destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destIpRange_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @return This builder for chaining. */ public Builder clearDestIpRange() { @@ -1894,17 +2157,21 @@ public Builder clearDestIpRange() { return this; } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @param value The bytes for destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destIpRange_ = value; bitField0_ |= 0x00000010; @@ -1914,18 +2181,20 @@ public Builder setDestIpRangeBytes( private java.lang.Object nextHop_ = ""; /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @return The nextHop. */ public java.lang.String getNextHop() { java.lang.Object ref = nextHop_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; @@ -1934,20 +2203,21 @@ public java.lang.String getNextHop() { } } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @return The bytes for nextHop. */ - public com.google.protobuf.ByteString - getNextHopBytes() { + public com.google.protobuf.ByteString getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextHop_ = b; return b; } else { @@ -1955,28 +2225,35 @@ public java.lang.String getNextHop() { } } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @param value The nextHop to set. * @return This builder for chaining. */ - public Builder setNextHop( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextHop(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextHop_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @return This builder for chaining. */ public Builder clearNextHop() { @@ -1986,17 +2263,21 @@ public Builder clearNextHop() { return this; } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @param value The bytes for nextHop to set. * @return This builder for chaining. */ - public Builder setNextHopBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextHopBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextHop_ = value; bitField0_ |= 0x00000020; @@ -2006,18 +2287,20 @@ public Builder setNextHopBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -2026,20 +2309,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -2047,28 +2331,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -2078,17 +2369,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -2096,13 +2391,16 @@ public Builder setNetworkUriBytes( return this; } - private int priority_ ; + private int priority_; /** + * + * *
      * Priority of the route.
      * 
* * int32 priority = 6; + * * @return The priority. */ @java.lang.Override @@ -2110,27 +2408,33 @@ public int getPriority() { return priority_; } /** + * + * *
      * Priority of the route.
      * 
* * int32 priority = 6; + * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Priority of the route.
      * 
* * int32 priority = 6; + * * @return This builder for chaining. */ public Builder clearPriority() { @@ -2140,42 +2444,52 @@ public Builder clearPriority() { return this; } - private com.google.protobuf.LazyStringList instanceTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceTagsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { instanceTags_ = new com.google.protobuf.LazyStringArrayList(instanceTags_); bitField0_ |= 0x00000100; - } + } } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList - getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList getInstanceTagsList() { return instanceTags_.getUnmodifiableView(); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -2183,76 +2497,90 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString - getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param index The index to set the value at. * @param value The instanceTags to set. * @return This builder for chaining. */ - public Builder setInstanceTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTagsIsMutable(); instanceTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param value The instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param values The instanceTags to add. * @return This builder for chaining. */ - public Builder addAllInstanceTags( - java.lang.Iterable values) { + public Builder addAllInstanceTags(java.lang.Iterable values) { ensureInstanceTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTags_); onChanged(); return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @return This builder for chaining. */ public Builder clearInstanceTags() { @@ -2262,26 +2590,30 @@ public Builder clearInstanceTags() { return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param value The bytes of the instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2291,12 +2623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.RouteInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.RouteInfo) private static final com.google.cloud.networkmanagement.v1.RouteInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.RouteInfo(); } @@ -2305,27 +2637,27 @@ public static com.google.cloud.networkmanagement.v1.RouteInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteInfo 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 RouteInfo 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; @@ -2340,6 +2672,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.RouteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java similarity index 76% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java index 138e86afa79d..926b7f2da8fc 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/RouteInfoOrBuilder.java @@ -1,71 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface RouteInfoOrBuilder extends +public interface RouteInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.RouteInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return The enum numeric value on the wire for routeType. */ int getRouteTypeValue(); /** + * + * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8; + * * @return The routeType. */ com.google.cloud.networkmanagement.v1.RouteInfo.RouteType getRouteType(); /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The enum numeric value on the wire for nextHopType. */ int getNextHopTypeValue(); /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The nextHopType. */ com.google.cloud.networkmanagement.v1.RouteInfo.NextHopType getNextHopType(); /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -74,10 +109,13 @@ public interface RouteInfoOrBuilder extends
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -86,119 +124,147 @@ public interface RouteInfoOrBuilder extends
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The destIpRange. */ java.lang.String getDestIpRange(); /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The bytes for destIpRange. */ - com.google.protobuf.ByteString - getDestIpRangeBytes(); + com.google.protobuf.ByteString getDestIpRangeBytes(); /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The nextHop. */ java.lang.String getNextHop(); /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The bytes for nextHop. */ - com.google.protobuf.ByteString - getNextHopBytes(); + com.google.protobuf.ByteString getNextHopBytes(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Priority of the route.
    * 
* * int32 priority = 6; + * * @return The priority. */ int getPriority(); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return A list containing the instanceTags. */ - java.util.List - getInstanceTagsList(); + java.util.List getInstanceTagsList(); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return The count of instanceTags. */ int getInstanceTagsCount(); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the element to return. * @return The instanceTags at the given index. */ java.lang.String getInstanceTags(int index); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - com.google.protobuf.ByteString - getInstanceTagsBytes(int index); + com.google.protobuf.ByteString getInstanceTagsBytes(int index); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java similarity index 76% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java index 57cad749a232..21493672c68b 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/Step.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * A simulated forwarding path is composed of multiple steps.
  * Each step has a well-defined state and an associated configuration.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1.Step}
  */
-public final class Step extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Step extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.Step)
     StepOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Step.newBuilder() to construct.
   private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Step() {
     description_ = "";
     state_ = 0;
@@ -28,30 +46,33 @@ private Step() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Step();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1.Step.class, com.google.cloud.networkmanagement.v1.Step.Builder.class);
+            com.google.cloud.networkmanagement.v1.Step.class,
+            com.google.cloud.networkmanagement.v1.Step.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Type of states that are defined in the network state machine.
    * Each step in the packet trace is in a specific state.
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1.Step.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -70,6 +92,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -79,6 +103,8 @@ public enum State
      */
     START_FROM_INSTANCE(1),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -88,6 +114,8 @@ public enum State
      */
     START_FROM_INTERNET(2),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -99,6 +127,8 @@ public enum State
      */
     START_FROM_PRIVATE_NETWORK(3),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -108,6 +138,8 @@ public enum State
      */
     START_FROM_GKE_MASTER(21),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -117,6 +149,8 @@ public enum State
      */
     START_FROM_CLOUD_SQL_INSTANCE(22),
     /**
+     *
+     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -125,6 +159,8 @@ public enum State */ APPLY_INGRESS_FIREWALL_RULE(4), /** + * + * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -133,6 +169,8 @@ public enum State */ APPLY_EGRESS_FIREWALL_RULE(5), /** + * + * *
      * Config checking state: verify route.
      * 
@@ -141,6 +179,8 @@ public enum State */ APPLY_ROUTE(6), /** + * + * *
      * Config checking state: match forwarding rule.
      * 
@@ -149,6 +189,8 @@ public enum State */ APPLY_FORWARDING_RULE(7), /** + * + * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -158,6 +200,8 @@ public enum State
      */
     SPOOFING_APPROVED(8),
     /**
+     *
+     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -166,6 +210,8 @@ public enum State */ ARRIVE_AT_INSTANCE(9), /** + * + * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -174,6 +220,8 @@ public enum State */ ARRIVE_AT_INTERNAL_LOAD_BALANCER(10), /** + * + * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -182,6 +230,8 @@ public enum State */ ARRIVE_AT_EXTERNAL_LOAD_BALANCER(11), /** + * + * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -190,6 +240,8 @@ public enum State */ ARRIVE_AT_VPN_GATEWAY(12), /** + * + * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -198,6 +250,8 @@ public enum State */ ARRIVE_AT_VPN_TUNNEL(13), /** + * + * *
      * Transition state: packet header translated.
      * 
@@ -206,6 +260,8 @@ public enum State */ NAT(14), /** + * + * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -215,6 +271,8 @@ public enum State
      */
     PROXY_CONNECTION(15),
     /**
+     *
+     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -223,6 +281,8 @@ public enum State */ DELIVER(16), /** + * + * *
      * Final state: packet could be dropped.
      * 
@@ -231,6 +291,8 @@ public enum State */ DROP(17), /** + * + * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -240,6 +302,8 @@ public enum State
      */
     FORWARD(18),
     /**
+     *
+     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -248,6 +312,8 @@ public enum State */ ABORT(19), /** + * + * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -260,6 +326,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -268,6 +336,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -277,6 +347,8 @@ public enum State
      */
     public static final int START_FROM_INSTANCE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -286,6 +358,8 @@ public enum State
      */
     public static final int START_FROM_INTERNET_VALUE = 2;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -297,6 +371,8 @@ public enum State
      */
     public static final int START_FROM_PRIVATE_NETWORK_VALUE = 3;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -306,6 +382,8 @@ public enum State
      */
     public static final int START_FROM_GKE_MASTER_VALUE = 21;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -315,6 +393,8 @@ public enum State
      */
     public static final int START_FROM_CLOUD_SQL_INSTANCE_VALUE = 22;
     /**
+     *
+     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -323,6 +403,8 @@ public enum State */ public static final int APPLY_INGRESS_FIREWALL_RULE_VALUE = 4; /** + * + * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -331,6 +413,8 @@ public enum State */ public static final int APPLY_EGRESS_FIREWALL_RULE_VALUE = 5; /** + * + * *
      * Config checking state: verify route.
      * 
@@ -339,6 +423,8 @@ public enum State */ public static final int APPLY_ROUTE_VALUE = 6; /** + * + * *
      * Config checking state: match forwarding rule.
      * 
@@ -347,6 +433,8 @@ public enum State */ public static final int APPLY_FORWARDING_RULE_VALUE = 7; /** + * + * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -356,6 +444,8 @@ public enum State
      */
     public static final int SPOOFING_APPROVED_VALUE = 8;
     /**
+     *
+     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -364,6 +454,8 @@ public enum State */ public static final int ARRIVE_AT_INSTANCE_VALUE = 9; /** + * + * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -372,6 +464,8 @@ public enum State */ public static final int ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE = 10; /** + * + * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -380,6 +474,8 @@ public enum State */ public static final int ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE = 11; /** + * + * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -388,6 +484,8 @@ public enum State */ public static final int ARRIVE_AT_VPN_GATEWAY_VALUE = 12; /** + * + * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -396,6 +494,8 @@ public enum State */ public static final int ARRIVE_AT_VPN_TUNNEL_VALUE = 13; /** + * + * *
      * Transition state: packet header translated.
      * 
@@ -404,6 +504,8 @@ public enum State */ public static final int NAT_VALUE = 14; /** + * + * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -413,6 +515,8 @@ public enum State
      */
     public static final int PROXY_CONNECTION_VALUE = 15;
     /**
+     *
+     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -421,6 +525,8 @@ public enum State */ public static final int DELIVER_VALUE = 16; /** + * + * *
      * Final state: packet could be dropped.
      * 
@@ -429,6 +535,8 @@ public enum State */ public static final int DROP_VALUE = 17; /** + * + * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -438,6 +546,8 @@ public enum State
      */
     public static final int FORWARD_VALUE = 18;
     /**
+     *
+     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -446,6 +556,8 @@ public enum State */ public static final int ABORT_VALUE = 19; /** + * + * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -455,7 +567,6 @@ public enum State
      */
     public static final int VIEWER_PERMISSION_MISSING_VALUE = 20;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -480,69 +591,89 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return START_FROM_INSTANCE;
-        case 2: return START_FROM_INTERNET;
-        case 3: return START_FROM_PRIVATE_NETWORK;
-        case 21: return START_FROM_GKE_MASTER;
-        case 22: return START_FROM_CLOUD_SQL_INSTANCE;
-        case 4: return APPLY_INGRESS_FIREWALL_RULE;
-        case 5: return APPLY_EGRESS_FIREWALL_RULE;
-        case 6: return APPLY_ROUTE;
-        case 7: return APPLY_FORWARDING_RULE;
-        case 8: return SPOOFING_APPROVED;
-        case 9: return ARRIVE_AT_INSTANCE;
-        case 10: return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
-        case 11: return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
-        case 12: return ARRIVE_AT_VPN_GATEWAY;
-        case 13: return ARRIVE_AT_VPN_TUNNEL;
-        case 14: return NAT;
-        case 15: return PROXY_CONNECTION;
-        case 16: return DELIVER;
-        case 17: return DROP;
-        case 18: return FORWARD;
-        case 19: return ABORT;
-        case 20: return VIEWER_PERMISSION_MISSING;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return START_FROM_INSTANCE;
+        case 2:
+          return START_FROM_INTERNET;
+        case 3:
+          return START_FROM_PRIVATE_NETWORK;
+        case 21:
+          return START_FROM_GKE_MASTER;
+        case 22:
+          return START_FROM_CLOUD_SQL_INSTANCE;
+        case 4:
+          return APPLY_INGRESS_FIREWALL_RULE;
+        case 5:
+          return APPLY_EGRESS_FIREWALL_RULE;
+        case 6:
+          return APPLY_ROUTE;
+        case 7:
+          return APPLY_FORWARDING_RULE;
+        case 8:
+          return SPOOFING_APPROVED;
+        case 9:
+          return ARRIVE_AT_INSTANCE;
+        case 10:
+          return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
+        case 11:
+          return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
+        case 12:
+          return ARRIVE_AT_VPN_GATEWAY;
+        case 13:
+          return ARRIVE_AT_VPN_TUNNEL;
+        case 14:
+          return NAT;
+        case 15:
+          return PROXY_CONNECTION;
+        case 16:
+          return DELIVER;
+        case 17:
+          return DROP;
+        case 18:
+          return FORWARD;
+        case 19:
+          return ABORT;
+        case 20:
+          return VIEWER_PERMISSION_MISSING;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.networkmanagement.v1.Step.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;
@@ -561,8 +692,10 @@ private State(int value) {
 
   private int stepInfoCase_ = 0;
   private java.lang.Object stepInfo_;
+
   public enum StepInfoCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INSTANCE(5),
     FIREWALL(6),
@@ -581,6 +714,7 @@ public enum StepInfoCase
     CLOUD_SQL_INSTANCE(19),
     STEPINFO_NOT_SET(0);
     private final int value;
+
     private StepInfoCase(int value) {
       this.value = value;
     }
@@ -596,45 +730,65 @@ public static StepInfoCase valueOf(int value) {
 
     public static StepInfoCase forNumber(int value) {
       switch (value) {
-        case 5: return INSTANCE;
-        case 6: return FIREWALL;
-        case 7: return ROUTE;
-        case 8: return ENDPOINT;
-        case 9: return FORWARDING_RULE;
-        case 10: return VPN_GATEWAY;
-        case 11: return VPN_TUNNEL;
-        case 12: return DELIVER;
-        case 13: return FORWARD;
-        case 14: return ABORT;
-        case 15: return DROP;
-        case 16: return LOAD_BALANCER;
-        case 17: return NETWORK;
-        case 18: return GKE_MASTER;
-        case 19: return CLOUD_SQL_INSTANCE;
-        case 0: return STEPINFO_NOT_SET;
-        default: return null;
+        case 5:
+          return INSTANCE;
+        case 6:
+          return FIREWALL;
+        case 7:
+          return ROUTE;
+        case 8:
+          return ENDPOINT;
+        case 9:
+          return FORWARDING_RULE;
+        case 10:
+          return VPN_GATEWAY;
+        case 11:
+          return VPN_TUNNEL;
+        case 12:
+          return DELIVER;
+        case 13:
+          return FORWARD;
+        case 14:
+          return ABORT;
+        case 15:
+          return DROP;
+        case 16:
+          return LOAD_BALANCER;
+        case 17:
+          return NETWORK;
+        case 18:
+          return GKE_MASTER;
+        case 19:
+          return CLOUD_SQL_INSTANCE;
+        case 0:
+          return STEPINFO_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StepInfoCase
-  getStepInfoCase() {
-    return StepInfoCase.forNumber(
-        stepInfoCase_);
+  public StepInfoCase getStepInfoCase() {
+    return StepInfoCase.forNumber(stepInfoCase_);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
+   *
+   *
    * 
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -643,29 +797,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @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 { @@ -676,37 +830,49 @@ public java.lang.String getDescription() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return The state. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.Step.State getState() { - com.google.cloud.networkmanagement.v1.Step.State result = com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.networkmanagement.v1.Step.State getState() { + com.google.cloud.networkmanagement.v1.Step.State result = + com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); return result == null ? com.google.cloud.networkmanagement.v1.Step.State.UNRECOGNIZED : result; } public static final int CAUSES_DROP_FIELD_NUMBER = 3; private boolean causesDrop_ = false; /** + * + * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; + * * @return The causesDrop. */ @java.lang.Override @@ -715,14 +881,18 @@ public boolean getCausesDrop() { } public static final int PROJECT_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The projectId. */ @java.lang.Override @@ -731,29 +901,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -763,11 +933,14 @@ public java.lang.String getProjectId() { public static final int INSTANCE_FIELD_NUMBER = 5; /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -775,21 +948,26 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; + * * @return The instance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.InstanceInfo getInstance() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine instance.
    * 
@@ -799,18 +977,21 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo getInstance() { @java.lang.Override public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOrBuilder() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance(); } public static final int FIREWALL_FIELD_NUMBER = 6; /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; + * * @return Whether the firewall field is set. */ @java.lang.Override @@ -818,21 +999,26 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; + * * @return The firewall. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -842,18 +1028,21 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall() { @java.lang.Override public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOrBuilder() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance(); } public static final int ROUTE_FIELD_NUMBER = 7; /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; + * * @return Whether the route field is set. */ @java.lang.Override @@ -861,21 +1050,26 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; + * * @return The route. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfo getRoute() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine route.
    * 
@@ -885,13 +1079,15 @@ public com.google.cloud.networkmanagement.v1.RouteInfo getRoute() { @java.lang.Override public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilder() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance(); } public static final int ENDPOINT_FIELD_NUMBER = 8; /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -900,6 +1096,7 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; + * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -907,6 +1104,8 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -915,16 +1114,19 @@ public boolean hasEndpoint() {
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; + * * @return The endpoint. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint() { if (stepInfoCase_ == 8) { - return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -937,18 +1139,21 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint() {
   @java.lang.Override
   public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOrBuilder() {
     if (stepInfoCase_ == 8) {
-       return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_;
+      return (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_;
     }
     return com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance();
   }
 
   public static final int FORWARDING_RULE_FIELD_NUMBER = 9;
   /**
+   *
+   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; + * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -956,21 +1161,26 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; + * * @return The forwardingRule. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRule() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
@@ -978,20 +1188,24 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRul * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder + getForwardingRuleOrBuilder() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance(); } public static final int VPN_GATEWAY_FIELD_NUMBER = 10; /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; + * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -999,21 +1213,26 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; + * * @return The vpnGateway. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -1023,18 +1242,21 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance(); } public static final int VPN_TUNNEL_FIELD_NUMBER = 11; /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; + * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -1042,21 +1264,26 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; + * * @return The vpnTunnel. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -1066,18 +1293,21 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance(); } public static final int DELIVER_FIELD_NUMBER = 12; /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; + * * @return Whether the deliver field is set. */ @java.lang.Override @@ -1085,21 +1315,26 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; + * * @return The deliver. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -1109,18 +1344,21 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBuilder() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance(); } public static final int FORWARD_FIELD_NUMBER = 13; /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; + * * @return Whether the forward field is set. */ @java.lang.Override @@ -1128,21 +1366,26 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; + * * @return The forward. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfo getForward() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
@@ -1152,18 +1395,21 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo getForward() { @java.lang.Override public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBuilder() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance(); } public static final int ABORT_FIELD_NUMBER = 14; /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; + * * @return Whether the abort field is set. */ @java.lang.Override @@ -1171,21 +1417,26 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; + * * @return The abort. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfo getAbort() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
@@ -1195,18 +1446,21 @@ public com.google.cloud.networkmanagement.v1.AbortInfo getAbort() { @java.lang.Override public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilder() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance(); } public static final int DROP_FIELD_NUMBER = 15; /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; + * * @return Whether the drop field is set. */ @java.lang.Override @@ -1214,21 +1468,26 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; + * * @return The drop. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfo getDrop() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
@@ -1238,18 +1497,21 @@ public com.google.cloud.networkmanagement.v1.DropInfo getDrop() { @java.lang.Override public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance(); } public static final int LOAD_BALANCER_FIELD_NUMBER = 16; /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; + * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -1257,21 +1519,26 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; + * * @return The loadBalancer. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the load balancers.
    * 
@@ -1279,20 +1546,24 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer() * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder + getLoadBalancerOrBuilder() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance(); } public static final int NETWORK_FIELD_NUMBER = 17; /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; + * * @return Whether the network field is set. */ @java.lang.Override @@ -1300,21 +1571,26 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; + * * @return The network. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Google Cloud network.
    * 
@@ -1324,18 +1600,21 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork() { @java.lang.Override public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBuilder() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance(); } public static final int GKE_MASTER_FIELD_NUMBER = 18; /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; + * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -1343,21 +1622,26 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; + * * @return The gkeMaster. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -1367,18 +1651,21 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster() { @java.lang.Override public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance(); } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 19; /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -1386,21 +1673,26 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * * @return The cloudSqlInstance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlInstance() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
@@ -1408,14 +1700,16 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlIns * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder + getCloudSqlInstanceOrBuilder() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1427,8 +1721,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(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } @@ -1484,7 +1777,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(18, (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - output.writeMessage(19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); + output.writeMessage( + 19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); } getUnknownFields().writeTo(output); } @@ -1499,75 +1793,88 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } if (state_ != com.google.cloud.networkmanagement.v1.Step.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } if (causesDrop_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, causesDrop_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, causesDrop_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, projectId_); } if (stepInfoCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_); } if (stepInfoCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_); } if (stepInfoCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_); } if (stepInfoCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_); } if (stepInfoCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_); } if (stepInfoCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_); } if (stepInfoCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_); } if (stepInfoCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_); } if (stepInfoCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_); } if (stepInfoCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_); } if (stepInfoCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_); } if (stepInfoCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_); } if (stepInfoCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_); } if (stepInfoCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 19, (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1577,81 +1884,64 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1.Step)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.Step other = (com.google.cloud.networkmanagement.v1.Step) obj; + com.google.cloud.networkmanagement.v1.Step other = + (com.google.cloud.networkmanagement.v1.Step) obj; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (getCausesDrop() - != other.getCausesDrop()) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (getCausesDrop() != other.getCausesDrop()) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!getStepInfoCase().equals(other.getStepInfoCase())) return false; switch (stepInfoCase_) { case 5: - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) return false; break; case 6: - if (!getFirewall() - .equals(other.getFirewall())) return false; + if (!getFirewall().equals(other.getFirewall())) return false; break; case 7: - if (!getRoute() - .equals(other.getRoute())) return false; + if (!getRoute().equals(other.getRoute())) return false; break; case 8: - if (!getEndpoint() - .equals(other.getEndpoint())) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; break; case 9: - if (!getForwardingRule() - .equals(other.getForwardingRule())) return false; + if (!getForwardingRule().equals(other.getForwardingRule())) return false; break; case 10: - if (!getVpnGateway() - .equals(other.getVpnGateway())) return false; + if (!getVpnGateway().equals(other.getVpnGateway())) return false; break; case 11: - if (!getVpnTunnel() - .equals(other.getVpnTunnel())) return false; + if (!getVpnTunnel().equals(other.getVpnTunnel())) return false; break; case 12: - if (!getDeliver() - .equals(other.getDeliver())) return false; + if (!getDeliver().equals(other.getDeliver())) return false; break; case 13: - if (!getForward() - .equals(other.getForward())) return false; + if (!getForward().equals(other.getForward())) return false; break; case 14: - if (!getAbort() - .equals(other.getAbort())) return false; + if (!getAbort().equals(other.getAbort())) return false; break; case 15: - if (!getDrop() - .equals(other.getDrop())) return false; + if (!getDrop().equals(other.getDrop())) return false; break; case 16: - if (!getLoadBalancer() - .equals(other.getLoadBalancer())) return false; + if (!getLoadBalancer().equals(other.getLoadBalancer())) return false; break; case 17: - if (!getNetwork() - .equals(other.getNetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; break; case 18: - if (!getGkeMaster() - .equals(other.getGkeMaster())) return false; + if (!getGkeMaster().equals(other.getGkeMaster())) return false; break; case 19: - if (!getCloudSqlInstance() - .equals(other.getCloudSqlInstance())) return false; + if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; break; case 0: default: @@ -1672,8 +1962,7 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + CAUSES_DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCausesDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCausesDrop()); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + getProjectId().hashCode(); switch (stepInfoCase_) { @@ -1745,97 +2034,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1.Step parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1.Step parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.Step parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.Step parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.Step parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.Step 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.networkmanagement.v1.Step parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.Step parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.Step parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.Step 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.networkmanagement.v1.Step parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 simulated forwarding path is composed of multiple steps.
    * Each step has a well-defined state and an associated configuration.
@@ -1843,33 +2139,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.Step}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.Step)
       com.google.cloud.networkmanagement.v1.StepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.Step.class, com.google.cloud.networkmanagement.v1.Step.Builder.class);
+              com.google.cloud.networkmanagement.v1.Step.class,
+              com.google.cloud.networkmanagement.v1.Step.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.Step.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();
@@ -1929,9 +2224,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
     }
 
     @java.lang.Override
@@ -1950,8 +2245,11 @@ public com.google.cloud.networkmanagement.v1.Step build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.Step buildPartial() {
-      com.google.cloud.networkmanagement.v1.Step result = new com.google.cloud.networkmanagement.v1.Step(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.networkmanagement.v1.Step result =
+          new com.google.cloud.networkmanagement.v1.Step(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1976,64 +2274,49 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Step result) {
     private void buildPartialOneofs(com.google.cloud.networkmanagement.v1.Step result) {
       result.stepInfoCase_ = stepInfoCase_;
       result.stepInfo_ = this.stepInfo_;
-      if (stepInfoCase_ == 5 &&
-          instanceBuilder_ != null) {
+      if (stepInfoCase_ == 5 && instanceBuilder_ != null) {
         result.stepInfo_ = instanceBuilder_.build();
       }
-      if (stepInfoCase_ == 6 &&
-          firewallBuilder_ != null) {
+      if (stepInfoCase_ == 6 && firewallBuilder_ != null) {
         result.stepInfo_ = firewallBuilder_.build();
       }
-      if (stepInfoCase_ == 7 &&
-          routeBuilder_ != null) {
+      if (stepInfoCase_ == 7 && routeBuilder_ != null) {
         result.stepInfo_ = routeBuilder_.build();
       }
-      if (stepInfoCase_ == 8 &&
-          endpointBuilder_ != null) {
+      if (stepInfoCase_ == 8 && endpointBuilder_ != null) {
         result.stepInfo_ = endpointBuilder_.build();
       }
-      if (stepInfoCase_ == 9 &&
-          forwardingRuleBuilder_ != null) {
+      if (stepInfoCase_ == 9 && forwardingRuleBuilder_ != null) {
         result.stepInfo_ = forwardingRuleBuilder_.build();
       }
-      if (stepInfoCase_ == 10 &&
-          vpnGatewayBuilder_ != null) {
+      if (stepInfoCase_ == 10 && vpnGatewayBuilder_ != null) {
         result.stepInfo_ = vpnGatewayBuilder_.build();
       }
-      if (stepInfoCase_ == 11 &&
-          vpnTunnelBuilder_ != null) {
+      if (stepInfoCase_ == 11 && vpnTunnelBuilder_ != null) {
         result.stepInfo_ = vpnTunnelBuilder_.build();
       }
-      if (stepInfoCase_ == 12 &&
-          deliverBuilder_ != null) {
+      if (stepInfoCase_ == 12 && deliverBuilder_ != null) {
         result.stepInfo_ = deliverBuilder_.build();
       }
-      if (stepInfoCase_ == 13 &&
-          forwardBuilder_ != null) {
+      if (stepInfoCase_ == 13 && forwardBuilder_ != null) {
         result.stepInfo_ = forwardBuilder_.build();
       }
-      if (stepInfoCase_ == 14 &&
-          abortBuilder_ != null) {
+      if (stepInfoCase_ == 14 && abortBuilder_ != null) {
         result.stepInfo_ = abortBuilder_.build();
       }
-      if (stepInfoCase_ == 15 &&
-          dropBuilder_ != null) {
+      if (stepInfoCase_ == 15 && dropBuilder_ != null) {
         result.stepInfo_ = dropBuilder_.build();
       }
-      if (stepInfoCase_ == 16 &&
-          loadBalancerBuilder_ != null) {
+      if (stepInfoCase_ == 16 && loadBalancerBuilder_ != null) {
         result.stepInfo_ = loadBalancerBuilder_.build();
       }
-      if (stepInfoCase_ == 17 &&
-          networkBuilder_ != null) {
+      if (stepInfoCase_ == 17 && networkBuilder_ != null) {
         result.stepInfo_ = networkBuilder_.build();
       }
-      if (stepInfoCase_ == 18 &&
-          gkeMasterBuilder_ != null) {
+      if (stepInfoCase_ == 18 && gkeMasterBuilder_ != null) {
         result.stepInfo_ = gkeMasterBuilder_.build();
       }
-      if (stepInfoCase_ == 19 &&
-          cloudSqlInstanceBuilder_ != null) {
+      if (stepInfoCase_ == 19 && cloudSqlInstanceBuilder_ != null) {
         result.stepInfo_ = cloudSqlInstanceBuilder_.build();
       }
     }
@@ -2042,38 +2325,39 @@ private void buildPartialOneofs(com.google.cloud.networkmanagement.v1.Step resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1.Step) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.Step)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.Step) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2099,69 +2383,85 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.Step other) {
         onChanged();
       }
       switch (other.getStepInfoCase()) {
-        case INSTANCE: {
-          mergeInstance(other.getInstance());
-          break;
-        }
-        case FIREWALL: {
-          mergeFirewall(other.getFirewall());
-          break;
-        }
-        case ROUTE: {
-          mergeRoute(other.getRoute());
-          break;
-        }
-        case ENDPOINT: {
-          mergeEndpoint(other.getEndpoint());
-          break;
-        }
-        case FORWARDING_RULE: {
-          mergeForwardingRule(other.getForwardingRule());
-          break;
-        }
-        case VPN_GATEWAY: {
-          mergeVpnGateway(other.getVpnGateway());
-          break;
-        }
-        case VPN_TUNNEL: {
-          mergeVpnTunnel(other.getVpnTunnel());
-          break;
-        }
-        case DELIVER: {
-          mergeDeliver(other.getDeliver());
-          break;
-        }
-        case FORWARD: {
-          mergeForward(other.getForward());
-          break;
-        }
-        case ABORT: {
-          mergeAbort(other.getAbort());
-          break;
-        }
-        case DROP: {
-          mergeDrop(other.getDrop());
-          break;
-        }
-        case LOAD_BALANCER: {
-          mergeLoadBalancer(other.getLoadBalancer());
-          break;
-        }
-        case NETWORK: {
-          mergeNetwork(other.getNetwork());
-          break;
-        }
-        case GKE_MASTER: {
-          mergeGkeMaster(other.getGkeMaster());
-          break;
-        }
-        case CLOUD_SQL_INSTANCE: {
-          mergeCloudSqlInstance(other.getCloudSqlInstance());
-          break;
-        }
-        case STEPINFO_NOT_SET: {
-          break;
-        }
+        case INSTANCE:
+          {
+            mergeInstance(other.getInstance());
+            break;
+          }
+        case FIREWALL:
+          {
+            mergeFirewall(other.getFirewall());
+            break;
+          }
+        case ROUTE:
+          {
+            mergeRoute(other.getRoute());
+            break;
+          }
+        case ENDPOINT:
+          {
+            mergeEndpoint(other.getEndpoint());
+            break;
+          }
+        case FORWARDING_RULE:
+          {
+            mergeForwardingRule(other.getForwardingRule());
+            break;
+          }
+        case VPN_GATEWAY:
+          {
+            mergeVpnGateway(other.getVpnGateway());
+            break;
+          }
+        case VPN_TUNNEL:
+          {
+            mergeVpnTunnel(other.getVpnTunnel());
+            break;
+          }
+        case DELIVER:
+          {
+            mergeDeliver(other.getDeliver());
+            break;
+          }
+        case FORWARD:
+          {
+            mergeForward(other.getForward());
+            break;
+          }
+        case ABORT:
+          {
+            mergeAbort(other.getAbort());
+            break;
+          }
+        case DROP:
+          {
+            mergeDrop(other.getDrop());
+            break;
+          }
+        case LOAD_BALANCER:
+          {
+            mergeLoadBalancer(other.getLoadBalancer());
+            break;
+          }
+        case NETWORK:
+          {
+            mergeNetwork(other.getNetwork());
+            break;
+          }
+        case GKE_MASTER:
+          {
+            mergeGkeMaster(other.getGkeMaster());
+            break;
+          }
+        case CLOUD_SQL_INSTANCE:
+          {
+            mergeCloudSqlInstance(other.getCloudSqlInstance());
+            break;
+          }
+        case STEPINFO_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2189,137 +2489,128 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              causesDrop_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getFirewallFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getRouteFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndpointFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 8;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getForwardingRuleFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 9;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getVpnGatewayFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 10;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getVpnTunnelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 11;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDeliverFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 12;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getForwardFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 13;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getAbortFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 14;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getDropFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getLoadBalancerFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 16;
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getNetworkFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 17;
-              break;
-            } // case 138
-            case 146: {
-              input.readMessage(
-                  getGkeMasterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 18;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getCloudSqlInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 19;
-              break;
-            } // case 154
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                causesDrop_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getFirewallFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getRouteFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndpointFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 8;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getForwardingRuleFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 9;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(getVpnGatewayFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 10;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getVpnTunnelFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 11;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDeliverFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 12;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getForwardFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 13;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getAbortFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 14;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getDropFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(getLoadBalancerFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 16;
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(getNetworkFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 17;
+                break;
+              } // case 138
+            case 146:
+              {
+                input.readMessage(getGkeMasterFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 18;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getCloudSqlInstanceFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 19;
+                break;
+              } // case 154
+            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) {
@@ -2329,12 +2620,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int stepInfoCase_ = 0;
     private java.lang.Object stepInfo_;
-    public StepInfoCase
-        getStepInfoCase() {
-      return StepInfoCase.forNumber(
-          stepInfoCase_);
+
+    public StepInfoCase getStepInfoCase() {
+      return StepInfoCase.forNumber(stepInfoCase_);
     }
 
     public Builder clearStepInfo() {
@@ -2348,18 +2639,20 @@ public Builder clearStepInfo() {
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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; @@ -2368,20 +2661,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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 { @@ -2389,28 +2683,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2420,17 +2721,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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_ |= 0x00000001; @@ -2440,22 +2745,29 @@ public Builder setDescriptionBytes( private int state_ = 0; /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2466,24 +2778,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return The state. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.Step.State getState() { - com.google.cloud.networkmanagement.v1.Step.State result = com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); - return result == null ? com.google.cloud.networkmanagement.v1.Step.State.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.Step.State result = + com.google.cloud.networkmanagement.v1.Step.State.forNumber(state_); + return result == null + ? com.google.cloud.networkmanagement.v1.Step.State.UNRECOGNIZED + : result; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2497,11 +2818,14 @@ public Builder setState(com.google.cloud.networkmanagement.v1.Step.State value) return this; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return This builder for chaining. */ public Builder clearState() { @@ -2511,13 +2835,16 @@ public Builder clearState() { return this; } - private boolean causesDrop_ ; + private boolean causesDrop_; /** + * + * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; + * * @return The causesDrop. */ @java.lang.Override @@ -2525,27 +2852,33 @@ public boolean getCausesDrop() { return causesDrop_; } /** + * + * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; + * * @param value The causesDrop to set. * @return This builder for chaining. */ public Builder setCausesDrop(boolean value) { - + causesDrop_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; + * * @return This builder for chaining. */ public Builder clearCausesDrop() { @@ -2557,18 +2890,20 @@ public Builder clearCausesDrop() { private java.lang.Object projectId_ = ""; /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2577,20 +2912,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -2598,28 +2934,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2629,17 +2972,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000008; @@ -2648,13 +2995,19 @@ public Builder setProjectIdBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.InstanceInfo, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> instanceBuilder_; + com.google.cloud.networkmanagement.v1.InstanceInfo, + com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, + com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> + instanceBuilder_; /** + * + * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -2662,11 +3015,14 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; + * * @return The instance. */ @java.lang.Override @@ -2684,6 +3040,8 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo getInstance() { } } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2704,6 +3062,8 @@ public Builder setInstance(com.google.cloud.networkmanagement.v1.InstanceInfo va return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2722,6 +3082,8 @@ public Builder setInstance( return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2730,10 +3092,14 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.cloud.networkmanagement.v1.InstanceInfo value) { if (instanceBuilder_ == null) { - if (stepInfoCase_ == 5 && - stepInfo_ != com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.InstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 5 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.InstanceInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -2749,6 +3115,8 @@ public Builder mergeInstance(com.google.cloud.networkmanagement.v1.InstanceInfo return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2772,6 +3140,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2782,6 +3152,8 @@ public com.google.cloud.networkmanagement.v1.InstanceInfo.Builder getInstanceBui return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2800,6 +3172,8 @@ public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOr } } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2807,14 +3181,19 @@ public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOr * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.InstanceInfo, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1.InstanceInfo, + com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, + com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { if (!(stepInfoCase_ == 5)) { stepInfo_ = com.google.cloud.networkmanagement.v1.InstanceInfo.getDefaultInstance(); } - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.InstanceInfo, com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder>( + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.InstanceInfo, + com.google.cloud.networkmanagement.v1.InstanceInfo.Builder, + com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.InstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -2826,13 +3205,19 @@ public com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.FirewallInfo, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> firewallBuilder_; + com.google.cloud.networkmanagement.v1.FirewallInfo, + com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, + com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> + firewallBuilder_; /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; + * * @return Whether the firewall field is set. */ @java.lang.Override @@ -2840,11 +3225,14 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; + * * @return The firewall. */ @java.lang.Override @@ -2862,6 +3250,8 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall() { } } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2882,6 +3272,8 @@ public Builder setFirewall(com.google.cloud.networkmanagement.v1.FirewallInfo va return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2900,6 +3292,8 @@ public Builder setFirewall( return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2908,10 +3302,14 @@ public Builder setFirewall( */ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1.FirewallInfo value) { if (firewallBuilder_ == null) { - if (stepInfoCase_ == 6 && - stepInfo_ != com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.FirewallInfo.newBuilder((com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 6 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.FirewallInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -2927,6 +3325,8 @@ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1.FirewallInfo return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2950,6 +3350,8 @@ public Builder clearFirewall() { return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2960,6 +3362,8 @@ public com.google.cloud.networkmanagement.v1.FirewallInfo.Builder getFirewallBui return getFirewallFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2978,6 +3382,8 @@ public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOr } } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -2985,14 +3391,19 @@ public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOr * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.FirewallInfo, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> + com.google.cloud.networkmanagement.v1.FirewallInfo, + com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, + com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder> getFirewallFieldBuilder() { if (firewallBuilder_ == null) { if (!(stepInfoCase_ == 6)) { stepInfo_ = com.google.cloud.networkmanagement.v1.FirewallInfo.getDefaultInstance(); } - firewallBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.FirewallInfo, com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder>( + firewallBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.FirewallInfo, + com.google.cloud.networkmanagement.v1.FirewallInfo.Builder, + com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.FirewallInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3004,13 +3415,19 @@ public com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.RouteInfo, com.google.cloud.networkmanagement.v1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> routeBuilder_; + com.google.cloud.networkmanagement.v1.RouteInfo, + com.google.cloud.networkmanagement.v1.RouteInfo.Builder, + com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> + routeBuilder_; /** + * + * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; + * * @return Whether the route field is set. */ @java.lang.Override @@ -3018,11 +3435,14 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; + * * @return The route. */ @java.lang.Override @@ -3040,6 +3460,8 @@ public com.google.cloud.networkmanagement.v1.RouteInfo getRoute() { } } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3060,6 +3482,8 @@ public Builder setRoute(com.google.cloud.networkmanagement.v1.RouteInfo value) { return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3078,6 +3502,8 @@ public Builder setRoute( return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3086,10 +3512,13 @@ public Builder setRoute( */ public Builder mergeRoute(com.google.cloud.networkmanagement.v1.RouteInfo value) { if (routeBuilder_ == null) { - if (stepInfoCase_ == 7 && - stepInfo_ != com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.RouteInfo.newBuilder((com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 7 + && stepInfo_ != com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.RouteInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3105,6 +3534,8 @@ public Builder mergeRoute(com.google.cloud.networkmanagement.v1.RouteInfo value) return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3128,6 +3559,8 @@ public Builder clearRoute() { return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3138,6 +3571,8 @@ public com.google.cloud.networkmanagement.v1.RouteInfo.Builder getRouteBuilder() return getRouteFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3156,6 +3591,8 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde } } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3163,14 +3600,19 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde * .google.cloud.networkmanagement.v1.RouteInfo route = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.RouteInfo, com.google.cloud.networkmanagement.v1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> + com.google.cloud.networkmanagement.v1.RouteInfo, + com.google.cloud.networkmanagement.v1.RouteInfo.Builder, + com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder> getRouteFieldBuilder() { if (routeBuilder_ == null) { if (!(stepInfoCase_ == 7)) { stepInfo_ = com.google.cloud.networkmanagement.v1.RouteInfo.getDefaultInstance(); } - routeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.RouteInfo, com.google.cloud.networkmanagement.v1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder>( + routeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.RouteInfo, + com.google.cloud.networkmanagement.v1.RouteInfo.Builder, + com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.RouteInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3182,8 +3624,13 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> endpointBuilder_; + com.google.cloud.networkmanagement.v1.EndpointInfo, + com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, + com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> + endpointBuilder_; /** + * + * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3192,6 +3639,7 @@ public com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilde
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; + * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -3199,6 +3647,8 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** + * + * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3207,6 +3657,7 @@ public boolean hasEndpoint() {
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; + * * @return The endpoint. */ @java.lang.Override @@ -3224,6 +3675,8 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint() { } } /** + * + * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3247,6 +3700,8 @@ public Builder setEndpoint(com.google.cloud.networkmanagement.v1.EndpointInfo va
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3268,6 +3723,8 @@ public Builder setEndpoint(
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3279,10 +3736,14 @@ public Builder setEndpoint(
      */
     public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1.EndpointInfo value) {
       if (endpointBuilder_ == null) {
-        if (stepInfoCase_ == 8 &&
-            stepInfo_ != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
-          stepInfo_ = com.google.cloud.networkmanagement.v1.EndpointInfo.newBuilder((com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_)
-              .mergeFrom(value).buildPartial();
+        if (stepInfoCase_ == 8
+            && stepInfo_
+                != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
+          stepInfo_ =
+              com.google.cloud.networkmanagement.v1.EndpointInfo.newBuilder(
+                      (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stepInfo_ = value;
         }
@@ -3298,6 +3759,8 @@ public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1.EndpointInfo
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3324,6 +3787,8 @@ public Builder clearEndpoint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3337,6 +3802,8 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo.Builder getEndpointBui
       return getEndpointFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3358,6 +3825,8 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOr
       }
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3368,14 +3837,19 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOr
      * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> 
+            com.google.cloud.networkmanagement.v1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>
         getEndpointFieldBuilder() {
       if (endpointBuilder_ == null) {
         if (!(stepInfoCase_ == 8)) {
           stepInfo_ = com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance();
         }
-        endpointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
+        endpointBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1.EndpointInfo,
+                com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
+                com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
                 (com.google.cloud.networkmanagement.v1.EndpointInfo) stepInfo_,
                 getParentForChildren(),
                 isClean());
@@ -3387,13 +3861,19 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOr
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder> forwardingRuleBuilder_;
+            com.google.cloud.networkmanagement.v1.ForwardingRuleInfo,
+            com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder,
+            com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder>
+        forwardingRuleBuilder_;
     /**
+     *
+     *
      * 
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; + * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -3401,11 +3881,14 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; + * * @return The forwardingRule. */ @java.lang.Override @@ -3423,13 +3906,16 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRul } } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder setForwardingRule(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { + public Builder setForwardingRule( + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3443,6 +3929,8 @@ public Builder setForwardingRule(com.google.cloud.networkmanagement.v1.Forwardin return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3461,18 +3949,25 @@ public Builder setForwardingRule( return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder mergeForwardingRule(com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { + public Builder mergeForwardingRule( + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { - if (stepInfoCase_ == 9 && - stepInfo_ != com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.newBuilder((com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 9 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3488,6 +3983,8 @@ public Builder mergeForwardingRule(com.google.cloud.networkmanagement.v1.Forward return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3511,16 +4008,21 @@ public Builder clearForwardingRule() { return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ - public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder getForwardingRuleBuilder() { + public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder + getForwardingRuleBuilder() { return getForwardingRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3528,7 +4030,8 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder getForwa * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder + getForwardingRuleOrBuilder() { if ((stepInfoCase_ == 9) && (forwardingRuleBuilder_ != null)) { return forwardingRuleBuilder_.getMessageOrBuilder(); } else { @@ -3539,6 +4042,8 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForw } } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3546,14 +4051,19 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForw * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder> + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, + com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder> getForwardingRuleFieldBuilder() { if (forwardingRuleBuilder_ == null) { if (!(stepInfoCase_ == 9)) { stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.getDefaultInstance(); } - forwardingRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder>( + forwardingRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo, + com.google.cloud.networkmanagement.v1.ForwardingRuleInfo.Builder, + com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.ForwardingRuleInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3565,13 +4075,19 @@ public com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForw } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> vpnGatewayBuilder_; + com.google.cloud.networkmanagement.v1.VpnGatewayInfo, + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, + com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> + vpnGatewayBuilder_; /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; + * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -3579,11 +4095,14 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; + * * @return The vpnGateway. */ @java.lang.Override @@ -3601,6 +4120,8 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway() { } } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3621,6 +4142,8 @@ public Builder setVpnGateway(com.google.cloud.networkmanagement.v1.VpnGatewayInf return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3639,6 +4162,8 @@ public Builder setVpnGateway( return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3647,10 +4172,14 @@ public Builder setVpnGateway( */ public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1.VpnGatewayInfo value) { if (vpnGatewayBuilder_ == null) { - if (stepInfoCase_ == 10 && - stepInfo_ != com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.VpnGatewayInfo.newBuilder((com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 10 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3666,6 +4195,8 @@ public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1.VpnGatewayI return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3689,6 +4220,8 @@ public Builder clearVpnGateway() { return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3699,6 +4232,8 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder getVpnGatewa return getVpnGatewayFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3717,6 +4252,8 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatew } } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3724,14 +4261,19 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatew * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> + com.google.cloud.networkmanagement.v1.VpnGatewayInfo, + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, + com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder> getVpnGatewayFieldBuilder() { if (vpnGatewayBuilder_ == null) { if (!(stepInfoCase_ == 10)) { stepInfo_ = com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance(); } - vpnGatewayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder>( + vpnGatewayBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.VpnGatewayInfo, + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder, + com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3743,13 +4285,19 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatew } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> vpnTunnelBuilder_; + com.google.cloud.networkmanagement.v1.VpnTunnelInfo, + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, + com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> + vpnTunnelBuilder_; /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; + * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -3757,11 +4305,14 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; + * * @return The vpnTunnel. */ @java.lang.Override @@ -3779,6 +4330,8 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel() { } } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3799,6 +4352,8 @@ public Builder setVpnTunnel(com.google.cloud.networkmanagement.v1.VpnTunnelInfo return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3817,6 +4372,8 @@ public Builder setVpnTunnel( return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3825,10 +4382,14 @@ public Builder setVpnTunnel( */ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1.VpnTunnelInfo value) { if (vpnTunnelBuilder_ == null) { - if (stepInfoCase_ == 11 && - stepInfo_ != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.newBuilder((com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 11 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3844,6 +4405,8 @@ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1.VpnTunnelInf return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3867,6 +4430,8 @@ public Builder clearVpnTunnel() { return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3877,6 +4442,8 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder getVpnTunnelB return getVpnTunnelFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3895,6 +4462,8 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnel } } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3902,14 +4471,19 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnel * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> + com.google.cloud.networkmanagement.v1.VpnTunnelInfo, + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, + com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder> getVpnTunnelFieldBuilder() { if (vpnTunnelBuilder_ == null) { if (!(stepInfoCase_ == 11)) { stepInfo_ = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance(); } - vpnTunnelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder>( + vpnTunnelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.VpnTunnelInfo, + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder, + com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3921,13 +4495,19 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnel } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DeliverInfo, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> deliverBuilder_; + com.google.cloud.networkmanagement.v1.DeliverInfo, + com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, + com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> + deliverBuilder_; /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; + * * @return Whether the deliver field is set. */ @java.lang.Override @@ -3935,11 +4515,14 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; + * * @return The deliver. */ @java.lang.Override @@ -3957,6 +4540,8 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver() { } } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -3977,6 +4562,8 @@ public Builder setDeliver(com.google.cloud.networkmanagement.v1.DeliverInfo valu return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -3995,6 +4582,8 @@ public Builder setDeliver( return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4003,10 +4592,14 @@ public Builder setDeliver( */ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1.DeliverInfo value) { if (deliverBuilder_ == null) { - if (stepInfoCase_ == 12 && - stepInfo_ != com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.DeliverInfo.newBuilder((com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 12 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.DeliverInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4022,6 +4615,8 @@ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1.DeliverInfo va return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4045,6 +4640,8 @@ public Builder clearDeliver() { return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4055,6 +4652,8 @@ public com.google.cloud.networkmanagement.v1.DeliverInfo.Builder getDeliverBuild return getDeliverFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4073,6 +4672,8 @@ public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBu } } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4080,14 +4681,19 @@ public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBu * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DeliverInfo, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> + com.google.cloud.networkmanagement.v1.DeliverInfo, + com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, + com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder> getDeliverFieldBuilder() { if (deliverBuilder_ == null) { if (!(stepInfoCase_ == 12)) { stepInfo_ = com.google.cloud.networkmanagement.v1.DeliverInfo.getDefaultInstance(); } - deliverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DeliverInfo, com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder>( + deliverBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.DeliverInfo, + com.google.cloud.networkmanagement.v1.DeliverInfo.Builder, + com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.DeliverInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4099,13 +4705,19 @@ public com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardInfo, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> forwardBuilder_; + com.google.cloud.networkmanagement.v1.ForwardInfo, + com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, + com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> + forwardBuilder_; /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; + * * @return Whether the forward field is set. */ @java.lang.Override @@ -4113,11 +4725,14 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; + * * @return The forward. */ @java.lang.Override @@ -4135,6 +4750,8 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo getForward() { } } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4155,6 +4772,8 @@ public Builder setForward(com.google.cloud.networkmanagement.v1.ForwardInfo valu return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4173,6 +4792,8 @@ public Builder setForward( return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4181,10 +4802,14 @@ public Builder setForward( */ public Builder mergeForward(com.google.cloud.networkmanagement.v1.ForwardInfo value) { if (forwardBuilder_ == null) { - if (stepInfoCase_ == 13 && - stepInfo_ != com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardInfo.newBuilder((com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 13 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.ForwardInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4200,6 +4825,8 @@ public Builder mergeForward(com.google.cloud.networkmanagement.v1.ForwardInfo va return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4223,6 +4850,8 @@ public Builder clearForward() { return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4233,6 +4862,8 @@ public com.google.cloud.networkmanagement.v1.ForwardInfo.Builder getForwardBuild return getForwardFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4251,6 +4882,8 @@ public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBu } } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4258,14 +4891,19 @@ public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBu * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardInfo, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> + com.google.cloud.networkmanagement.v1.ForwardInfo, + com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, + com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder> getForwardFieldBuilder() { if (forwardBuilder_ == null) { if (!(stepInfoCase_ == 13)) { stepInfo_ = com.google.cloud.networkmanagement.v1.ForwardInfo.getDefaultInstance(); } - forwardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ForwardInfo, com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder>( + forwardBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ForwardInfo, + com.google.cloud.networkmanagement.v1.ForwardInfo.Builder, + com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.ForwardInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4277,13 +4915,19 @@ public com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.AbortInfo, com.google.cloud.networkmanagement.v1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> abortBuilder_; + com.google.cloud.networkmanagement.v1.AbortInfo, + com.google.cloud.networkmanagement.v1.AbortInfo.Builder, + com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> + abortBuilder_; /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; + * * @return Whether the abort field is set. */ @java.lang.Override @@ -4291,11 +4935,14 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; + * * @return The abort. */ @java.lang.Override @@ -4313,6 +4960,8 @@ public com.google.cloud.networkmanagement.v1.AbortInfo getAbort() { } } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4333,6 +4982,8 @@ public Builder setAbort(com.google.cloud.networkmanagement.v1.AbortInfo value) { return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4351,6 +5002,8 @@ public Builder setAbort( return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4359,10 +5012,13 @@ public Builder setAbort( */ public Builder mergeAbort(com.google.cloud.networkmanagement.v1.AbortInfo value) { if (abortBuilder_ == null) { - if (stepInfoCase_ == 14 && - stepInfo_ != com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.AbortInfo.newBuilder((com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 14 + && stepInfo_ != com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.AbortInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4378,6 +5034,8 @@ public Builder mergeAbort(com.google.cloud.networkmanagement.v1.AbortInfo value) return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4401,6 +5059,8 @@ public Builder clearAbort() { return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4411,6 +5071,8 @@ public com.google.cloud.networkmanagement.v1.AbortInfo.Builder getAbortBuilder() return getAbortFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4429,6 +5091,8 @@ public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilde } } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4436,14 +5100,19 @@ public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilde * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.AbortInfo, com.google.cloud.networkmanagement.v1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> + com.google.cloud.networkmanagement.v1.AbortInfo, + com.google.cloud.networkmanagement.v1.AbortInfo.Builder, + com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder> getAbortFieldBuilder() { if (abortBuilder_ == null) { if (!(stepInfoCase_ == 14)) { stepInfo_ = com.google.cloud.networkmanagement.v1.AbortInfo.getDefaultInstance(); } - abortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.AbortInfo, com.google.cloud.networkmanagement.v1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder>( + abortBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.AbortInfo, + com.google.cloud.networkmanagement.v1.AbortInfo.Builder, + com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.AbortInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4455,13 +5124,19 @@ public com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DropInfo, com.google.cloud.networkmanagement.v1.DropInfo.Builder, com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> dropBuilder_; + com.google.cloud.networkmanagement.v1.DropInfo, + com.google.cloud.networkmanagement.v1.DropInfo.Builder, + com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> + dropBuilder_; /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; + * * @return Whether the drop field is set. */ @java.lang.Override @@ -4469,11 +5144,14 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; + * * @return The drop. */ @java.lang.Override @@ -4491,6 +5169,8 @@ public com.google.cloud.networkmanagement.v1.DropInfo getDrop() { } } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4511,14 +5191,15 @@ public Builder setDrop(com.google.cloud.networkmanagement.v1.DropInfo value) { return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; */ - public Builder setDrop( - com.google.cloud.networkmanagement.v1.DropInfo.Builder builderForValue) { + public Builder setDrop(com.google.cloud.networkmanagement.v1.DropInfo.Builder builderForValue) { if (dropBuilder_ == null) { stepInfo_ = builderForValue.build(); onChanged(); @@ -4529,6 +5210,8 @@ public Builder setDrop( return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4537,10 +5220,13 @@ public Builder setDrop( */ public Builder mergeDrop(com.google.cloud.networkmanagement.v1.DropInfo value) { if (dropBuilder_ == null) { - if (stepInfoCase_ == 15 && - stepInfo_ != com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.DropInfo.newBuilder((com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 15 + && stepInfo_ != com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.DropInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4556,6 +5242,8 @@ public Builder mergeDrop(com.google.cloud.networkmanagement.v1.DropInfo value) { return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4579,6 +5267,8 @@ public Builder clearDrop() { return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4589,6 +5279,8 @@ public com.google.cloud.networkmanagement.v1.DropInfo.Builder getDropBuilder() { return getDropFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4607,6 +5299,8 @@ public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder( } } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4614,14 +5308,19 @@ public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder( * .google.cloud.networkmanagement.v1.DropInfo drop = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DropInfo, com.google.cloud.networkmanagement.v1.DropInfo.Builder, com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> + com.google.cloud.networkmanagement.v1.DropInfo, + com.google.cloud.networkmanagement.v1.DropInfo.Builder, + com.google.cloud.networkmanagement.v1.DropInfoOrBuilder> getDropFieldBuilder() { if (dropBuilder_ == null) { if (!(stepInfoCase_ == 15)) { stepInfo_ = com.google.cloud.networkmanagement.v1.DropInfo.getDefaultInstance(); } - dropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.DropInfo, com.google.cloud.networkmanagement.v1.DropInfo.Builder, com.google.cloud.networkmanagement.v1.DropInfoOrBuilder>( + dropBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.DropInfo, + com.google.cloud.networkmanagement.v1.DropInfo.Builder, + com.google.cloud.networkmanagement.v1.DropInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.DropInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4633,13 +5332,19 @@ public com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> loadBalancerBuilder_; + com.google.cloud.networkmanagement.v1.LoadBalancerInfo, + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, + com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> + loadBalancerBuilder_; /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; + * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -4647,11 +5352,14 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; + * * @return The loadBalancer. */ @java.lang.Override @@ -4669,6 +5377,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer() } } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4689,6 +5399,8 @@ public Builder setLoadBalancer(com.google.cloud.networkmanagement.v1.LoadBalance return this; } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4707,6 +5419,8 @@ public Builder setLoadBalancer( return this; } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4715,10 +5429,14 @@ public Builder setLoadBalancer( */ public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1.LoadBalancerInfo value) { if (loadBalancerBuilder_ == null) { - if (stepInfoCase_ == 16 && - stepInfo_ != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.newBuilder((com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 16 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4734,6 +5452,8 @@ public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1.LoadBalan return this; } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4757,6 +5477,8 @@ public Builder clearLoadBalancer() { return this; } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4767,6 +5489,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal return getLoadBalancerFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4774,7 +5498,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder getLoadBal * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder + getLoadBalancerOrBuilder() { if ((stepInfoCase_ == 16) && (loadBalancerBuilder_ != null)) { return loadBalancerBuilder_.getMessageOrBuilder(); } else { @@ -4785,6 +5510,8 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBa } } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -4792,14 +5519,19 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBa * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> + com.google.cloud.networkmanagement.v1.LoadBalancerInfo, + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, + com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder> getLoadBalancerFieldBuilder() { if (loadBalancerBuilder_ == null) { if (!(stepInfoCase_ == 16)) { stepInfo_ = com.google.cloud.networkmanagement.v1.LoadBalancerInfo.getDefaultInstance(); } - loadBalancerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder>( + loadBalancerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.LoadBalancerInfo, + com.google.cloud.networkmanagement.v1.LoadBalancerInfo.Builder, + com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.LoadBalancerInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4811,13 +5543,19 @@ public com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBa } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.NetworkInfo, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> networkBuilder_; + com.google.cloud.networkmanagement.v1.NetworkInfo, + com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, + com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> + networkBuilder_; /** + * + * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; + * * @return Whether the network field is set. */ @java.lang.Override @@ -4825,11 +5563,14 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; + * * @return The network. */ @java.lang.Override @@ -4847,6 +5588,8 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork() { } } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4867,6 +5610,8 @@ public Builder setNetwork(com.google.cloud.networkmanagement.v1.NetworkInfo valu return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4885,6 +5630,8 @@ public Builder setNetwork( return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4893,10 +5640,14 @@ public Builder setNetwork( */ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1.NetworkInfo value) { if (networkBuilder_ == null) { - if (stepInfoCase_ == 17 && - stepInfo_ != com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.NetworkInfo.newBuilder((com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 17 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.NetworkInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4912,6 +5663,8 @@ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1.NetworkInfo va return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4935,6 +5688,8 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4945,6 +5700,8 @@ public com.google.cloud.networkmanagement.v1.NetworkInfo.Builder getNetworkBuild return getNetworkFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4963,6 +5720,8 @@ public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBu } } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -4970,14 +5729,19 @@ public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBu * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.NetworkInfo, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> + com.google.cloud.networkmanagement.v1.NetworkInfo, + com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, + com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder> getNetworkFieldBuilder() { if (networkBuilder_ == null) { if (!(stepInfoCase_ == 17)) { stepInfo_ = com.google.cloud.networkmanagement.v1.NetworkInfo.getDefaultInstance(); } - networkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.NetworkInfo, com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder>( + networkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.NetworkInfo, + com.google.cloud.networkmanagement.v1.NetworkInfo.Builder, + com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.NetworkInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4989,13 +5753,19 @@ public com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.GKEMasterInfo, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> gkeMasterBuilder_; + com.google.cloud.networkmanagement.v1.GKEMasterInfo, + com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, + com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> + gkeMasterBuilder_; /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; + * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -5003,11 +5773,14 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; + * * @return The gkeMaster. */ @java.lang.Override @@ -5025,6 +5798,8 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster() { } } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5045,6 +5820,8 @@ public Builder setGkeMaster(com.google.cloud.networkmanagement.v1.GKEMasterInfo return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5063,6 +5840,8 @@ public Builder setGkeMaster( return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5071,10 +5850,14 @@ public Builder setGkeMaster( */ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1.GKEMasterInfo value) { if (gkeMasterBuilder_ == null) { - if (stepInfoCase_ == 18 && - stepInfo_ != com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.GKEMasterInfo.newBuilder((com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 18 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.GKEMasterInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5090,6 +5873,8 @@ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1.GKEMasterInf return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5113,6 +5898,8 @@ public Builder clearGkeMaster() { return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5123,6 +5910,8 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder getGkeMasterB return getGkeMasterFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5141,6 +5930,8 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMaster } } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5148,14 +5939,19 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMaster * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.GKEMasterInfo, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> + com.google.cloud.networkmanagement.v1.GKEMasterInfo, + com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, + com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder> getGkeMasterFieldBuilder() { if (gkeMasterBuilder_ == null) { if (!(stepInfoCase_ == 18)) { stepInfo_ = com.google.cloud.networkmanagement.v1.GKEMasterInfo.getDefaultInstance(); } - gkeMasterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.GKEMasterInfo, com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder>( + gkeMasterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.GKEMasterInfo, + com.google.cloud.networkmanagement.v1.GKEMasterInfo.Builder, + com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.GKEMasterInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5167,13 +5963,19 @@ public com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMaster } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> cloudSqlInstanceBuilder_; + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> + cloudSqlInstanceBuilder_; /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -5181,11 +5983,14 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * * @return The cloudSqlInstance. */ @java.lang.Override @@ -5203,13 +6008,16 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlIns } } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public Builder setCloudSqlInstance(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { + public Builder setCloudSqlInstance( + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5223,6 +6031,8 @@ public Builder setCloudSqlInstance(com.google.cloud.networkmanagement.v1.CloudSQ return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
@@ -5241,18 +6051,26 @@ public Builder setCloudSqlInstance( return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public Builder mergeCloudSqlInstance(com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { + public Builder mergeCloudSqlInstance( + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { - if (stepInfoCase_ == 19 && - stepInfo_ != com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 19 + && stepInfo_ + != com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo + .getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.newBuilder( + (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5268,6 +6086,8 @@ public Builder mergeCloudSqlInstance(com.google.cloud.networkmanagement.v1.Cloud return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
@@ -5291,16 +6111,21 @@ public Builder clearCloudSqlInstance() { return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder getCloudSqlInstanceBuilder() { + public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder + getCloudSqlInstanceBuilder() { return getCloudSqlInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
@@ -5308,7 +6133,8 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder getClo * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder + getCloudSqlInstanceOrBuilder() { if ((stepInfoCase_ == 19) && (cloudSqlInstanceBuilder_ != null)) { return cloudSqlInstanceBuilder_.getMessageOrBuilder(); } else { @@ -5319,6 +6145,8 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCl } } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
@@ -5326,14 +6154,20 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCl * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder> getCloudSqlInstanceFieldBuilder() { if (cloudSqlInstanceBuilder_ == null) { if (!(stepInfoCase_ == 19)) { - stepInfo_ = com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); - } - cloudSqlInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.getDefaultInstance(); + } + cloudSqlInstanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo.Builder, + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5343,9 +6177,9 @@ public com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCl onChanged(); return cloudSqlInstanceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5355,12 +6189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.Step) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.Step) private static final com.google.cloud.networkmanagement.v1.Step DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.Step(); } @@ -5369,27 +6203,27 @@ public static com.google.cloud.networkmanagement.v1.Step getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step 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 Step 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; @@ -5404,6 +6238,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.Step getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java similarity index 90% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java index 871c91442777..0ee12d5f1496 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/StepOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface StepOrBuilder extends +public interface StepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.Step) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1.Step.State state = 2; + * * @return The state. */ com.google.cloud.networkmanagement.v1.Step.State getState(); /** + * + * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; + * * @return The causesDrop. */ boolean getCausesDrop(); /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1.InstanceInfo instance = 5; + * * @return The instance. */ com.google.cloud.networkmanagement.v1.InstanceInfo getInstance(); /** + * + * *
    * Display information of a Compute Engine instance.
    * 
@@ -104,24 +147,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.InstanceInfoOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; + * * @return Whether the firewall field is set. */ boolean hasFirewall(); /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6; + * * @return The firewall. */ com.google.cloud.networkmanagement.v1.FirewallInfo getFirewall(); /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -131,24 +182,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.FirewallInfoOrBuilder getFirewallOrBuilder(); /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; + * * @return Whether the route field is set. */ boolean hasRoute(); /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1.RouteInfo route = 7; + * * @return The route. */ com.google.cloud.networkmanagement.v1.RouteInfo getRoute(); /** + * + * *
    * Display information of a Compute Engine route.
    * 
@@ -158,6 +217,8 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.RouteInfoOrBuilder getRouteOrBuilder(); /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -166,10 +227,13 @@ public interface StepOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; + * * @return Whether the endpoint field is set. */ boolean hasEndpoint(); /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -178,10 +242,13 @@ public interface StepOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8; + * * @return The endpoint. */ com.google.cloud.networkmanagement.v1.EndpointInfo getEndpoint(); /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -194,24 +261,32 @@ public interface StepOrBuilder extends
   com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointOrBuilder();
 
   /**
+   *
+   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; + * * @return Whether the forwardingRule field is set. */ boolean hasForwardingRule(); /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9; + * * @return The forwardingRule. */ com.google.cloud.networkmanagement.v1.ForwardingRuleInfo getForwardingRule(); /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
@@ -221,24 +296,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder(); /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; + * * @return Whether the vpnGateway field is set. */ boolean hasVpnGateway(); /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10; + * * @return The vpnGateway. */ com.google.cloud.networkmanagement.v1.VpnGatewayInfo getVpnGateway(); /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -248,24 +331,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder(); /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; + * * @return Whether the vpnTunnel field is set. */ boolean hasVpnTunnel(); /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11; + * * @return The vpnTunnel. */ com.google.cloud.networkmanagement.v1.VpnTunnelInfo getVpnTunnel(); /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -275,24 +366,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder(); /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; + * * @return Whether the deliver field is set. */ boolean hasDeliver(); /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12; + * * @return The deliver. */ com.google.cloud.networkmanagement.v1.DeliverInfo getDeliver(); /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -302,24 +401,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.DeliverInfoOrBuilder getDeliverOrBuilder(); /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; + * * @return Whether the forward field is set. */ boolean hasForward(); /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1.ForwardInfo forward = 13; + * * @return The forward. */ com.google.cloud.networkmanagement.v1.ForwardInfo getForward(); /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
@@ -329,24 +436,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.ForwardInfoOrBuilder getForwardOrBuilder(); /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; + * * @return Whether the abort field is set. */ boolean hasAbort(); /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1.AbortInfo abort = 14; + * * @return The abort. */ com.google.cloud.networkmanagement.v1.AbortInfo getAbort(); /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
@@ -356,24 +471,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.AbortInfoOrBuilder getAbortOrBuilder(); /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; + * * @return Whether the drop field is set. */ boolean hasDrop(); /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1.DropInfo drop = 15; + * * @return The drop. */ com.google.cloud.networkmanagement.v1.DropInfo getDrop(); /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
@@ -383,24 +506,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.DropInfoOrBuilder getDropOrBuilder(); /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; + * * @return Whether the loadBalancer field is set. */ boolean hasLoadBalancer(); /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16; + * * @return The loadBalancer. */ com.google.cloud.networkmanagement.v1.LoadBalancerInfo getLoadBalancer(); /** + * + * *
    * Display information of the load balancers.
    * 
@@ -410,24 +541,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder(); /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; + * * @return Whether the network field is set. */ boolean hasNetwork(); /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1.NetworkInfo network = 17; + * * @return The network. */ com.google.cloud.networkmanagement.v1.NetworkInfo getNetwork(); /** + * + * *
    * Display information of a Google Cloud network.
    * 
@@ -437,24 +576,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.NetworkInfoOrBuilder getNetworkOrBuilder(); /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; + * * @return Whether the gkeMaster field is set. */ boolean hasGkeMaster(); /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18; + * * @return The gkeMaster. */ com.google.cloud.networkmanagement.v1.GKEMasterInfo getGkeMaster(); /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -464,31 +611,40 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder(); /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * * @return Whether the cloudSqlInstance field is set. */ boolean hasCloudSqlInstance(); /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * * @return The cloudSqlInstance. */ com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfo getCloudSqlInstance(); /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* * .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19; */ - com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder(); + com.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoOrBuilder + getCloudSqlInstanceOrBuilder(); public com.google.cloud.networkmanagement.v1.Step.StepInfoCase getStepInfoCase(); } diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java new file mode 100644 index 000000000000..fb586d38fe1e --- /dev/null +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java @@ -0,0 +1,179 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/networkmanagement/v1/connectivity_test.proto + +package com.google.cloud.networkmanagement.v1; + +public final class TestOuterClass { + private TestOuterClass() {} + + 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_networkmanagement_v1_ConnectivityTest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/networkmanagement/v1/conn" + + "ectivity_test.proto\022!google.cloud.networ" + + "kmanagement.v1\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032-goog" + + "le/cloud/networkmanagement/v1/trace.prot" + + "o\032\037google/protobuf/timestamp.proto\032\027goog" + + "le/rpc/status.proto\"\307\005\n\020ConnectivityTest" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t" + + "\022@\n\006source\030\003 \001(\0132+.google.cloud.networkm" + + "anagement.v1.EndpointB\003\340A\002\022E\n\013destinatio" + + "n\030\004 \001(\0132+.google.cloud.networkmanagement" + + ".v1.EndpointB\003\340A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020r" + + "elated_projects\030\006 \003(\t\022\031\n\014display_name\030\007 " + + "\001(\tB\003\340A\003\022O\n\006labels\030\010 \003(\0132?.google.cloud." + + "networkmanagement.v1.ConnectivityTest.La" + + "belsEntry\0224\n\013create_time\030\n \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\013" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022Y\n" + + "\024reachability_details\030\014 \001(\01326.google.clo" + + "ud.networkmanagement.v1.ReachabilityDeta" + + "ilsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement." + + "googleapis.com/ConnectivityTest\022 * Trace represents one simulated packet forwarding path. * * Each trace contains multiple ordered steps. @@ -19,47 +36,51 @@ * * Protobuf type {@code google.cloud.networkmanagement.v1.Trace} */ -public final class Trace extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Trace extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.Trace) TraceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Trace.newBuilder() to construct. private Trace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Trace() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Trace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_Trace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.Trace.class, com.google.cloud.networkmanagement.v1.Trace.Builder.class); + com.google.cloud.networkmanagement.v1.Trace.class, + com.google.cloud.networkmanagement.v1.Trace.Builder.class); } public static final int ENDPOINT_INFO_FIELD_NUMBER = 1; private com.google.cloud.networkmanagement.v1.EndpointInfo endpointInfo_; /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -68,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; + * * @return Whether the endpointInfo field is set. */ @java.lang.Override @@ -75,6 +97,8 @@ public boolean hasEndpointInfo() { return endpointInfo_ != null; } /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -83,13 +107,18 @@ public boolean hasEndpointInfo() {
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; + * * @return The endpointInfo. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo() { - return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_; + return endpointInfo_ == null + ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() + : endpointInfo_; } /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -101,13 +130,18 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo() {
    */
   @java.lang.Override
   public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
-    return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_;
+    return endpointInfo_ == null
+        ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()
+        : endpointInfo_;
   }
 
   public static final int STEPS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List steps_;
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -123,6 +157,8 @@ public java.util.List getStepsList()
     return steps_;
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -134,11 +170,13 @@ public java.util.List getStepsList()
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -154,6 +192,8 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -169,6 +209,8 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
     return steps_.get(index);
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -180,12 +222,12 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
-      int index) {
+  public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int index) {
     return steps_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -197,8 +239,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (endpointInfo_ != null) {
       output.writeMessage(1, getEndpointInfo());
     }
@@ -215,12 +256,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (endpointInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEndpointInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndpointInfo());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, steps_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -230,20 +269,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.networkmanagement.v1.Trace)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1.Trace other = (com.google.cloud.networkmanagement.v1.Trace) obj;
+    com.google.cloud.networkmanagement.v1.Trace other =
+        (com.google.cloud.networkmanagement.v1.Trace) obj;
 
     if (hasEndpointInfo() != other.hasEndpointInfo()) return false;
     if (hasEndpointInfo()) {
-      if (!getEndpointInfo()
-          .equals(other.getEndpointInfo())) return false;
+      if (!getEndpointInfo().equals(other.getEndpointInfo())) return false;
     }
-    if (!getStepsList()
-        .equals(other.getStepsList())) return false;
+    if (!getStepsList().equals(other.getStepsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -268,97 +306,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.networkmanagement.v1.Trace parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace 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.networkmanagement.v1.Trace parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1.Trace parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1.Trace parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace 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.networkmanagement.v1.Trace parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1.Trace parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.networkmanagement.v1.Trace prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Trace represents one simulated packet forwarding path.
    *   * Each trace contains multiple ordered steps.
@@ -374,33 +419,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1.Trace}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.Trace)
       com.google.cloud.networkmanagement.v1.TraceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1.Trace.class, com.google.cloud.networkmanagement.v1.Trace.Builder.class);
+              com.google.cloud.networkmanagement.v1.Trace.class,
+              com.google.cloud.networkmanagement.v1.Trace.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1.Trace.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();
@@ -421,9 +465,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1_Trace_descriptor;
     }
 
     @java.lang.Override
@@ -442,9 +486,12 @@ public com.google.cloud.networkmanagement.v1.Trace build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1.Trace buildPartial() {
-      com.google.cloud.networkmanagement.v1.Trace result = new com.google.cloud.networkmanagement.v1.Trace(this);
+      com.google.cloud.networkmanagement.v1.Trace result =
+          new com.google.cloud.networkmanagement.v1.Trace(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -464,9 +511,8 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1.Tr
     private void buildPartial0(com.google.cloud.networkmanagement.v1.Trace result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.endpointInfo_ = endpointInfoBuilder_ == null
-            ? endpointInfo_
-            : endpointInfoBuilder_.build();
+        result.endpointInfo_ =
+            endpointInfoBuilder_ == null ? endpointInfo_ : endpointInfoBuilder_.build();
       }
     }
 
@@ -474,38 +520,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.Trace 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.networkmanagement.v1.Trace) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1.Trace)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1.Trace) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1.Trace other) {
             stepsBuilder_ = null;
             steps_ = other.steps_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            stepsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getStepsFieldBuilder() : null;
+            stepsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getStepsFieldBuilder()
+                    : null;
           } else {
             stepsBuilder_.addAllMessages(other.steps_);
           }
@@ -569,32 +617,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEndpointInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.networkmanagement.v1.Step m =
-                  input.readMessage(
-                      com.google.cloud.networkmanagement.v1.Step.parser(),
-                      extensionRegistry);
-              if (stepsBuilder_ == null) {
-                ensureStepsIsMutable();
-                steps_.add(m);
-              } else {
-                stepsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getEndpointInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.networkmanagement.v1.Step m =
+                    input.readMessage(
+                        com.google.cloud.networkmanagement.v1.Step.parser(), extensionRegistry);
+                if (stepsBuilder_ == null) {
+                  ensureStepsIsMutable();
+                  steps_.add(m);
+                } else {
+                  stepsBuilder_.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) {
@@ -604,12 +652,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.networkmanagement.v1.EndpointInfo endpointInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> endpointInfoBuilder_;
+            com.google.cloud.networkmanagement.v1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>
+        endpointInfoBuilder_;
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -618,12 +672,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; + * * @return Whether the endpointInfo field is set. */ public boolean hasEndpointInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -632,16 +689,21 @@ public boolean hasEndpointInfo() {
      * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; + * * @return The endpointInfo. */ public com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo() { if (endpointInfoBuilder_ == null) { - return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_; + return endpointInfo_ == null + ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() + : endpointInfo_; } else { return endpointInfoBuilder_.getMessage(); } } /** + * + * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -665,6 +727,8 @@ public Builder setEndpointInfo(com.google.cloud.networkmanagement.v1.EndpointInf
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -686,6 +750,8 @@ public Builder setEndpointInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -697,9 +763,10 @@ public Builder setEndpointInfo(
      */
     public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1.EndpointInfo value) {
       if (endpointInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          endpointInfo_ != null &&
-          endpointInfo_ != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && endpointInfo_ != null
+            && endpointInfo_
+                != com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()) {
           getEndpointInfoBuilder().mergeFrom(value);
         } else {
           endpointInfo_ = value;
@@ -712,6 +779,8 @@ public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1.EndpointI
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -732,6 +801,8 @@ public Builder clearEndpointInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -747,6 +818,8 @@ public com.google.cloud.networkmanagement.v1.EndpointInfo.Builder getEndpointInf
       return getEndpointInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -760,11 +833,14 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointIn
       if (endpointInfoBuilder_ != null) {
         return endpointInfoBuilder_.getMessageOrBuilder();
       } else {
-        return endpointInfo_ == null ?
-            com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance() : endpointInfo_;
+        return endpointInfo_ == null
+            ? com.google.cloud.networkmanagement.v1.EndpointInfo.getDefaultInstance()
+            : endpointInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -775,32 +851,41 @@ public com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointIn
      * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder> 
+            com.google.cloud.networkmanagement.v1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>
         getEndpointInfoFieldBuilder() {
       if (endpointInfoBuilder_ == null) {
-        endpointInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.EndpointInfo, com.google.cloud.networkmanagement.v1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
-                getEndpointInfo(),
-                getParentForChildren(),
-                isClean());
+        endpointInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1.EndpointInfo,
+                com.google.cloud.networkmanagement.v1.EndpointInfo.Builder,
+                com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder>(
+                getEndpointInfo(), getParentForChildren(), isClean());
         endpointInfo_ = null;
       }
       return endpointInfoBuilder_;
     }
 
     private java.util.List steps_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.Step, com.google.cloud.networkmanagement.v1.Step.Builder, com.google.cloud.networkmanagement.v1.StepOrBuilder> stepsBuilder_;
+            com.google.cloud.networkmanagement.v1.Step,
+            com.google.cloud.networkmanagement.v1.Step.Builder,
+            com.google.cloud.networkmanagement.v1.StepOrBuilder>
+        stepsBuilder_;
 
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -819,6 +904,8 @@ public java.util.List getStepsList()
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -837,6 +924,8 @@ public int getStepsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -855,6 +944,8 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -865,8 +956,7 @@ public com.google.cloud.networkmanagement.v1.Step getSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public Builder setSteps(
-        int index, com.google.cloud.networkmanagement.v1.Step value) {
+    public Builder setSteps(int index, com.google.cloud.networkmanagement.v1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -880,6 +970,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -902,6 +994,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -926,6 +1020,8 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1.Step value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -936,8 +1032,7 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1.Step value) {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public Builder addSteps(
-        int index, com.google.cloud.networkmanagement.v1.Step value) {
+    public Builder addSteps(int index, com.google.cloud.networkmanagement.v1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -951,6 +1046,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -961,8 +1058,7 @@ public Builder addSteps(
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public Builder addSteps(
-        com.google.cloud.networkmanagement.v1.Step.Builder builderForValue) {
+    public Builder addSteps(com.google.cloud.networkmanagement.v1.Step.Builder builderForValue) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
         steps_.add(builderForValue.build());
@@ -973,6 +1069,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -995,6 +1093,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1009,8 +1109,7 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -1018,6 +1117,8 @@ public Builder addAllSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1039,6 +1140,8 @@ public Builder clearSteps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1060,6 +1163,8 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1070,11 +1175,12 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1.Step.Builder getStepsBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1.Step.Builder getStepsBuilder(int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1085,14 +1191,16 @@ public com.google.cloud.networkmanagement.v1.Step.Builder getStepsBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);  } else {
+        return steps_.get(index);
+      } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1103,8 +1211,8 @@ public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public java.util.List 
-         getStepsOrBuilderList() {
+    public java.util.List
+        getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1112,6 +1220,8 @@ public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1123,10 +1233,12 @@ public com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
     public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder() {
-      return getStepsFieldBuilder().addBuilder(
-          com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
+      return getStepsFieldBuilder()
+          .addBuilder(com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1137,12 +1249,13 @@ public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder() {
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder(
-        int index) {
-      return getStepsFieldBuilder().addBuilder(
-          index, com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder(int index) {
+      return getStepsFieldBuilder()
+          .addBuilder(index, com.google.cloud.networkmanagement.v1.Step.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1153,27 +1266,30 @@ public com.google.cloud.networkmanagement.v1.Step.Builder addStepsBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
      */
-    public java.util.List 
-         getStepsBuilderList() {
+    public java.util.List
+        getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1.Step, com.google.cloud.networkmanagement.v1.Step.Builder, com.google.cloud.networkmanagement.v1.StepOrBuilder> 
+            com.google.cloud.networkmanagement.v1.Step,
+            com.google.cloud.networkmanagement.v1.Step.Builder,
+            com.google.cloud.networkmanagement.v1.StepOrBuilder>
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1.Step, com.google.cloud.networkmanagement.v1.Step.Builder, com.google.cloud.networkmanagement.v1.StepOrBuilder>(
-                steps_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        stepsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1.Step,
+                com.google.cloud.networkmanagement.v1.Step.Builder,
+                com.google.cloud.networkmanagement.v1.StepOrBuilder>(
+                steps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         steps_ = null;
       }
       return stepsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1183,12 +1299,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.Trace)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.Trace)
   private static final com.google.cloud.networkmanagement.v1.Trace DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.Trace();
   }
@@ -1197,27 +1313,27 @@ public static com.google.cloud.networkmanagement.v1.Trace getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Trace 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 Trace 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;
@@ -1232,6 +1348,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.networkmanagement.v1.Trace getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
index d5fe50a963c1..3b2b65eaf593 100644
--- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/trace.proto
 
 package com.google.cloud.networkmanagement.v1;
 
-public interface TraceOrBuilder extends
+public interface TraceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.Trace)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -16,10 +34,13 @@ public interface TraceOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; + * * @return Whether the endpointInfo field is set. */ boolean hasEndpointInfo(); /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -28,10 +49,13 @@ public interface TraceOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1; + * * @return The endpointInfo. */ com.google.cloud.networkmanagement.v1.EndpointInfo getEndpointInfo(); /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -44,6 +68,8 @@ public interface TraceOrBuilder extends
   com.google.cloud.networkmanagement.v1.EndpointInfoOrBuilder getEndpointInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -54,9 +80,10 @@ public interface TraceOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
-  java.util.List 
-      getStepsList();
+  java.util.List getStepsList();
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -69,6 +96,8 @@ public interface TraceOrBuilder extends
    */
   com.google.cloud.networkmanagement.v1.Step getSteps(int index);
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -81,6 +110,8 @@ public interface TraceOrBuilder extends
    */
   int getStepsCount();
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -91,9 +122,11 @@ public interface TraceOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
-  java.util.List 
+  java.util.List
       getStepsOrBuilderList();
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -104,6 +137,5 @@ public interface TraceOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1.Step steps = 2;
    */
-  com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(
-      int index);
+  com.google.cloud.networkmanagement.v1.StepOrBuilder getStepsOrBuilder(int index);
 }
diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
new file mode 100644
index 000000000000..b9a1525b7f8d
--- /dev/null
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java
@@ -0,0 +1,519 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1/trace.proto
+
+package com.google.cloud.networkmanagement.v1;
+
+public final class TraceProto {
+  private TraceProto() {}
+
+  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_networkmanagement_v1_Trace_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_Step_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_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/networkmanagement/v1/trac"
+          + "e.proto\022!google.cloud.networkmanagement."
+          + "v1\"\207\001\n\005Trace\022F\n\rendpoint_info\030\001 \001(\0132/.go"
+          + "ogle.cloud.networkmanagement.v1.Endpoint"
+          + "Info\0226\n\005steps\030\002 \003(\0132\'.google.cloud.netwo"
+          + "rkmanagement.v1.Step\"\356\r\n\004Step\022\023\n\013descrip"
+          + "tion\030\001 \001(\t\022<\n\005state\030\002 \001(\0162-.google.cloud"
+          + ".networkmanagement.v1.Step.State\022\023\n\013caus"
+          + "es_drop\030\003 \001(\010\022\022\n\nproject_id\030\004 \001(\t\022C\n\010ins"
+          + "tance\030\005 \001(\0132/.google.cloud.networkmanage"
+          + "ment.v1.InstanceInfoH\000\022C\n\010firewall\030\006 \001(\013"
+          + "2/.google.cloud.networkmanagement.v1.Fir"
+          + "ewallInfoH\000\022=\n\005route\030\007 \001(\0132,.google.clou"
+          + "d.networkmanagement.v1.RouteInfoH\000\022C\n\010en"
+          + "dpoint\030\010 \001(\0132/.google.cloud.networkmanag"
+          + "ement.v1.EndpointInfoH\000\022P\n\017forwarding_ru"
+          + "le\030\t \001(\01325.google.cloud.networkmanagemen"
+          + "t.v1.ForwardingRuleInfoH\000\022H\n\013vpn_gateway"
+          + "\030\n \001(\01321.google.cloud.networkmanagement."
+          + "v1.VpnGatewayInfoH\000\022F\n\nvpn_tunnel\030\013 \001(\0132"
+          + "0.google.cloud.networkmanagement.v1.VpnT"
+          + "unnelInfoH\000\022A\n\007deliver\030\014 \001(\0132..google.cl"
+          + "oud.networkmanagement.v1.DeliverInfoH\000\022A"
+          + "\n\007forward\030\r \001(\0132..google.cloud.networkma"
+          + "nagement.v1.ForwardInfoH\000\022=\n\005abort\030\016 \001(\013"
+          + "2,.google.cloud.networkmanagement.v1.Abo"
+          + "rtInfoH\000\022;\n\004drop\030\017 \001(\0132+.google.cloud.ne"
+          + "tworkmanagement.v1.DropInfoH\000\022L\n\rload_ba"
+          + "lancer\030\020 \001(\01323.google.cloud.networkmanag"
+          + "ement.v1.LoadBalancerInfoH\000\022A\n\007network\030\021"
+          + " \001(\0132..google.cloud.networkmanagement.v1"
+          + ".NetworkInfoH\000\022F\n\ngke_master\030\022 \001(\01320.goo"
+          + "gle.cloud.networkmanagement.v1.GKEMaster"
+          + "InfoH\000\022U\n\022cloud_sql_instance\030\023 \001(\01327.goo"
+          + "gle.cloud.networkmanagement.v1.CloudSQLI"
+          + "nstanceInfoH\000\"\270\004\n\005State\022\025\n\021STATE_UNSPECI"
+          + "FIED\020\000\022\027\n\023START_FROM_INSTANCE\020\001\022\027\n\023START"
+          + "_FROM_INTERNET\020\002\022\036\n\032START_FROM_PRIVATE_N"
+          + "ETWORK\020\003\022\031\n\025START_FROM_GKE_MASTER\020\025\022!\n\035S"
+          + "TART_FROM_CLOUD_SQL_INSTANCE\020\026\022\037\n\033APPLY_"
+          + "INGRESS_FIREWALL_RULE\020\004\022\036\n\032APPLY_EGRESS_"
+          + "FIREWALL_RULE\020\005\022\017\n\013APPLY_ROUTE\020\006\022\031\n\025APPL"
+          + "Y_FORWARDING_RULE\020\007\022\025\n\021SPOOFING_APPROVED"
+          + "\020\010\022\026\n\022ARRIVE_AT_INSTANCE\020\t\022$\n ARRIVE_AT_"
+          + "INTERNAL_LOAD_BALANCER\020\n\022$\n ARRIVE_AT_EX"
+          + "TERNAL_LOAD_BALANCER\020\013\022\031\n\025ARRIVE_AT_VPN_"
+          + "GATEWAY\020\014\022\030\n\024ARRIVE_AT_VPN_TUNNEL\020\r\022\007\n\003N"
+          + "AT\020\016\022\024\n\020PROXY_CONNECTION\020\017\022\013\n\007DELIVER\020\020\022"
+          + "\010\n\004DROP\020\021\022\013\n\007FORWARD\020\022\022\t\n\005ABORT\020\023\022\035\n\031VIE"
+          + "WER_PERMISSION_MISSING\020\024B\013\n\tstep_info\"\266\001"
+          + "\n\014InstanceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003"
+          + "uri\030\002 \001(\t\022\021\n\tinterface\030\003 \001(\t\022\023\n\013network_"
+          + "uri\030\004 \001(\t\022\023\n\013internal_ip\030\005 \001(\t\022\023\n\013extern"
+          + "al_ip\030\006 \001(\t\022\024\n\014network_tags\030\007 \003(\t\022\033\n\017ser"
+          + "vice_account\030\010 \001(\tB\002\030\001\"J\n\013NetworkInfo\022\024\n"
+          + "\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020matc"
+          + "hed_ip_range\030\004 \001(\t\"\265\003\n\014FirewallInfo\022\024\n\014d"
+          + "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\021\n\tdirect"
+          + "ion\030\003 \001(\t\022\016\n\006action\030\004 \001(\t\022\020\n\010priority\030\005 "
+          + "\001(\005\022\023\n\013network_uri\030\006 \001(\t\022\023\n\013target_tags\030"
+          + "\007 \003(\t\022\037\n\027target_service_accounts\030\010 \003(\t\022\016"
+          + "\n\006policy\030\t \001(\t\022\\\n\022firewall_rule_type\030\n \001"
+          + "(\0162@.google.cloud.networkmanagement.v1.F"
+          + "irewallInfo.FirewallRuleType\"\223\001\n\020Firewal"
+          + "lRuleType\022\"\n\036FIREWALL_RULE_TYPE_UNSPECIF"
+          + "IED\020\000\022%\n!HIERARCHICAL_FIREWALL_POLICY_RU"
+          + "LE\020\001\022\025\n\021VPC_FIREWALL_RULE\020\002\022\035\n\031IMPLIED_V"
+          + "PC_FIREWALL_RULE\020\003\"\367\005\n\tRouteInfo\022J\n\nrout"
+          + "e_type\030\010 \001(\01626.google.cloud.networkmanag"
+          + "ement.v1.RouteInfo.RouteType\022O\n\rnext_hop"
+          + "_type\030\t \001(\01628.google.cloud.networkmanage"
+          + "ment.v1.RouteInfo.NextHopType\022\024\n\014display"
+          + "_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\025\n\rdest_ip_rang"
+          + "e\030\003 \001(\t\022\020\n\010next_hop\030\004 \001(\t\022\023\n\013network_uri"
+          + "\030\005 \001(\t\022\020\n\010priority\030\006 \001(\005\022\025\n\rinstance_tag"
+          + "s\030\007 \003(\t\"\211\001\n\tRouteType\022\032\n\026ROUTE_TYPE_UNSP"
+          + "ECIFIED\020\000\022\n\n\006SUBNET\020\001\022\n\n\006STATIC\020\002\022\013\n\007DYN"
+          + "AMIC\020\003\022\022\n\016PEERING_SUBNET\020\004\022\022\n\016PEERING_ST"
+          + "ATIC\020\005\022\023\n\017PEERING_DYNAMIC\020\006\"\266\002\n\013NextHopT"
+          + "ype\022\035\n\031NEXT_HOP_TYPE_UNSPECIFIED\020\000\022\017\n\013NE"
+          + "XT_HOP_IP\020\001\022\025\n\021NEXT_HOP_INSTANCE\020\002\022\024\n\020NE"
+          + "XT_HOP_NETWORK\020\003\022\024\n\020NEXT_HOP_PEERING\020\004\022\031"
+          + "\n\025NEXT_HOP_INTERCONNECT\020\005\022\027\n\023NEXT_HOP_VP"
+          + "N_TUNNEL\020\006\022\030\n\024NEXT_HOP_VPN_GATEWAY\020\007\022\035\n\031"
+          + "NEXT_HOP_INTERNET_GATEWAY\020\010\022\026\n\022NEXT_HOP_"
+          + "BLACKHOLE\020\t\022\020\n\014NEXT_HOP_ILB\020\n\022\035\n\031NEXT_HO"
+          + "P_ROUTER_APPLIANCE\020\013\"\237\001\n\022ForwardingRuleI"
+          + "nfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030"
+          + "\n\020matched_protocol\030\003 \001(\t\022\032\n\022matched_port"
+          + "_range\030\006 \001(\t\022\013\n\003vip\030\004 \001(\t\022\016\n\006target\030\005 \001("
+          + "\t\022\023\n\013network_uri\030\007 \001(\t\"\251\004\n\020LoadBalancerI"
+          + "nfo\022`\n\022load_balancer_type\030\001 \001(\0162D.google"
+          + ".cloud.networkmanagement.v1.LoadBalancer"
+          + "Info.LoadBalancerType\022\030\n\020health_check_ur"
+          + "i\030\002 \001(\t\022H\n\010backends\030\003 \003(\01326.google.cloud"
+          + ".networkmanagement.v1.LoadBalancerBacken"
+          + "d\022U\n\014backend_type\030\004 \001(\0162?.google.cloud.n"
+          + "etworkmanagement.v1.LoadBalancerInfo.Bac"
+          + "kendType\022\023\n\013backend_uri\030\005 \001(\t\"\217\001\n\020LoadBa"
+          + "lancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSPECI"
+          + "FIED\020\000\022\024\n\020INTERNAL_TCP_UDP\020\001\022\023\n\017NETWORK_"
+          + "TCP_UDP\020\002\022\016\n\nHTTP_PROXY\020\003\022\r\n\tTCP_PROXY\020\004"
+          + "\022\r\n\tSSL_PROXY\020\005\"Q\n\013BackendType\022\034\n\030BACKEN"
+          + "D_TYPE_UNSPECIFIED\020\000\022\023\n\017BACKEND_SERVICE\020"
+          + "\001\022\017\n\013TARGET_POOL\020\002\"\366\002\n\023LoadBalancerBacke"
+          + "nd\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022t\n"
+          + "\033health_check_firewall_state\030\003 \001(\0162O.goo"
+          + "gle.cloud.networkmanagement.v1.LoadBalan"
+          + "cerBackend.HealthCheckFirewallState\022,\n$h"
+          + "ealth_check_allowing_firewall_rules\030\004 \003("
+          + "\t\022,\n$health_check_blocking_firewall_rule"
+          + "s\030\005 \003(\t\"j\n\030HealthCheckFirewallState\022+\n\'H"
+          + "EALTH_CHECK_FIREWALL_STATE_UNSPECIFIED\020\000"
+          + "\022\016\n\nCONFIGURED\020\001\022\021\n\rMISCONFIGURED\020\002\"\204\001\n\016"
+          + "VpnGatewayInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003"
+          + "uri\030\002 \001(\t\022\023\n\013network_uri\030\003 \001(\t\022\022\n\nip_add"
+          + "ress\030\004 \001(\t\022\026\n\016vpn_tunnel_uri\030\005 \001(\t\022\016\n\006re"
+          + "gion\030\006 \001(\t\"\356\002\n\rVpnTunnelInfo\022\024\n\014display_"
+          + "name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\026\n\016source_gatewa"
+          + "y\030\003 \001(\t\022\026\n\016remote_gateway\030\004 \001(\t\022\031\n\021remot"
+          + "e_gateway_ip\030\005 \001(\t\022\031\n\021source_gateway_ip\030"
+          + "\006 \001(\t\022\023\n\013network_uri\030\007 \001(\t\022\016\n\006region\030\010 \001"
+          + "(\t\022R\n\014routing_type\030\t \001(\0162<.google.cloud."
+          + "networkmanagement.v1.VpnTunnelInfo.Routi"
+          + "ngType\"[\n\013RoutingType\022\034\n\030ROUTING_TYPE_UN"
+          + "SPECIFIED\020\000\022\017\n\013ROUTE_BASED\020\001\022\020\n\014POLICY_B"
+          + "ASED\020\002\022\013\n\007DYNAMIC\020\003\"\267\001\n\014EndpointInfo\022\021\n\t"
+          + "source_ip\030\001 \001(\t\022\026\n\016destination_ip\030\002 \001(\t\022"
+          + "\020\n\010protocol\030\003 \001(\t\022\023\n\013source_port\030\004 \001(\005\022\030"
+          + "\n\020destination_port\030\005 \001(\005\022\032\n\022source_netwo"
+          + "rk_uri\030\006 \001(\t\022\037\n\027destination_network_uri\030"
+          + "\007 \001(\t\"\340\001\n\013DeliverInfo\022E\n\006target\030\001 \001(\01625."
+          + "google.cloud.networkmanagement.v1.Delive"
+          + "rInfo.Target\022\024\n\014resource_uri\030\002 \001(\t\"t\n\006Ta"
+          + "rget\022\026\n\022TARGET_UNSPECIFIED\020\000\022\014\n\010INSTANCE"
+          + "\020\001\022\014\n\010INTERNET\020\002\022\016\n\nGOOGLE_API\020\003\022\016\n\nGKE_"
+          + "MASTER\020\004\022\026\n\022CLOUD_SQL_INSTANCE\020\005\"\215\002\n\013For"
+          + "wardInfo\022E\n\006target\030\001 \001(\01625.google.cloud."
+          + "networkmanagement.v1.ForwardInfo.Target\022"
+          + "\024\n\014resource_uri\030\002 \001(\t\"\240\001\n\006Target\022\026\n\022TARG"
+          + "ET_UNSPECIFIED\020\000\022\017\n\013PEERING_VPC\020\001\022\017\n\013VPN"
+          + "_GATEWAY\020\002\022\020\n\014INTERCONNECT\020\003\022\016\n\nGKE_MAST"
+          + "ER\020\004\022\"\n\036IMPORTED_CUSTOM_ROUTE_NEXT_HOP\020\005"
+          + "\022\026\n\022CLOUD_SQL_INSTANCE\020\006\"\230\004\n\tAbortInfo\022A"
+          + "\n\005cause\030\001 \001(\01622.google.cloud.networkmana"
+          + "gement.v1.AbortInfo.Cause\022\024\n\014resource_ur"
+          + "i\030\002 \001(\t\022#\n\033projects_missing_permission\030\003"
+          + " \003(\t\"\214\003\n\005Cause\022\025\n\021CAUSE_UNSPECIFIED\020\000\022\023\n"
+          + "\017UNKNOWN_NETWORK\020\001\022\016\n\nUNKNOWN_IP\020\002\022\023\n\017UN"
+          + "KNOWN_PROJECT\020\003\022\025\n\021PERMISSION_DENIED\020\004\022\026"
+          + "\n\022NO_SOURCE_LOCATION\020\005\022\024\n\020INVALID_ARGUME"
+          + "NT\020\006\022\022\n\016NO_EXTERNAL_IP\020\007\022\032\n\026UNINTENDED_D"
+          + "ESTINATION\020\010\022\022\n\016TRACE_TOO_LONG\020\t\022\022\n\016INTE"
+          + "RNAL_ERROR\020\n\022\035\n\031SOURCE_ENDPOINT_NOT_FOUN"
+          + "D\020\013\022\035\n\031MISMATCHED_SOURCE_NETWORK\020\014\022\"\n\036DE"
+          + "STINATION_ENDPOINT_NOT_FOUND\020\r\022\"\n\036MISMAT"
+          + "CHED_DESTINATION_NETWORK\020\016\022\017\n\013UNSUPPORTE"
+          + "D\020\017\"\232\006\n\010DropInfo\022@\n\005cause\030\001 \001(\01621.google"
+          + ".cloud.networkmanagement.v1.DropInfo.Cau"
+          + "se\022\024\n\014resource_uri\030\002 \001(\t\"\265\005\n\005Cause\022\025\n\021CA"
+          + "USE_UNSPECIFIED\020\000\022\034\n\030UNKNOWN_EXTERNAL_AD"
+          + "DRESS\020\001\022\031\n\025FOREIGN_IP_DISALLOWED\020\002\022\021\n\rFI"
+          + "REWALL_RULE\020\003\022\014\n\010NO_ROUTE\020\004\022\023\n\017ROUTE_BLA"
+          + "CKHOLE\020\005\022\027\n\023ROUTE_WRONG_NETWORK\020\006\022\037\n\033PRI"
+          + "VATE_TRAFFIC_TO_INTERNET\020\007\022$\n PRIVATE_GO"
+          + "OGLE_ACCESS_DISALLOWED\020\010\022\027\n\023NO_EXTERNAL_"
+          + "ADDRESS\020\t\022\034\n\030UNKNOWN_INTERNAL_ADDRESS\020\n\022"
+          + "\034\n\030FORWARDING_RULE_MISMATCH\020\013\022 \n\034FORWARD"
+          + "ING_RULE_NO_INSTANCES\020\014\0228\n4FIREWALL_BLOC"
+          + "KING_LOAD_BALANCER_BACKEND_HEALTH_CHECK\020"
+          + "\r\022\030\n\024INSTANCE_NOT_RUNNING\020\016\022\030\n\024TRAFFIC_T"
+          + "YPE_BLOCKED\020\017\022\"\n\036GKE_MASTER_UNAUTHORIZED"
+          + "_ACCESS\020\020\022*\n&CLOUD_SQL_INSTANCE_UNAUTHOR"
+          + "IZED_ACCESS\020\021\022\036\n\032DROPPED_INSIDE_GKE_SERV"
+          + "ICE\020\022\022$\n DROPPED_INSIDE_CLOUD_SQL_SERVIC"
+          + "E\020\023\022%\n!GOOGLE_MANAGED_SERVICE_NO_PEERING"
+          + "\020\024\022$\n CLOUD_SQL_INSTANCE_NO_IP_ADDRESS\020\025"
+          + "\"k\n\rGKEMasterInfo\022\023\n\013cluster_uri\030\002 \001(\t\022\033"
+          + "\n\023cluster_network_uri\030\004 \001(\t\022\023\n\013internal_"
+          + "ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\"\210\001\n\024CloudS"
+          + "QLInstanceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003"
+          + "uri\030\002 \001(\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013intern"
+          + "al_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016\n\006regi"
+          + "on\030\007 \001(\tB\371\001\n%com.google.cloud.networkman"
+          + "agement.v1B\nTraceProtoP\001ZScloud.google.c"
+          + "om/go/networkmanagement/apiv1/networkman"
+          + "agementpb;networkmanagementpb\252\002!Google.C"
+          + "loud.NetworkManagement.V1\312\002!Google\\Cloud"
+          + "\\NetworkManagement\\V1\352\002$Google::Cloud::N"
+          + "etworkManagement::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+    internal_static_google_cloud_networkmanagement_v1_Trace_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1_Trace_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_Trace_descriptor,
+            new java.lang.String[] {
+              "EndpointInfo", "Steps",
+            });
+    internal_static_google_cloud_networkmanagement_v1_Step_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1_Step_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_Step_descriptor,
+            new java.lang.String[] {
+              "Description",
+              "State",
+              "CausesDrop",
+              "ProjectId",
+              "Instance",
+              "Firewall",
+              "Route",
+              "Endpoint",
+              "ForwardingRule",
+              "VpnGateway",
+              "VpnTunnel",
+              "Deliver",
+              "Forward",
+              "Abort",
+              "Drop",
+              "LoadBalancer",
+              "Network",
+              "GkeMaster",
+              "CloudSqlInstance",
+              "StepInfo",
+            });
+    internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1_InstanceInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_InstanceInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "Interface",
+              "NetworkUri",
+              "InternalIp",
+              "ExternalIp",
+              "NetworkTags",
+              "ServiceAccount",
+            });
+    internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1_NetworkInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_NetworkInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "MatchedIpRange",
+            });
+    internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1_FirewallInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_FirewallInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "Direction",
+              "Action",
+              "Priority",
+              "NetworkUri",
+              "TargetTags",
+              "TargetServiceAccounts",
+              "Policy",
+              "FirewallRuleType",
+            });
+    internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1_RouteInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_RouteInfo_descriptor,
+            new java.lang.String[] {
+              "RouteType",
+              "NextHopType",
+              "DisplayName",
+              "Uri",
+              "DestIpRange",
+              "NextHop",
+              "NetworkUri",
+              "Priority",
+              "InstanceTags",
+            });
+    internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_ForwardingRuleInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "MatchedProtocol",
+              "MatchedPortRange",
+              "Vip",
+              "Target",
+              "NetworkUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_LoadBalancerInfo_descriptor,
+            new java.lang.String[] {
+              "LoadBalancerType", "HealthCheckUri", "Backends", "BackendType", "BackendUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_LoadBalancerBackend_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "HealthCheckFirewallState",
+              "HealthCheckAllowingFirewallRules",
+              "HealthCheckBlockingFirewallRules",
+            });
+    internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "NetworkUri", "IpAddress", "VpnTunnelUri", "Region",
+            });
+    internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "SourceGateway",
+              "RemoteGateway",
+              "RemoteGatewayIp",
+              "SourceGatewayIp",
+              "NetworkUri",
+              "Region",
+              "RoutingType",
+            });
+    internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_networkmanagement_v1_EndpointInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_EndpointInfo_descriptor,
+            new java.lang.String[] {
+              "SourceIp",
+              "DestinationIp",
+              "Protocol",
+              "SourcePort",
+              "DestinationPort",
+              "SourceNetworkUri",
+              "DestinationNetworkUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_networkmanagement_v1_DeliverInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_DeliverInfo_descriptor,
+            new java.lang.String[] {
+              "Target", "ResourceUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_networkmanagement_v1_ForwardInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_ForwardInfo_descriptor,
+            new java.lang.String[] {
+              "Target", "ResourceUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_networkmanagement_v1_AbortInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_AbortInfo_descriptor,
+            new java.lang.String[] {
+              "Cause", "ResourceUri", "ProjectsMissingPermission",
+            });
+    internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_networkmanagement_v1_DropInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_DropInfo_descriptor,
+            new java.lang.String[] {
+              "Cause", "ResourceUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_GKEMasterInfo_descriptor,
+            new java.lang.String[] {
+              "ClusterUri", "ClusterNetworkUri", "InternalIp", "ExternalIp",
+            });
+    internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1_CloudSQLInstanceInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "NetworkUri", "InternalIp", "ExternalIp", "Region",
+            });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
similarity index 61%
rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
index f50653fee596..c860fbc6d0c6 100644
--- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
+++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequest.java
@@ -1,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1;
 
 /**
+ *
+ *
  * 
  * Request for the `UpdateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest} */ -public final class UpdateConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) UpdateConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateConnectivityTestRequest.newBuilder() to construct. private UpdateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConnectivityTestRequest() { - } + + private UpdateConnectivityTestRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -63,12 +85,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -76,12 +102,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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() { @@ -91,11 +120,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int RESOURCE_FIELD_NUMBER = 2; private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ @java.lang.Override @@ -103,30 +137,44 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { - return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -156,12 +203,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,22 +216,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.networkmanagement.v1.UpdateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,129 +257,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `UpdateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.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(); @@ -354,14 +407,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override @@ -375,23 +430,23 @@ public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest build @java.lang.Override public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.resource_ = resourceBuilder_ == null - ? resource_ - : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); } } @@ -399,46 +454,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.UpdateConnectiv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + .getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -471,26 +531,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getResourceFieldBuilder().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(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getResourceFieldBuilder().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) { @@ -500,46 +559,63 @@ 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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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) { @@ -555,15 +631,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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 { @@ -574,18 +652,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -598,12 +679,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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); @@ -616,12 +700,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -629,38 +716,48 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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_; @@ -668,39 +765,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.networkmanagement.v1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> resourceBuilder_; + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + resourceBuilder_; /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ public com.google.cloud.networkmanagement.v1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -716,11 +832,15 @@ public Builder setResource(com.google.cloud.networkmanagement.v1.ConnectivityTes return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource( com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder builderForValue) { @@ -734,17 +854,22 @@ public Builder setResource( return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - resource_ != null && - resource_ != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && resource_ != null + && resource_ + != com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -757,11 +882,15 @@ public Builder mergeResource(com.google.cloud.networkmanagement.v1.ConnectivityT return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000002); @@ -774,11 +903,15 @@ public Builder clearResource() { return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourceBuilder() { bitField0_ |= 0x00000002; @@ -786,43 +919,55 @@ public com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder getResourc return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1.ConnectivityTest.getDefaultInstance() + : resource_; } } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1.ConnectivityTest, com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1.ConnectivityTest, + com.google.cloud.networkmanagement.v1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -832,41 +977,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConnectivityTestRequest 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 UpdateConnectivityTestRequest 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; @@ -878,9 +1025,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java index 87ace3118942..a4f918955d05 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/UpdateConnectivityTestRequestOrBuilder.java @@ -1,66 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/reachability.proto package com.google.cloud.networkmanagement.v1; -public interface UpdateConnectivityTestRequestOrBuilder extends +public interface UpdateConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ com.google.cloud.networkmanagement.v1.ConnectivityTest getResource(); /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java index ed90d29c1c21..8fec649aaf6a 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine VPN gateway.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnGatewayInfo} */ -public final class VpnGatewayInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VpnGatewayInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.VpnGatewayInfo) VpnGatewayInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpnGatewayInfo.newBuilder() to construct. private VpnGatewayInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VpnGatewayInfo() { displayName_ = ""; uri_ = ""; @@ -30,38 +48,43 @@ private VpnGatewayInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VpnGatewayInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -70,29 +93,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -101,14 +124,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -117,29 +144,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -148,14 +175,18 @@ public java.lang.String getUri() { } public static final int NETWORK_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The networkUri. */ @java.lang.Override @@ -164,29 +195,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -195,14 +226,18 @@ public java.lang.String getNetworkUri() { } public static final int IP_ADDRESS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; + * * @return The ipAddress. */ @java.lang.Override @@ -211,29 +246,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 VPN gateway.
    * 
* * string ip_address = 4; + * * @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 { @@ -242,9 +277,12 @@ public java.lang.String getIpAddress() { } public static final int VPN_TUNNEL_URI_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object vpnTunnelUri_ = ""; /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -252,6 +290,7 @@ public java.lang.String getIpAddress() {
    * 
* * string vpn_tunnel_uri = 5; + * * @return The vpnTunnelUri. */ @java.lang.Override @@ -260,14 +299,15 @@ public java.lang.String getVpnTunnelUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; } } /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -275,16 +315,15 @@ public java.lang.String getVpnTunnelUri() {
    * 
* * string vpn_tunnel_uri = 5; + * * @return The bytes for vpnTunnelUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -293,14 +332,18 @@ public java.lang.String getVpnTunnelUri() { } public static final int REGION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The region. */ @java.lang.Override @@ -309,29 +352,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -340,6 +383,7 @@ public java.lang.String getRegion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,8 +395,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -406,25 +449,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.networkmanagement.v1.VpnGatewayInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.VpnGatewayInfo other = (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getVpnTunnelUri() - .equals(other.getVpnTunnelUri())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1.VpnGatewayInfo other = + (com.google.cloud.networkmanagement.v1.VpnGatewayInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getVpnTunnelUri().equals(other.getVpnTunnelUri())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -454,129 +492,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo 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.networkmanagement.v1.VpnGatewayInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.VpnGatewayInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine VPN gateway.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnGatewayInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.VpnGatewayInfo) com.google.cloud.networkmanagement.v1.VpnGatewayInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.class, + com.google.cloud.networkmanagement.v1.VpnGatewayInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.VpnGatewayInfo.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(); @@ -591,9 +635,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnGatewayInfo_descriptor; } @java.lang.Override @@ -612,8 +656,11 @@ public com.google.cloud.networkmanagement.v1.VpnGatewayInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnGatewayInfo buildPartial() { - com.google.cloud.networkmanagement.v1.VpnGatewayInfo result = new com.google.cloud.networkmanagement.v1.VpnGatewayInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.VpnGatewayInfo result = + new com.google.cloud.networkmanagement.v1.VpnGatewayInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -644,38 +691,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.VpnGatewayInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1.VpnGatewayInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.VpnGatewayInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.VpnGatewayInfo) other); } else { super.mergeFrom(other); return this; @@ -683,7 +731,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.VpnGatewayInfo other) { - if (other == com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.VpnGatewayInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -740,42 +789,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - vpnTunnelUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + vpnTunnelUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + region_ = 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) { @@ -785,22 +841,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -809,20 +868,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -830,28 +890,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -861,17 +928,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -881,18 +952,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -901,20 +974,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -922,28 +996,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -953,17 +1034,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -973,18 +1058,20 @@ public Builder setUriBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -993,20 +1080,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1014,28 +1102,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1045,17 +1140,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1065,18 +1164,20 @@ public Builder setNetworkUriBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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; @@ -1085,20 +1186,21 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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 { @@ -1106,28 +1208,35 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1137,17 +1246,21 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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_ |= 0x00000008; @@ -1157,6 +1270,8 @@ public Builder setIpAddressBytes( private java.lang.Object vpnTunnelUri_ = ""; /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1164,13 +1279,13 @@ public Builder setIpAddressBytes(
      * 
* * string vpn_tunnel_uri = 5; + * * @return The vpnTunnelUri. */ public java.lang.String getVpnTunnelUri() { java.lang.Object ref = vpnTunnelUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; @@ -1179,6 +1294,8 @@ public java.lang.String getVpnTunnelUri() { } } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1186,15 +1303,14 @@ public java.lang.String getVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; + * * @return The bytes for vpnTunnelUri. */ - public com.google.protobuf.ByteString - getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -1202,6 +1318,8 @@ public java.lang.String getVpnTunnelUri() { } } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1209,18 +1327,22 @@ public java.lang.String getVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; + * * @param value The vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVpnTunnelUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vpnTunnelUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1228,6 +1350,7 @@ public Builder setVpnTunnelUri(
      * 
* * string vpn_tunnel_uri = 5; + * * @return This builder for chaining. */ public Builder clearVpnTunnelUri() { @@ -1237,6 +1360,8 @@ public Builder clearVpnTunnelUri() { return this; } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1244,12 +1369,14 @@ public Builder clearVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; + * * @param value The bytes for vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVpnTunnelUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vpnTunnelUri_ = value; bitField0_ |= 0x00000010; @@ -1259,18 +1386,20 @@ public Builder setVpnTunnelUriBytes( private java.lang.Object region_ = ""; /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1279,20 +1408,21 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1300,28 +1430,35 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1331,26 +1468,30 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1360,12 +1501,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.VpnGatewayInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.VpnGatewayInfo) private static final com.google.cloud.networkmanagement.v1.VpnGatewayInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.VpnGatewayInfo(); } @@ -1374,27 +1515,27 @@ public static com.google.cloud.networkmanagement.v1.VpnGatewayInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnGatewayInfo 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 VpnGatewayInfo 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; @@ -1409,6 +1550,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.VpnGatewayInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java similarity index 70% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java index ee79c16bc287..ed4c8279bea3 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnGatewayInfoOrBuilder.java @@ -1,93 +1,131 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface VpnGatewayInfoOrBuilder extends +public interface VpnGatewayInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.VpnGatewayInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -95,10 +133,13 @@ public interface VpnGatewayInfoOrBuilder extends
    * 
* * string vpn_tunnel_uri = 5; + * * @return The vpnTunnelUri. */ java.lang.String getVpnTunnelUri(); /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -106,28 +147,33 @@ public interface VpnGatewayInfoOrBuilder extends
    * 
* * string vpn_tunnel_uri = 5; + * * @return The bytes for vpnTunnelUri. */ - com.google.protobuf.ByteString - getVpnTunnelUriBytes(); + com.google.protobuf.ByteString getVpnTunnelUriBytes(); /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); } diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java index c49459952fed..cfb5454ceaf2 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine VPN tunnel.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnTunnelInfo} */ -public final class VpnTunnelInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VpnTunnelInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1.VpnTunnelInfo) VpnTunnelInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpnTunnelInfo.newBuilder() to construct. private VpnTunnelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VpnTunnelInfo() { displayName_ = ""; uri_ = ""; @@ -33,30 +51,33 @@ private VpnTunnelInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VpnTunnelInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); } /** + * + * *
    * Types of VPN routing policy. For details, refer to [Networks and Tunnel
    * routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
@@ -64,9 +85,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType}
    */
-  public enum RoutingType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified type. Default value.
      * 
@@ -75,6 +97,8 @@ public enum RoutingType */ ROUTING_TYPE_UNSPECIFIED(0), /** + * + * *
      * Route based VPN.
      * 
@@ -83,6 +107,8 @@ public enum RoutingType */ ROUTE_BASED(1), /** + * + * *
      * Policy based routing.
      * 
@@ -91,6 +117,8 @@ public enum RoutingType */ POLICY_BASED(2), /** + * + * *
      * Dynamic (BGP) routing.
      * 
@@ -102,6 +130,8 @@ public enum RoutingType ; /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -110,6 +140,8 @@ public enum RoutingType */ public static final int ROUTING_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Route based VPN.
      * 
@@ -118,6 +150,8 @@ public enum RoutingType */ public static final int ROUTE_BASED_VALUE = 1; /** + * + * *
      * Policy based routing.
      * 
@@ -126,6 +160,8 @@ public enum RoutingType */ public static final int POLICY_BASED_VALUE = 2; /** + * + * *
      * Dynamic (BGP) routing.
      * 
@@ -134,7 +170,6 @@ public enum RoutingType */ public static final int DYNAMIC_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -159,50 +194,53 @@ public static RoutingType valueOf(int value) { */ public static RoutingType forNumber(int value) { switch (value) { - case 0: return ROUTING_TYPE_UNSPECIFIED; - case 1: return ROUTE_BASED; - case 2: return POLICY_BASED; - case 3: return DYNAMIC; - default: return null; + case 0: + return ROUTING_TYPE_UNSPECIFIED; + case 1: + return ROUTE_BASED; + case 2: + return POLICY_BASED; + case 3: + return DYNAMIC; + 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< - RoutingType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoutingType findValueByNumber(int number) { - return RoutingType.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 RoutingType findValueByNumber(int number) { + return RoutingType.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.networkmanagement.v1.VpnTunnelInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final RoutingType[] VALUES = values(); - public static RoutingType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoutingType 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; @@ -220,14 +258,18 @@ private RoutingType(int value) { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -236,29 +278,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -267,14 +309,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -283,29 +329,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -314,14 +360,18 @@ public java.lang.String getUri() { } public static final int SOURCE_GATEWAY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object sourceGateway_ = ""; /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The sourceGateway. */ @java.lang.Override @@ -330,29 +380,29 @@ public java.lang.String getSourceGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; } } /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The bytes for sourceGateway. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceGatewayBytes() { + public com.google.protobuf.ByteString getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -361,14 +411,18 @@ public java.lang.String getSourceGateway() { } public static final int REMOTE_GATEWAY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object remoteGateway_ = ""; /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The remoteGateway. */ @java.lang.Override @@ -377,29 +431,29 @@ public java.lang.String getRemoteGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; } } /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The bytes for remoteGateway. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteGatewayBytes() { + public com.google.protobuf.ByteString getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -408,14 +462,18 @@ public java.lang.String getRemoteGateway() { } public static final int REMOTE_GATEWAY_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object remoteGatewayIp_ = ""; /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The remoteGatewayIp. */ @java.lang.Override @@ -424,29 +482,29 @@ public java.lang.String getRemoteGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; } } /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The bytes for remoteGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -455,14 +513,18 @@ public java.lang.String getRemoteGatewayIp() { } public static final int SOURCE_GATEWAY_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object sourceGatewayIp_ = ""; /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The sourceGatewayIp. */ @java.lang.Override @@ -471,29 +533,29 @@ public java.lang.String getSourceGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; } } /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The bytes for sourceGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -502,14 +564,18 @@ public java.lang.String getSourceGatewayIp() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ @java.lang.Override @@ -518,29 +584,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -549,14 +615,18 @@ public java.lang.String getNetworkUri() { } public static final int REGION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The region. */ @java.lang.Override @@ -565,29 +635,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -598,30 +668,42 @@ public java.lang.String getRegion() { public static final int ROUTING_TYPE_FIELD_NUMBER = 9; private int routingType_ = 0; /** + * + * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override public int getRoutingTypeValue() { + @java.lang.Override + public int getRoutingTypeValue() { return routingType_; } /** + * + * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return The routingType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); - return result == null ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType() { + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); + return result == null + ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -633,8 +715,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -659,7 +740,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, region_); } - if (routingType_ != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { + if (routingType_ + != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, routingType_); } getUnknownFields().writeTo(output); @@ -695,9 +778,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, region_); } - if (routingType_ != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, routingType_); + if (routingType_ + != com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, routingType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -707,29 +791,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.networkmanagement.v1.VpnTunnelInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1.VpnTunnelInfo other = (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getSourceGateway() - .equals(other.getSourceGateway())) return false; - if (!getRemoteGateway() - .equals(other.getRemoteGateway())) return false; - if (!getRemoteGatewayIp() - .equals(other.getRemoteGatewayIp())) return false; - if (!getSourceGatewayIp() - .equals(other.getSourceGatewayIp())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1.VpnTunnelInfo other = + (com.google.cloud.networkmanagement.v1.VpnTunnelInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getSourceGateway().equals(other.getSourceGateway())) return false; + if (!getRemoteGateway().equals(other.getRemoteGateway())) return false; + if (!getRemoteGatewayIp().equals(other.getRemoteGatewayIp())) return false; + if (!getSourceGatewayIp().equals(other.getSourceGatewayIp())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (routingType_ != other.routingType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -766,129 +843,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo 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.networkmanagement.v1.VpnTunnelInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1.VpnTunnelInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine VPN tunnel.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1.VpnTunnelInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1.VpnTunnelInfo) com.google.cloud.networkmanagement.v1.VpnTunnelInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.class, + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1.VpnTunnelInfo.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(); @@ -906,9 +989,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1.TraceProto.internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1.TraceProto + .internal_static_google_cloud_networkmanagement_v1_VpnTunnelInfo_descriptor; } @java.lang.Override @@ -927,8 +1010,11 @@ public com.google.cloud.networkmanagement.v1.VpnTunnelInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo buildPartial() { - com.google.cloud.networkmanagement.v1.VpnTunnelInfo result = new com.google.cloud.networkmanagement.v1.VpnTunnelInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1.VpnTunnelInfo result = + new com.google.cloud.networkmanagement.v1.VpnTunnelInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -968,38 +1054,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1.VpnTunnelInfo 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.networkmanagement.v1.VpnTunnelInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1.VpnTunnelInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1.VpnTunnelInfo) other); } else { super.mergeFrom(other); return this; @@ -1007,7 +1094,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1.VpnTunnelInfo other) { - if (other == com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1.VpnTunnelInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -1077,57 +1165,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - sourceGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - remoteGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - remoteGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - sourceGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: { - routingType_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 72 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + sourceGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + remoteGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + remoteGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + sourceGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: + { + routingType_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 72 + 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) { @@ -1137,22 +1235,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1161,20 +1262,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1182,28 +1284,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1213,17 +1322,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1233,18 +1346,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1253,20 +1368,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1274,28 +1390,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1305,17 +1428,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1325,18 +1452,20 @@ public Builder setUriBytes( private java.lang.Object sourceGateway_ = ""; /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @return The sourceGateway. */ public java.lang.String getSourceGateway() { java.lang.Object ref = sourceGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; @@ -1345,20 +1474,21 @@ public java.lang.String getSourceGateway() { } } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @return The bytes for sourceGateway. */ - public com.google.protobuf.ByteString - getSourceGatewayBytes() { + public com.google.protobuf.ByteString getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -1366,28 +1496,35 @@ public java.lang.String getSourceGateway() { } } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @param value The sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGateway( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGateway(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceGateway_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @return This builder for chaining. */ public Builder clearSourceGateway() { @@ -1397,17 +1534,21 @@ public Builder clearSourceGateway() { return this; } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @param value The bytes for sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGatewayBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGatewayBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceGateway_ = value; bitField0_ |= 0x00000004; @@ -1417,18 +1558,20 @@ public Builder setSourceGatewayBytes( private java.lang.Object remoteGateway_ = ""; /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @return The remoteGateway. */ public java.lang.String getRemoteGateway() { java.lang.Object ref = remoteGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; @@ -1437,20 +1580,21 @@ public java.lang.String getRemoteGateway() { } } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @return The bytes for remoteGateway. */ - public com.google.protobuf.ByteString - getRemoteGatewayBytes() { + public com.google.protobuf.ByteString getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -1458,28 +1602,35 @@ public java.lang.String getRemoteGateway() { } } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @param value The remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGateway( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGateway(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } remoteGateway_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @return This builder for chaining. */ public Builder clearRemoteGateway() { @@ -1489,17 +1640,21 @@ public Builder clearRemoteGateway() { return this; } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @param value The bytes for remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGatewayBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); remoteGateway_ = value; bitField0_ |= 0x00000008; @@ -1509,18 +1664,20 @@ public Builder setRemoteGatewayBytes( private java.lang.Object remoteGatewayIp_ = ""; /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @return The remoteGatewayIp. */ public java.lang.String getRemoteGatewayIp() { java.lang.Object ref = remoteGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; @@ -1529,20 +1686,21 @@ public java.lang.String getRemoteGatewayIp() { } } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @return The bytes for remoteGatewayIp. */ - public com.google.protobuf.ByteString - getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -1550,28 +1708,35 @@ public java.lang.String getRemoteGatewayIp() { } } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @param value The remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGatewayIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } remoteGatewayIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @return This builder for chaining. */ public Builder clearRemoteGatewayIp() { @@ -1581,17 +1746,21 @@ public Builder clearRemoteGatewayIp() { return this; } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @param value The bytes for remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGatewayIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); remoteGatewayIp_ = value; bitField0_ |= 0x00000010; @@ -1601,18 +1770,20 @@ public Builder setRemoteGatewayIpBytes( private java.lang.Object sourceGatewayIp_ = ""; /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @return The sourceGatewayIp. */ public java.lang.String getSourceGatewayIp() { java.lang.Object ref = sourceGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; @@ -1621,20 +1792,21 @@ public java.lang.String getSourceGatewayIp() { } } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @return The bytes for sourceGatewayIp. */ - public com.google.protobuf.ByteString - getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -1642,28 +1814,35 @@ public java.lang.String getSourceGatewayIp() { } } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @param value The sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGatewayIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceGatewayIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @return This builder for chaining. */ public Builder clearSourceGatewayIp() { @@ -1673,17 +1852,21 @@ public Builder clearSourceGatewayIp() { return this; } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @param value The bytes for sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGatewayIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceGatewayIp_ = value; bitField0_ |= 0x00000020; @@ -1693,18 +1876,20 @@ public Builder setSourceGatewayIpBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1713,20 +1898,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1734,28 +1920,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1765,17 +1958,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -1785,18 +1982,20 @@ public Builder setNetworkUriBytes( private java.lang.Object region_ = ""; /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1805,20 +2004,21 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1826,28 +2026,35 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1857,17 +2064,21 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000080; @@ -1877,22 +2088,29 @@ public Builder setRegionBytes( private int routingType_ = 0; /** + * + * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override public int getRoutingTypeValue() { + @java.lang.Override + public int getRoutingTypeValue() { return routingType_; } /** + * + * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @param value The enum numeric value on the wire for routingType to set. * @return This builder for chaining. */ @@ -1903,28 +2121,38 @@ public Builder setRoutingTypeValue(int value) { return this; } /** + * + * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return The routingType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); - return result == null ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType result = + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.forNumber(routingType_); + return result == null + ? com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @param value The routingType to set. * @return This builder for chaining. */ - public Builder setRoutingType(com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType value) { + public Builder setRoutingType( + com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType value) { if (value == null) { throw new NullPointerException(); } @@ -1934,11 +2162,14 @@ public Builder setRoutingType(com.google.cloud.networkmanagement.v1.VpnTunnelInf return this; } /** + * + * *
      * Type of the routing policy.
      * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return This builder for chaining. */ public Builder clearRoutingType() { @@ -1947,9 +2178,9 @@ public Builder clearRoutingType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1959,12 +2190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1.VpnTunnelInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1.VpnTunnelInfo) private static final com.google.cloud.networkmanagement.v1.VpnTunnelInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1.VpnTunnelInfo(); } @@ -1973,27 +2204,27 @@ public static com.google.cloud.networkmanagement.v1.VpnTunnelInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnTunnelInfo 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 VpnTunnelInfo 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; @@ -2008,6 +2239,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1.VpnTunnelInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java index b790a2c12f1f..5f7f379eb4bc 100644 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/VpnTunnelInfoOrBuilder.java @@ -1,187 +1,249 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1/trace.proto package com.google.cloud.networkmanagement.v1; -public interface VpnTunnelInfoOrBuilder extends +public interface VpnTunnelInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1.VpnTunnelInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The sourceGateway. */ java.lang.String getSourceGateway(); /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The bytes for sourceGateway. */ - com.google.protobuf.ByteString - getSourceGatewayBytes(); + com.google.protobuf.ByteString getSourceGatewayBytes(); /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The remoteGateway. */ java.lang.String getRemoteGateway(); /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The bytes for remoteGateway. */ - com.google.protobuf.ByteString - getRemoteGatewayBytes(); + com.google.protobuf.ByteString getRemoteGatewayBytes(); /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The remoteGatewayIp. */ java.lang.String getRemoteGatewayIp(); /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The bytes for remoteGatewayIp. */ - com.google.protobuf.ByteString - getRemoteGatewayIpBytes(); + com.google.protobuf.ByteString getRemoteGatewayIpBytes(); /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The sourceGatewayIp. */ java.lang.String getSourceGatewayIp(); /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The bytes for sourceGatewayIp. */ - com.google.protobuf.ByteString - getSourceGatewayIpBytes(); + com.google.protobuf.ByteString getSourceGatewayIpBytes(); /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); /** + * + * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return The enum numeric value on the wire for routingType. */ int getRoutingTypeValue(); /** + * + * *
    * Type of the routing policy.
    * 
* * .google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType routing_type = 9; + * * @return The routingType. */ com.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType getRoutingType(); diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto similarity index 100% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto rename to java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto similarity index 100% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto rename to java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto similarity index 100% rename from owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto rename to java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java similarity index 74% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java index 659cc2758059..e660d95f2d1b 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Details of the final state "abort" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.AbortInfo} */ -public final class AbortInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AbortInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.AbortInfo) AbortInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AbortInfo.newBuilder() to construct. private AbortInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AbortInfo() { cause_ = 0; resourceUri_ = ""; @@ -27,39 +45,43 @@ private AbortInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AbortInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); } /** + * + * *
    * Abort cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.AbortInfo.Cause} */ - public enum Cause - implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Cause is unspecified.
      * 
@@ -68,6 +90,8 @@ public enum Cause */ CAUSE_UNSPECIFIED(0), /** + * + * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -80,6 +104,8 @@ public enum Cause
      */
     UNKNOWN_NETWORK(1),
     /**
+     *
+     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -88,6 +114,8 @@ public enum Cause */ UNKNOWN_IP(2), /** + * + * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -97,6 +125,8 @@ public enum Cause
      */
     UNKNOWN_PROJECT(3),
     /**
+     *
+     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -106,6 +136,8 @@ public enum Cause
      */
     PERMISSION_DENIED(4),
     /**
+     *
+     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -115,6 +147,8 @@ public enum Cause
      */
     NO_SOURCE_LOCATION(5),
     /**
+     *
+     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -127,6 +161,8 @@ public enum Cause
      */
     INVALID_ARGUMENT(6),
     /**
+     *
+     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -136,6 +172,8 @@ public enum Cause
      */
     NO_EXTERNAL_IP(7),
     /**
+     *
+     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -145,6 +183,8 @@ public enum Cause
      */
     UNINTENDED_DESTINATION(8),
     /**
+     *
+     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -154,6 +194,8 @@ public enum Cause
      */
     TRACE_TOO_LONG(9),
     /**
+     *
+     *
      * 
      * Aborted due to internal server error.
      * 
@@ -162,6 +204,8 @@ public enum Cause */ INTERNAL_ERROR(10), /** + * + * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -170,6 +214,8 @@ public enum Cause */ SOURCE_ENDPOINT_NOT_FOUND(11), /** + * + * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -178,6 +224,8 @@ public enum Cause */ MISMATCHED_SOURCE_NETWORK(12), /** + * + * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -186,6 +234,8 @@ public enum Cause */ DESTINATION_ENDPOINT_NOT_FOUND(13), /** + * + * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -195,6 +245,8 @@ public enum Cause
      */
     MISMATCHED_DESTINATION_NETWORK(14),
     /**
+     *
+     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -206,6 +258,8 @@ public enum Cause ; /** + * + * *
      * Cause is unspecified.
      * 
@@ -214,6 +268,8 @@ public enum Cause */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Aborted due to unknown network.
      * The reachability analysis cannot proceed because the user does not have
@@ -226,6 +282,8 @@ public enum Cause
      */
     public static final int UNKNOWN_NETWORK_VALUE = 1;
     /**
+     *
+     *
      * 
      * Aborted because the IP address(es) are unknown.
      * 
@@ -234,6 +292,8 @@ public enum Cause */ public static final int UNKNOWN_IP_VALUE = 2; /** + * + * *
      * Aborted because no project information can be derived from the test
      * input.
@@ -243,6 +303,8 @@ public enum Cause
      */
     public static final int UNKNOWN_PROJECT_VALUE = 3;
     /**
+     *
+     *
      * 
      * Aborted because the user lacks the permission to access all or part of
      * the network configurations required to run the test.
@@ -252,6 +314,8 @@ public enum Cause
      */
     public static final int PERMISSION_DENIED_VALUE = 4;
     /**
+     *
+     *
      * 
      * Aborted because no valid source endpoint is derived from the input test
      * request.
@@ -261,6 +325,8 @@ public enum Cause
      */
     public static final int NO_SOURCE_LOCATION_VALUE = 5;
     /**
+     *
+     *
      * 
      * Aborted because the source and/or destination endpoint specified in
      * the test are invalid. The possible reasons that an endpoint is
@@ -273,6 +339,8 @@ public enum Cause
      */
     public static final int INVALID_ARGUMENT_VALUE = 6;
     /**
+     *
+     *
      * 
      * Aborted because traffic is sent from a public IP to an instance without
      * an external IP.
@@ -282,6 +350,8 @@ public enum Cause
      */
     public static final int NO_EXTERNAL_IP_VALUE = 7;
     /**
+     *
+     *
      * 
      * Aborted because none of the traces matches destination information
      * specified in the input test request.
@@ -291,6 +361,8 @@ public enum Cause
      */
     public static final int UNINTENDED_DESTINATION_VALUE = 8;
     /**
+     *
+     *
      * 
      * Aborted because the number of steps in the trace exceeding a certain
      * limit which may be caused by routing loop.
@@ -300,6 +372,8 @@ public enum Cause
      */
     public static final int TRACE_TOO_LONG_VALUE = 9;
     /**
+     *
+     *
      * 
      * Aborted due to internal server error.
      * 
@@ -308,6 +382,8 @@ public enum Cause */ public static final int INTERNAL_ERROR_VALUE = 10; /** + * + * *
      * Aborted because the source endpoint could not be found.
      * 
@@ -316,6 +392,8 @@ public enum Cause */ public static final int SOURCE_ENDPOINT_NOT_FOUND_VALUE = 11; /** + * + * *
      * Aborted because the source network does not match the source endpoint.
      * 
@@ -324,6 +402,8 @@ public enum Cause */ public static final int MISMATCHED_SOURCE_NETWORK_VALUE = 12; /** + * + * *
      * Aborted because the destination endpoint could not be found.
      * 
@@ -332,6 +412,8 @@ public enum Cause */ public static final int DESTINATION_ENDPOINT_NOT_FOUND_VALUE = 13; /** + * + * *
      * Aborted because the destination network does not match the destination
      * endpoint.
@@ -341,6 +423,8 @@ public enum Cause
      */
     public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
     /**
+     *
+     *
      * 
      * Aborted because the test scenario is not supported.
      * 
@@ -349,7 +433,6 @@ public enum Cause */ public static final int UNSUPPORTED_VALUE = 15; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -374,62 +457,77 @@ public static Cause valueOf(int value) { */ public static Cause forNumber(int value) { switch (value) { - case 0: return CAUSE_UNSPECIFIED; - case 1: return UNKNOWN_NETWORK; - case 2: return UNKNOWN_IP; - case 3: return UNKNOWN_PROJECT; - case 4: return PERMISSION_DENIED; - case 5: return NO_SOURCE_LOCATION; - case 6: return INVALID_ARGUMENT; - case 7: return NO_EXTERNAL_IP; - case 8: return UNINTENDED_DESTINATION; - case 9: return TRACE_TOO_LONG; - case 10: return INTERNAL_ERROR; - case 11: return SOURCE_ENDPOINT_NOT_FOUND; - case 12: return MISMATCHED_SOURCE_NETWORK; - case 13: return DESTINATION_ENDPOINT_NOT_FOUND; - case 14: return MISMATCHED_DESTINATION_NETWORK; - case 15: return UNSUPPORTED; - default: return null; + case 0: + return CAUSE_UNSPECIFIED; + case 1: + return UNKNOWN_NETWORK; + case 2: + return UNKNOWN_IP; + case 3: + return UNKNOWN_PROJECT; + case 4: + return PERMISSION_DENIED; + case 5: + return NO_SOURCE_LOCATION; + case 6: + return INVALID_ARGUMENT; + case 7: + return NO_EXTERNAL_IP; + case 8: + return UNINTENDED_DESTINATION; + case 9: + return TRACE_TOO_LONG; + case 10: + return INTERNAL_ERROR; + case 11: + return SOURCE_ENDPOINT_NOT_FOUND; + case 12: + return MISMATCHED_SOURCE_NETWORK; + case 13: + return DESTINATION_ENDPOINT_NOT_FOUND; + case 14: + return MISMATCHED_DESTINATION_NETWORK; + case 15: + return UNSUPPORTED; + 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< - Cause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Cause findValueByNumber(int number) { - return Cause.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 Cause findValueByNumber(int number) { + return Cause.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.networkmanagement.v1beta1.AbortInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Cause[] VALUES = values(); - public static Cause valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Cause 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; @@ -449,38 +547,53 @@ private Cause(int value) { public static final int CAUSE_FIELD_NUMBER = 1; private int cause_ = 0; /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return The cause. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -489,29 +602,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -520,9 +633,12 @@ public java.lang.String getResourceUri() { } public static final int PROJECTS_MISSING_PERMISSION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList projectsMissingPermission_; /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -530,13 +646,15 @@ public java.lang.String getResourceUri() {
    * 
* * repeated string projects_missing_permission = 3; + * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList - getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { return projectsMissingPermission_; } /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -544,12 +662,15 @@ public java.lang.String getResourceUri() {
    * 
* * repeated string projects_missing_permission = 3; + * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -557,6 +678,7 @@ public int getProjectsMissingPermissionCount() {
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -564,6 +686,8 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -571,15 +695,16 @@ public java.lang.String getProjectsMissingPermission(int index) {
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString - getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,16 +716,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (cause_ != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (cause_ + != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceUri_); } for (int i = 0; i < projectsMissingPermission_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, projectsMissingPermission_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, projectsMissingPermission_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -611,9 +738,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cause_); + if (cause_ + != com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -634,18 +762,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.networkmanagement.v1beta1.AbortInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.AbortInfo other = (com.google.cloud.networkmanagement.v1beta1.AbortInfo) obj; + com.google.cloud.networkmanagement.v1beta1.AbortInfo other = + (com.google.cloud.networkmanagement.v1beta1.AbortInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; - if (!getProjectsMissingPermissionList() - .equals(other.getProjectsMissingPermissionList())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; + if (!getProjectsMissingPermissionList().equals(other.getProjectsMissingPermissionList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -671,129 +799,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo 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.networkmanagement.v1beta1.AbortInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.AbortInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.AbortInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "abort" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.AbortInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.AbortInfo) com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.AbortInfo.class, + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.AbortInfo.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(); @@ -806,9 +940,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor; } @java.lang.Override @@ -827,14 +961,18 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.AbortInfo result = new com.google.cloud.networkmanagement.v1beta1.AbortInfo(this); + com.google.cloud.networkmanagement.v1beta1.AbortInfo result = + new com.google.cloud.networkmanagement.v1beta1.AbortInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.AbortInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.AbortInfo result) { if (((bitField0_ & 0x00000004) != 0)) { projectsMissingPermission_ = projectsMissingPermission_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -856,38 +994,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.AbortInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.AbortInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.AbortInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.AbortInfo) other); } else { super.mergeFrom(other); return this; @@ -895,7 +1034,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.AbortInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) + return this; if (other.cause_ != 0) { setCauseValue(other.getCauseValue()); } @@ -940,28 +1080,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureProjectsMissingPermissionIsMutable(); - projectsMissingPermission_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureProjectsMissingPermissionIsMutable(); + projectsMissingPermission_.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) { @@ -971,26 +1115,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int cause_ = 0; /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1001,24 +1153,33 @@ public Builder setCauseValue(int value) { return this; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause result = + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause.UNRECOGNIZED + : result; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @param value The cause to set. * @return This builder for chaining. */ @@ -1032,11 +1193,14 @@ public Builder setCause(com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cau return this; } /** + * + * *
      * Causes that the analysis is aborted.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return This builder for chaining. */ public Builder clearCause() { @@ -1048,18 +1212,20 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1068,20 +1234,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1089,28 +1256,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1120,17 +1294,21 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that caused the abort.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = value; bitField0_ |= 0x00000002; @@ -1138,14 +1316,19 @@ public Builder setResourceUriBytes( return this; } - private com.google.protobuf.LazyStringList projectsMissingPermission_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList projectsMissingPermission_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureProjectsMissingPermissionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - projectsMissingPermission_ = new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); + projectsMissingPermission_ = + new com.google.protobuf.LazyStringArrayList(projectsMissingPermission_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1153,13 +1336,15 @@ private void ensureProjectsMissingPermissionIsMutable() {
      * 
* * repeated string projects_missing_permission = 3; + * * @return A list containing the projectsMissingPermission. */ - public com.google.protobuf.ProtocolStringList - getProjectsMissingPermissionList() { + public com.google.protobuf.ProtocolStringList getProjectsMissingPermissionList() { return projectsMissingPermission_.getUnmodifiableView(); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1167,12 +1352,15 @@ private void ensureProjectsMissingPermissionIsMutable() {
      * 
* * repeated string projects_missing_permission = 3; + * * @return The count of projectsMissingPermission. */ public int getProjectsMissingPermissionCount() { return projectsMissingPermission_.size(); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1180,6 +1368,7 @@ public int getProjectsMissingPermissionCount() {
      * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ @@ -1187,6 +1376,8 @@ public java.lang.String getProjectsMissingPermission(int index) { return projectsMissingPermission_.get(index); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1194,14 +1385,16 @@ public java.lang.String getProjectsMissingPermission(int index) {
      * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - public com.google.protobuf.ByteString - getProjectsMissingPermissionBytes(int index) { + public com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index) { return projectsMissingPermission_.getByteString(index); } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1209,19 +1402,23 @@ public java.lang.String getProjectsMissingPermission(int index) {
      * 
* * repeated string projects_missing_permission = 3; + * * @param index The index to set the value at. * @param value The projectsMissingPermission to set. * @return This builder for chaining. */ - public Builder setProjectsMissingPermission( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectsMissingPermission(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1229,18 +1426,22 @@ public Builder setProjectsMissingPermission(
      * 
* * repeated string projects_missing_permission = 3; + * * @param value The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermission( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProjectsMissingPermission(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1248,18 +1449,19 @@ public Builder addProjectsMissingPermission(
      * 
* * repeated string projects_missing_permission = 3; + * * @param values The projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addAllProjectsMissingPermission( - java.lang.Iterable values) { + public Builder addAllProjectsMissingPermission(java.lang.Iterable values) { ensureProjectsMissingPermissionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, projectsMissingPermission_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projectsMissingPermission_); onChanged(); return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1267,6 +1469,7 @@ public Builder addAllProjectsMissingPermission(
      * 
* * repeated string projects_missing_permission = 3; + * * @return This builder for chaining. */ public Builder clearProjectsMissingPermission() { @@ -1276,6 +1479,8 @@ public Builder clearProjectsMissingPermission() { return this; } /** + * + * *
      * List of project IDs that the user has specified in the request but does
      * not have permission to access network configs. Analysis is aborted in this
@@ -1283,21 +1488,23 @@ public Builder clearProjectsMissingPermission() {
      * 
* * repeated string projects_missing_permission = 3; + * * @param value The bytes of the projectsMissingPermission to add. * @return This builder for chaining. */ - public Builder addProjectsMissingPermissionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProjectsMissingPermissionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureProjectsMissingPermissionIsMutable(); projectsMissingPermission_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1307,12 +1514,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.AbortInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.AbortInfo) private static final com.google.cloud.networkmanagement.v1beta1.AbortInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.AbortInfo(); } @@ -1321,27 +1528,27 @@ public static com.google.cloud.networkmanagement.v1beta1.AbortInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbortInfo 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 AbortInfo 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; @@ -1356,6 +1563,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.AbortInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java similarity index 74% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java index 3e359cfff6f3..2b5e89da837c 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/AbortInfoOrBuilder.java @@ -1,52 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface AbortInfoOrBuilder extends +public interface AbortInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.AbortInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** + * + * *
    * Causes that the analysis is aborted.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo.Cause cause = 1; + * * @return The cause. */ com.google.cloud.networkmanagement.v1beta1.AbortInfo.Cause getCause(); /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that caused the abort.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -54,11 +83,13 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @return A list containing the projectsMissingPermission. */ - java.util.List - getProjectsMissingPermissionList(); + java.util.List getProjectsMissingPermissionList(); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -66,10 +97,13 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @return The count of projectsMissingPermission. */ int getProjectsMissingPermissionCount(); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -77,11 +111,14 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the element to return. * @return The projectsMissingPermission at the given index. */ java.lang.String getProjectsMissingPermission(int index); /** + * + * *
    * List of project IDs that the user has specified in the request but does
    * not have permission to access network configs. Analysis is aborted in this
@@ -89,9 +126,9 @@ public interface AbortInfoOrBuilder extends
    * 
* * repeated string projects_missing_permission = 3; + * * @param index The index of the value to return. * @return The bytes of the projectsMissingPermission at the given index. */ - com.google.protobuf.ByteString - getProjectsMissingPermissionBytes(int index); + com.google.protobuf.ByteString getProjectsMissingPermissionBytes(int index); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java similarity index 68% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java index bcbf73bb5fba..17841024f622 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Cloud function.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudFunctionInfo} */ -public final class CloudFunctionInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudFunctionInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) CloudFunctionInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudFunctionInfo.newBuilder() to construct. private CloudFunctionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudFunctionInfo() { displayName_ = ""; uri_ = ""; @@ -27,38 +45,43 @@ private CloudFunctionInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudFunctionInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -67,29 +90,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Cloud function.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Cloud function.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -145,14 +172,18 @@ public java.lang.String getUri() { } public static final int LOCATION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; + * * @return The location. */ @java.lang.Override @@ -161,29 +192,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -194,11 +225,14 @@ public java.lang.String getLocation() { public static final int VERSION_ID_FIELD_NUMBER = 4; private long versionId_ = 0L; /** + * + * *
    * Latest successfully deployed version id of the Cloud function.
    * 
* * int64 version_id = 4; + * * @return The versionId. */ @java.lang.Override @@ -207,6 +241,7 @@ public long getVersionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,8 +253,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -251,8 +285,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, location_); } if (versionId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, versionId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, versionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -262,21 +295,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.networkmanagement.v1beta1.CloudFunctionInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other = (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) obj; + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other = + (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (getVersionId() - != other.getVersionId()) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (getVersionId() != other.getVersionId()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -295,137 +325,143 @@ public int hashCode() { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getVersionId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersionId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo 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.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Cloud function.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudFunctionInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.class, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.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,13 +474,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); } @@ -459,13 +496,17 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result = new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result = + new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -485,38 +526,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CloudFunct public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) other); } else { super.mergeFrom(other); return this; @@ -524,7 +566,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -569,32 +613,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - versionId_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + versionId_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -604,22 +653,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -628,20 +680,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -649,28 +702,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -680,17 +740,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Cloud function.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -700,18 +764,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Cloud function.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -720,20 +786,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Cloud function.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -741,28 +808,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Cloud function.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Cloud function.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -772,17 +846,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Cloud function.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -792,18 +870,20 @@ public Builder setUriBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -812,20 +892,21 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -833,28 +914,35 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -864,17 +952,21 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Location in which the Cloud function is deployed.
      * 
* * string location = 3; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000004; @@ -882,13 +974,16 @@ public Builder setLocationBytes( return this; } - private long versionId_ ; + private long versionId_; /** + * + * *
      * Latest successfully deployed version id of the Cloud function.
      * 
* * int64 version_id = 4; + * * @return The versionId. */ @java.lang.Override @@ -896,27 +991,33 @@ public long getVersionId() { return versionId_; } /** + * + * *
      * Latest successfully deployed version id of the Cloud function.
      * 
* * int64 version_id = 4; + * * @param value The versionId to set. * @return This builder for chaining. */ public Builder setVersionId(long value) { - + versionId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Latest successfully deployed version id of the Cloud function.
      * 
* * int64 version_id = 4; + * * @return This builder for chaining. */ public Builder clearVersionId() { @@ -925,9 +1026,9 @@ public Builder clearVersionId() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -937,12 +1038,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) - private static final com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo(); } @@ -951,27 +1053,27 @@ public static com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudFunctionInfo 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 CloudFunctionInfo 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; @@ -986,6 +1088,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java index 116942da00a8..b8f151332da0 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudFunctionInfoOrBuilder.java @@ -1,78 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface CloudFunctionInfoOrBuilder extends +public interface CloudFunctionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Cloud function.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Cloud function.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Cloud function.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Location in which the Cloud function is deployed.
    * 
* * string location = 3; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Latest successfully deployed version id of the Cloud function.
    * 
* * int64 version_id = 4; + * * @return The versionId. */ long getVersionId(); diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java similarity index 69% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java index 55f5fce1861e..96fed2e1b87e 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo} */ -public final class CloudSQLInstanceInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudSQLInstanceInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) CloudSQLInstanceInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudSQLInstanceInfo.newBuilder() to construct. private CloudSQLInstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudSQLInstanceInfo() { displayName_ = ""; uri_ = ""; @@ -30,38 +48,43 @@ private CloudSQLInstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudSQLInstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -70,29 +93,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -101,14 +124,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -117,29 +144,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -148,15 +175,19 @@ public java.lang.String getUri() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ @java.lang.Override @@ -165,30 +196,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -197,14 +228,18 @@ public java.lang.String getNetworkUri() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ @java.lang.Override @@ -213,29 +248,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -244,14 +279,18 @@ public java.lang.String getInternalIp() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ @java.lang.Override @@ -260,29 +299,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -291,14 +330,18 @@ public java.lang.String getExternalIp() { } public static final int REGION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The region. */ @java.lang.Override @@ -307,29 +350,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -338,6 +381,7 @@ public java.lang.String getRegion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,8 +393,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -404,25 +447,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.networkmanagement.v1beta1.CloudSQLInstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other = (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other = + (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -452,129 +490,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo 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.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.class, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.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(); @@ -589,13 +634,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); } @@ -610,13 +656,17 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result = new com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result = + new com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -642,46 +692,50 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CloudSQLIn public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -738,42 +792,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + 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) { @@ -783,22 +844,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -807,20 +871,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -828,28 +893,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -859,17 +931,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Cloud SQL instance.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -879,18 +955,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -899,20 +977,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -920,28 +999,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -951,17 +1037,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Cloud SQL instance.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -971,19 +1061,21 @@ public Builder setUriBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -992,21 +1084,22 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1014,30 +1107,37 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1047,18 +1147,22 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Cloud SQL instance network or empty string if the instance does
      * not have one.
      * 
* * string network_uri = 4; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1068,18 +1172,20 @@ public Builder setNetworkUriBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1088,20 +1194,21 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1109,28 +1216,35 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } internalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1140,17 +1254,21 @@ public Builder clearInternalIp() { return this; } /** + * + * *
      * Internal IP address of a Cloud SQL instance.
      * 
* * string internal_ip = 5; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000008; @@ -1160,18 +1278,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1180,20 +1300,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1201,28 +1322,35 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1232,17 +1360,21 @@ public Builder clearExternalIp() { return this; } /** + * + * *
      * External IP address of a Cloud SQL instance.
      * 
* * string external_ip = 6; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000010; @@ -1252,18 +1384,20 @@ public Builder setExternalIpBytes( private java.lang.Object region_ = ""; /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1272,20 +1406,21 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1293,28 +1428,35 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1324,26 +1466,30 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Region in which the Cloud SQL instance is running.
      * 
* * string region = 7; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1353,41 +1499,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) - private static final com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo(); } - public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSQLInstanceInfo 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 CloudSQLInstanceInfo 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; @@ -1399,9 +1547,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java similarity index 68% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java index 02361701e017..44b129754c7d 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CloudSQLInstanceInfoOrBuilder.java @@ -1,131 +1,177 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface CloudSQLInstanceInfoOrBuilder extends +public interface CloudSQLInstanceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Cloud SQL instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Cloud SQL instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Cloud SQL instance network or empty string if the instance does
    * not have one.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * Internal IP address of a Cloud SQL instance.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * External IP address of a Cloud SQL instance.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Region in which the Cloud SQL instance is running.
    * 
* * string region = 7; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java similarity index 70% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java index cc525dcfed39..1758f47e5af6 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * A Connectivity Test for a network reachability analysis.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ConnectivityTest} */ -public final class ConnectivityTest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConnectivityTest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ConnectivityTest) ConnectivityTestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConnectivityTest.newBuilder() to construct. private ConnectivityTest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConnectivityTest() { name_ = ""; description_ = ""; @@ -29,51 +47,55 @@ private ConnectivityTest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConnectivityTest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetLabels(); 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.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -82,30 +104,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * 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,15 +136,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -131,30 +157,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; } } /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -165,6 +191,8 @@ public java.lang.String getDescription() { public static final int SOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1beta1.Endpoint source_; /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -185,7 +213,10 @@ public java.lang.String getDescription() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -193,6 +224,8 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -213,14 +246,21 @@ public boolean hasSource() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() { - return source_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : source_; } /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -241,16 +281,22 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrBuilder() { - return source_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : source_; } public static final int DESTINATION_FIELD_NUMBER = 4; private com.google.cloud.networkmanagement.v1beta1.Endpoint destination_; /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -268,7 +314,10 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ @java.lang.Override @@ -276,6 +325,8 @@ public boolean hasDestination() { return destination_ != null; } /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -293,14 +344,21 @@ public boolean hasDestination() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() { - return destination_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : destination_; } /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -318,22 +376,30 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() {
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinationOrBuilder() { - return destination_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : destination_; } public static final int PROTOCOL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The protocol. */ @java.lang.Override @@ -342,29 +408,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -373,40 +439,49 @@ public java.lang.String getProtocol() { } public static final int RELATED_PROJECTS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList relatedProjects_; /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList - getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { return relatedProjects_; } /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -414,29 +489,35 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString - getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } public static final int DISPLAY_NAME_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ @java.lang.Override @@ -445,29 +526,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -476,32 +557,34 @@ public java.lang.String getDisplayName() { } public static final int LABELS_FIELD_NUMBER = 8; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_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.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_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(); } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -509,20 +592,21 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -534,6 +618,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -541,17 +627,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -559,11 +647,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -573,11 +661,15 @@ public java.lang.String getLabelsOrThrow( public static final int CREATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -585,11 +677,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -597,11 +693,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -611,11 +710,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -623,11 +726,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -635,11 +742,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -649,13 +759,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int REACHABILITY_DETAILS_FIELD_NUMBER = 12; private com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachabilityDetails_; /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the reachabilityDetails field is set. */ @java.lang.Override @@ -663,36 +778,52 @@ public boolean hasReachabilityDetails() { return reachabilityDetails_ != null; } /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reachabilityDetails. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachabilityDetails() { - return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { - return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder + getReachabilityDetailsOrBuilder() { + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } public static final int PROBING_DETAILS_FIELD_NUMBER = 14; private com.google.cloud.networkmanagement.v1beta1.ProbingDetails probingDetails_; /** + * + * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -700,7 +831,10 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder g
    * existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the probingDetails field is set. */ @java.lang.Override @@ -708,6 +842,8 @@ public boolean hasProbingDetails() { return probingDetails_ != null; } /** + * + * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -715,14 +851,21 @@ public boolean hasProbingDetails() {
    * existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The probingDetails. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetails() { - return probingDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; + return probingDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() + : probingDetails_; } /** + * + * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -730,14 +873,20 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetai
    * existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getProbingDetailsOrBuilder() { - return probingDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder + getProbingDetailsOrBuilder() { + return probingDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() + : probingDetails_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -749,8 +898,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_); } @@ -772,12 +920,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, displayName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } @@ -806,12 +950,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSource()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDestination()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, protocol_); @@ -827,31 +969,28 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, displayName_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } if (reachabilityDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getReachabilityDetails()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(12, getReachabilityDetails()); } if (probingDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getProbingDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getProbingDetails()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -861,54 +1000,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ConnectivityTest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest other = (com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) obj; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest other = + (com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination() - .equals(other.getDestination())) return false; - } - if (!getProtocol() - .equals(other.getProtocol())) return false; - if (!getRelatedProjectsList() - .equals(other.getRelatedProjectsList())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDestination().equals(other.getDestination())) return false; + } + if (!getProtocol().equals(other.getProtocol())) return false; + if (!getRelatedProjectsList().equals(other.getRelatedProjectsList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (hasReachabilityDetails() != other.hasReachabilityDetails()) return false; if (hasReachabilityDetails()) { - if (!getReachabilityDetails() - .equals(other.getReachabilityDetails())) return false; + if (!getReachabilityDetails().equals(other.getReachabilityDetails())) return false; } if (hasProbingDetails() != other.hasProbingDetails()) return false; if (hasProbingDetails()) { - if (!getProbingDetails() - .equals(other.getProbingDetails())) return false; + if (!getProbingDetails().equals(other.getProbingDetails())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -967,151 +1095,156 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest 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.networkmanagement.v1beta1.ConnectivityTest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Connectivity Test for a network reachability analysis.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ConnectivityTest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ConnectivityTest) com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 8: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 8: return internalGetMutableLabels(); 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.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.class, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.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(); @@ -1157,9 +1290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_descriptor; } @java.lang.Override @@ -1178,14 +1311,18 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result = new com.google.cloud.networkmanagement.v1beta1.ConnectivityTest(this); + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result = + new com.google.cloud.networkmanagement.v1beta1.ConnectivityTest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest result) { if (((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = relatedProjects_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); @@ -1202,14 +1339,11 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Connectivi result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.source_ = sourceBuilder_ == null - ? source_ - : sourceBuilder_.build(); + result.source_ = sourceBuilder_ == null ? source_ : sourceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.destination_ = destinationBuilder_ == null - ? destination_ - : destinationBuilder_.build(); + result.destination_ = + destinationBuilder_ == null ? destination_ : destinationBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.protocol_ = protocol_; @@ -1222,24 +1356,20 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Connectivi result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.reachabilityDetails_ = reachabilityDetailsBuilder_ == null - ? reachabilityDetails_ - : reachabilityDetailsBuilder_.build(); + result.reachabilityDetails_ = + reachabilityDetailsBuilder_ == null + ? reachabilityDetails_ + : reachabilityDetailsBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.probingDetails_ = probingDetailsBuilder_ == null - ? probingDetails_ - : probingDetailsBuilder_.build(); + result.probingDetails_ = + probingDetailsBuilder_ == null ? probingDetails_ : probingDetailsBuilder_.build(); } } @@ -1247,38 +1377,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Connectivi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ConnectivityTest)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ConnectivityTest) other); } else { super.mergeFrom(other); return this; @@ -1286,7 +1417,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1323,8 +1455,7 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Connectivity bitField0_ |= 0x00000040; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000080; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -1364,89 +1495,93 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getSourceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getDestinationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - protocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelatedProjectsIsMutable(); - relatedProjects_.add(s); - break; - } // case 50 - case 58: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: { - input.readMessage( - getReachabilityDetailsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 114: { - input.readMessage( - getProbingDetailsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 114 - 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: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getSourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + protocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelatedProjectsIsMutable(); + relatedProjects_.add(s); + break; + } // case 50 + case 58: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: + { + input.readMessage( + getReachabilityDetailsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 114: + { + input.readMessage(getProbingDetailsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 114 + 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) { @@ -1456,23 +1591,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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; @@ -1481,21 +1619,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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 { @@ -1503,30 +1642,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1536,18 +1682,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Unique name of the resource using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test}`
      * 
* * 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; @@ -1557,19 +1707,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1578,21 +1730,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1600,30 +1753,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1633,18 +1793,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * The user-supplied description of the Connectivity Test.
      * Maximum of 512 characters.
      * 
* * string description = 2; + * * @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_ |= 0x00000002; @@ -1654,8 +1818,13 @@ public Builder setDescriptionBytes( private com.google.cloud.networkmanagement.v1beta1.Endpoint source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> sourceBuilder_; + com.google.cloud.networkmanagement.v1beta1.Endpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> + sourceBuilder_; /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1676,13 +1845,18 @@ public Builder setDescriptionBytes(
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1703,17 +1877,24 @@ public boolean hasSource() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1734,7 +1915,9 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getSource() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (sourceBuilder_ == null) { @@ -1750,6 +1933,8 @@ public Builder setSource(com.google.cloud.networkmanagement.v1beta1.Endpoint val return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1770,7 +1955,9 @@ public Builder setSource(com.google.cloud.networkmanagement.v1beta1.Endpoint val
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder builderForValue) { @@ -1784,6 +1971,8 @@ public Builder setSource( return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1804,13 +1993,16 @@ public Builder setSource(
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (sourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - source_ != null && - source_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && source_ != null + && source_ + != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { getSourceBuilder().mergeFrom(value); } else { source_ = value; @@ -1823,6 +2015,8 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1beta1.Endpoint v return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1843,7 +2037,9 @@ public Builder mergeSource(com.google.cloud.networkmanagement.v1beta1.Endpoint v
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1856,6 +2052,8 @@ public Builder clearSource() { return this; } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1876,7 +2074,9 @@ public Builder clearSource() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getSourceBuilder() { bitField0_ |= 0x00000004; @@ -1884,6 +2084,8 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getSourceBuil return getSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1904,17 +2106,22 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getSourceBuil
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : source_; } } /** + * + * *
      * Required. Source specification of the Connectivity Test.
      * You can use a combination of source IP address, virtual machine
@@ -1935,17 +2142,22 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1beta1.Endpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.Endpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; @@ -1953,8 +2165,13 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB private com.google.cloud.networkmanagement.v1beta1.Endpoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> destinationBuilder_; + com.google.cloud.networkmanagement.v1beta1.Endpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> + destinationBuilder_; /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -1972,13 +2189,18 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrB
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ public boolean hasDestination() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -1996,17 +2218,24 @@ public boolean hasDestination() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : destination_; } else { return destinationBuilder_.getMessage(); } } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2024,7 +2253,9 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestination(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (destinationBuilder_ == null) { @@ -2040,6 +2271,8 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1beta1.Endpoin return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2057,7 +2290,9 @@ public Builder setDestination(com.google.cloud.networkmanagement.v1beta1.Endpoin
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestination( com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder builderForValue) { @@ -2071,6 +2306,8 @@ public Builder setDestination( return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2088,13 +2325,16 @@ public Builder setDestination(
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDestination(com.google.cloud.networkmanagement.v1beta1.Endpoint value) { if (destinationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - destination_ != null && - destination_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && destination_ != null + && destination_ + != com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) { getDestinationBuilder().mergeFrom(value); } else { destination_ = value; @@ -2107,6 +2347,8 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1beta1.Endpo return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2124,7 +2366,9 @@ public Builder mergeDestination(com.google.cloud.networkmanagement.v1beta1.Endpo
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDestination() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2137,6 +2381,8 @@ public Builder clearDestination() { return this; } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2154,7 +2400,9 @@ public Builder clearDestination() {
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getDestinationBuilder() { bitField0_ |= 0x00000008; @@ -2162,6 +2410,8 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getDestinatio return getDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2179,17 +2429,22 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder getDestinatio
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null ? - com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance() + : destination_; } } /** + * + * *
      * Required. Destination specification of the Connectivity Test.
      * You can use a combination of destination IP address, Compute Engine
@@ -2207,17 +2462,22 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinati
      * intend to test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> + com.google.cloud.networkmanagement.v1beta1.Endpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( - getDestination(), - getParentForChildren(), - isClean()); + destinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.Endpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder>( + getDestination(), getParentForChildren(), isClean()); destination_ = null; } return destinationBuilder_; @@ -2225,18 +2485,20 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinati private java.lang.Object protocol_ = ""; /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -2245,20 +2507,21 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -2266,28 +2529,35 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } protocol_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -2297,17 +2567,21 @@ public Builder clearProtocol() { return this; } /** + * + * *
      * IP Protocol of the test. When not provided, "TCP" is assumed.
      * 
* * string protocol = 5; + * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000010; @@ -2315,45 +2589,55 @@ public Builder setProtocolBytes( return this; } - private com.google.protobuf.LazyStringList relatedProjects_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList relatedProjects_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRelatedProjectsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { relatedProjects_ = new com.google.protobuf.LazyStringArrayList(relatedProjects_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @return A list containing the relatedProjects. */ - public com.google.protobuf.ProtocolStringList - getRelatedProjectsList() { + public com.google.protobuf.ProtocolStringList getRelatedProjectsList() { return relatedProjects_.getUnmodifiableView(); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @return The count of relatedProjects. */ public int getRelatedProjectsCount() { return relatedProjects_.size(); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ @@ -2361,81 +2645,95 @@ public java.lang.String getRelatedProjects(int index) { return relatedProjects_.get(index); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - public com.google.protobuf.ByteString - getRelatedProjectsBytes(int index) { + public com.google.protobuf.ByteString getRelatedProjectsBytes(int index) { return relatedProjects_.getByteString(index); } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param index The index to set the value at. * @param value The relatedProjects to set. * @return This builder for chaining. */ - public Builder setRelatedProjects( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelatedProjects(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRelatedProjectsIsMutable(); relatedProjects_.set(index, value); onChanged(); return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param value The relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjects( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelatedProjects(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); onChanged(); return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param values The relatedProjects to add. * @return This builder for chaining. */ - public Builder addAllRelatedProjects( - java.lang.Iterable values) { + public Builder addAllRelatedProjects(java.lang.Iterable values) { ensureRelatedProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relatedProjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedProjects_); onChanged(); return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @return This builder for chaining. */ public Builder clearRelatedProjects() { @@ -2445,18 +2743,22 @@ public Builder clearRelatedProjects() { return this; } /** + * + * *
      * Other projects that may be relevant for reachability analysis.
      * This is applicable to scenarios where a test can cross project boundaries.
      * 
* * repeated string related_projects = 6; + * * @param value The bytes of the relatedProjects to add. * @return This builder for chaining. */ - public Builder addRelatedProjectsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRelatedProjectsIsMutable(); relatedProjects_.add(value); @@ -2466,18 +2768,20 @@ public Builder addRelatedProjectsBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2486,20 +2790,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2507,28 +2812,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2538,17 +2850,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Output only. The display name of a Connectivity Test.
      * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000040; @@ -2556,21 +2872,19 @@ public Builder setDisplayNameBytes( return this; } - 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(); @@ -2579,10 +2893,13 @@ public Builder setDisplayNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2590,20 +2907,21 @@ public int getLabelsCount() { * map<string, string> labels = 8; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2615,6 +2933,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2622,17 +2942,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 8; */ @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; } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
@@ -2640,112 +2962,133 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 8; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - 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_ |= 0x00000080; return this; } /** + * + * *
      * Resource labels to represent user-provided metadata.
      * 
* * map<string, string> labels = 8; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2761,14 +3104,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2779,17 +3125,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2802,11 +3152,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2819,11 +3173,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2831,36 +3189,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the test was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2868,39 +3238,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2916,14 +3305,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2934,17 +3326,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2957,11 +3353,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2974,11 +3374,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -2986,36 +3390,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time the test's configuration was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3023,47 +3439,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachabilityDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> reachabilityDetailsBuilder_; + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> + reachabilityDetailsBuilder_; /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the reachabilityDetails field is set. */ public boolean hasReachabilityDetails() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reachabilityDetails. */ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachabilityDetails() { if (reachabilityDetailsBuilder_ == null) { - return reachabilityDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } else { return reachabilityDetailsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setReachabilityDetails(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { + public Builder setReachabilityDetails( + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3077,13 +3513,17 @@ public Builder setReachabilityDetails(com.google.cloud.networkmanagement.v1beta1 return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setReachabilityDetails( com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder builderForValue) { @@ -3097,19 +3537,26 @@ public Builder setReachabilityDetails( return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeReachabilityDetails(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { + public Builder mergeReachabilityDetails( + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails value) { if (reachabilityDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - reachabilityDetails_ != null && - reachabilityDetails_ != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && reachabilityDetails_ != null + && reachabilityDetails_ + != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails + .getDefaultInstance()) { getReachabilityDetailsBuilder().mergeFrom(value); } else { reachabilityDetails_ = value; @@ -3122,13 +3569,17 @@ public Builder mergeReachabilityDetails(com.google.cloud.networkmanagement.v1bet return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearReachabilityDetails() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3141,54 +3592,72 @@ public Builder clearReachabilityDetails() { return this; } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder getReachabilityDetailsBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder + getReachabilityDetailsBuilder() { bitField0_ |= 0x00000400; onChanged(); return getReachabilityDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder + getReachabilityDetailsOrBuilder() { if (reachabilityDetailsBuilder_ != null) { return reachabilityDetailsBuilder_.getMessageOrBuilder(); } else { - return reachabilityDetails_ == null ? - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() : reachabilityDetails_; + return reachabilityDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance() + : reachabilityDetails_; } } /** + * + * *
      * Output only. The reachability details of this test from the latest run.
      * The details are updated when creating a new test, updating an
      * existing test, or triggering a one-time rerun of an existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder> getReachabilityDetailsFieldBuilder() { if (reachabilityDetailsBuilder_ == null) { - reachabilityDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder>( - getReachabilityDetails(), - getParentForChildren(), - isClean()); + reachabilityDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder>( + getReachabilityDetails(), getParentForChildren(), isClean()); reachabilityDetails_ = null; } return reachabilityDetailsBuilder_; @@ -3196,8 +3665,13 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder g private com.google.cloud.networkmanagement.v1beta1.ProbingDetails probingDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> probingDetailsBuilder_; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, + com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> + probingDetailsBuilder_; /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3205,13 +3679,18 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder g
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the probingDetails field is set. */ public boolean hasProbingDetails() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3219,17 +3698,24 @@ public boolean hasProbingDetails() {
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The probingDetails. */ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetails() { if (probingDetailsBuilder_ == null) { - return probingDetails_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; + return probingDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() + : probingDetails_; } else { return probingDetailsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3237,9 +3723,12 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetai
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProbingDetails(com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { + public Builder setProbingDetails( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { if (probingDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3253,6 +3742,8 @@ public Builder setProbingDetails(com.google.cloud.networkmanagement.v1beta1.Prob return this; } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3260,7 +3751,9 @@ public Builder setProbingDetails(com.google.cloud.networkmanagement.v1beta1.Prob
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProbingDetails( com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder builderForValue) { @@ -3274,6 +3767,8 @@ public Builder setProbingDetails( return this; } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3281,13 +3776,17 @@ public Builder setProbingDetails(
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeProbingDetails(com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { + public Builder mergeProbingDetails( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails value) { if (probingDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - probingDetails_ != null && - probingDetails_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && probingDetails_ != null + && probingDetails_ + != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) { getProbingDetailsBuilder().mergeFrom(value); } else { probingDetails_ = value; @@ -3300,6 +3799,8 @@ public Builder mergeProbingDetails(com.google.cloud.networkmanagement.v1beta1.Pr return this; } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3307,7 +3808,9 @@ public Builder mergeProbingDetails(com.google.cloud.networkmanagement.v1beta1.Pr
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProbingDetails() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3320,6 +3823,8 @@ public Builder clearProbingDetails() { return this; } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3327,14 +3832,19 @@ public Builder clearProbingDetails() {
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder getProbingDetailsBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder + getProbingDetailsBuilder() { bitField0_ |= 0x00000800; onChanged(); return getProbingDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3342,17 +3852,23 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder getProb
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getProbingDetailsOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder + getProbingDetailsOrBuilder() { if (probingDetailsBuilder_ != null) { return probingDetailsBuilder_.getMessageOrBuilder(); } else { - return probingDetails_ == null ? - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() : probingDetails_; + return probingDetails_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance() + : probingDetails_; } } /** + * + * *
      * Output only. The probing details of this test from the latest run, present
      * for applicable tests only. The details are updated when creating a new
@@ -3360,24 +3876,29 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getPro
      * existing test.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ProbingDetails, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, + com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder> getProbingDetailsFieldBuilder() { if (probingDetailsBuilder_ == null) { - probingDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder>( - getProbingDetails(), - getParentForChildren(), - isClean()); + probingDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ProbingDetails, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder, + com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder>( + getProbingDetails(), getParentForChildren(), isClean()); probingDetails_ = null; } return probingDetailsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3387,12 +3908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ConnectivityTest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ConnectivityTest) private static final com.google.cloud.networkmanagement.v1beta1.ConnectivityTest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ConnectivityTest(); } @@ -3401,27 +3922,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectivityTest 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 ConnectivityTest 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; @@ -3436,6 +3957,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java index 97ebac485399..e53efd566557 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ConnectivityTestOrBuilder.java @@ -1,57 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ConnectivityTestOrBuilder extends +public interface ConnectivityTestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ConnectivityTest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Unique name of the resource using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-supplied description of the Connectivity Test.
    * Maximum of 512 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -72,11 +100,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -97,11 +130,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.networkmanagement.v1beta1.Endpoint getSource(); /** + * + * *
    * Required. Source specification of the Connectivity Test.
    * You can use a combination of source IP address, virtual machine
@@ -122,11 +160,15 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getSourceOrBuilder(); /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -144,11 +186,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ boolean hasDestination(); /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -166,11 +213,16 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ com.google.cloud.networkmanagement.v1beta1.Endpoint getDestination(); /** + * + * *
    * Required. Destination specification of the Connectivity Test.
    * You can use a combination of destination IP address, Compute Engine
@@ -188,96 +240,120 @@ public interface ConnectivityTestOrBuilder extends
    * intend to test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder getDestinationOrBuilder(); /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The protocol. */ java.lang.String getProtocol(); /** + * + * *
    * IP Protocol of the test. When not provided, "TCP" is assumed.
    * 
* * string protocol = 5; + * * @return The bytes for protocol. */ - com.google.protobuf.ByteString - getProtocolBytes(); + com.google.protobuf.ByteString getProtocolBytes(); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return A list containing the relatedProjects. */ - java.util.List - getRelatedProjectsList(); + java.util.List getRelatedProjectsList(); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @return The count of relatedProjects. */ int getRelatedProjectsCount(); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the element to return. * @return The relatedProjects at the given index. */ java.lang.String getRelatedProjects(int index); /** + * + * *
    * Other projects that may be relevant for reachability analysis.
    * This is applicable to scenarios where a test can cross project boundaries.
    * 
* * repeated string related_projects = 6; + * * @param index The index of the value to return. * @return The bytes of the relatedProjects at the given index. */ - com.google.protobuf.ByteString - getRelatedProjectsBytes(int index); + com.google.protobuf.ByteString getRelatedProjectsBytes(int index); /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Output only. The display name of a Connectivity Test.
    * 
* * string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -286,30 +362,31 @@ public interface ConnectivityTestOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
@@ -317,108 +394,148 @@ boolean containsLabels( * map<string, string> labels = 8; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Resource labels to represent user-provided metadata.
    * 
* * map<string, string> labels = 8; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the test was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time the test's configuration was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the reachabilityDetails field is set. */ boolean hasReachabilityDetails(); /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reachabilityDetails. */ com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getReachabilityDetails(); /** + * + * *
    * Output only. The reachability details of this test from the latest run.
    * The details are updated when creating a new test, updating an
    * existing test, or triggering a one-time rerun of an existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder + getReachabilityDetailsOrBuilder(); /** + * + * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -426,11 +543,16 @@ java.lang.String getLabelsOrThrow(
    * existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the probingDetails field is set. */ boolean hasProbingDetails(); /** + * + * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -438,11 +560,16 @@ java.lang.String getLabelsOrThrow(
    * existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The probingDetails. */ com.google.cloud.networkmanagement.v1beta1.ProbingDetails getProbingDetails(); /** + * + * *
    * Output only. The probing details of this test from the latest run, present
    * for applicable tests only. The details are updated when creating a new
@@ -450,7 +577,9 @@ java.lang.String getLabelsOrThrow(
    * existing test.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder getProbingDetailsOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java similarity index 63% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java index 2bec863c5672..c3236f29f877 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Request for the `CreateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest} */ -public final class CreateConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) CreateConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConnectivityTestRequest.newBuilder() to construct. private CreateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConnectivityTestRequest() { parent_ = ""; testId_ = ""; @@ -26,39 +44,44 @@ private CreateConnectivityTestRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,9 +122,12 @@ public java.lang.String getParent() { } public static final int TEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object testId_ = ""; /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -113,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The testId. */ @java.lang.Override @@ -121,14 +148,15 @@ public java.lang.String getTestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; } } /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -140,16 +168,15 @@ public java.lang.String getTestId() {
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for testId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTestIdBytes() { + public com.google.protobuf.ByteString getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); testId_ = b; return b; } else { @@ -160,11 +187,16 @@ public java.lang.String getTestId() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ @java.lang.Override @@ -172,30 +204,45 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { - return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder + getResourceOrBuilder() { + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +254,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_); } @@ -234,8 +280,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, testId_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,21 +290,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.networkmanagement.v1beta1.CreateConnectivityTestRequest)) { + if (!(obj + instanceof com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTestId() - .equals(other.getTestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTestId().equals(other.getTestId())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -286,129 +330,139 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `CreateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.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(); @@ -424,19 +478,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -445,13 +502,17 @@ public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -460,9 +521,7 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CreateConn result.testId_ = testId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resource_ = resourceBuilder_ == null - ? resource_ - : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); } } @@ -470,46 +529,52 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.CreateConn public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -549,29 +614,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - testId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getResourceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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: + { + testId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); + 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) { @@ -581,23 +648,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -606,21 +676,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -628,30 +699,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - 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. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -661,18 +739,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the Connectivity Test to create:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - 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; @@ -682,6 +764,8 @@ public Builder setParentBytes( private java.lang.Object testId_ = ""; /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -693,13 +777,13 @@ public Builder setParentBytes(
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The testId. */ public java.lang.String getTestId() { java.lang.Object ref = testId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); testId_ = s; return s; @@ -708,6 +792,8 @@ public java.lang.String getTestId() { } } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -719,15 +805,14 @@ public java.lang.String getTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for testId. */ - public com.google.protobuf.ByteString - getTestIdBytes() { + public com.google.protobuf.ByteString getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); testId_ = b; return b; } else { @@ -735,6 +820,8 @@ public java.lang.String getTestId() { } } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -746,18 +833,22 @@ public java.lang.String getTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The testId to set. * @return This builder for chaining. */ - public Builder setTestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } testId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -769,6 +860,7 @@ public Builder setTestId(
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTestId() { @@ -778,6 +870,8 @@ public Builder clearTestId() { return this; } /** + * + * *
      * Required. The logical name of the Connectivity Test in your project
      * with the following restrictions:
@@ -789,12 +883,14 @@ public Builder clearTestId() {
      * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for testId to set. * @return This builder for chaining. */ - public Builder setTestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); testId_ = value; bitField0_ |= 0x00000002; @@ -804,39 +900,58 @@ public Builder setTestIdBytes( private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> resourceBuilder_; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + resourceBuilder_; /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -852,11 +967,15 @@ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.Connectivi return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource( com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { @@ -870,17 +989,24 @@ public Builder setResource( return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { + public Builder mergeResource( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - resource_ != null && - resource_ != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && resource_ != null + && resource_ + != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest + .getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -893,11 +1019,15 @@ public Builder mergeResource(com.google.cloud.networkmanagement.v1beta1.Connecti return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000004); @@ -910,55 +1040,73 @@ public Builder clearResource() { return this; } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getResourceBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder + getResourceBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder + getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } } /** + * + * *
      * Required. A `ConnectivityTest` resource
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,41 +1116,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectivityTestRequest 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 CreateConnectivityTestRequest 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; @@ -1014,9 +1165,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java index 772b46e4308f..11200c32d471 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/CreateConnectivityTestRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface CreateConnectivityTestRequestOrBuilder extends +public interface CreateConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.CreateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the Connectivity Test to create:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -41,10 +64,13 @@ public interface CreateConnectivityTestRequestOrBuilder extends
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The testId. */ java.lang.String getTestId(); /** + * + * *
    * Required. The logical name of the Connectivity Test in your project
    * with the following restrictions:
@@ -56,35 +82,49 @@ public interface CreateConnectivityTestRequestOrBuilder extends
    * 
* * string test_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for testId. */ - com.google.protobuf.ByteString - getTestIdBytes(); + com.google.protobuf.ByteString getTestIdBytes(); /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource(); /** + * + * *
    * Required. A `ConnectivityTest` resource
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java similarity index 61% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java index 2c1749e170e6..53179bde8934 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequest.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Request for the `DeleteConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest} */ -public final class DeleteConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) DeleteConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConnectivityTestRequest.newBuilder() to construct. private DeleteConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,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_); } @@ -134,15 +157,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.networkmanagement.v1beta1.DeleteConnectivityTestRequest)) { + if (!(obj + instanceof com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +186,139 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `DeleteConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.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(); @@ -294,19 +328,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -315,13 +352,17 @@ public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +373,52 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DeleteConn public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +450,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) { @@ -423,23 +472,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -448,21 +500,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -470,30 +523,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +597,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectivityTestRequest 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 DeleteConnectivityTestRequest 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; @@ -579,9 +646,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java index 516faccf54ef..a14c38f75eb0 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeleteConnectivityTestRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface DeleteConnectivityTestRequestOrBuilder extends +public interface DeleteConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.DeleteConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java similarity index 69% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java index 18ea50cf607c..c78a20aa7e1e 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Details of the final state "deliver" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeliverInfo} */ -public final class DeliverInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeliverInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.DeliverInfo) DeliverInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeliverInfo.newBuilder() to construct. private DeliverInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeliverInfo() { target_ = 0; resourceUri_ = ""; @@ -26,39 +44,43 @@ private DeliverInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeliverInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); } /** + * + * *
    * Deliver target types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.DeliverInfo.Target} */ - public enum Target - implements com.google.protobuf.ProtocolMessageEnum { + public enum Target implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Target not specified.
      * 
@@ -67,6 +89,8 @@ public enum Target */ TARGET_UNSPECIFIED(0), /** + * + * *
      * Target is a Compute Engine instance.
      * 
@@ -75,6 +99,8 @@ public enum Target */ INSTANCE(1), /** + * + * *
      * Target is the internet.
      * 
@@ -83,6 +109,8 @@ public enum Target */ INTERNET(2), /** + * + * *
      * Target is a Google API.
      * 
@@ -91,6 +119,8 @@ public enum Target */ GOOGLE_API(3), /** + * + * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -99,6 +129,8 @@ public enum Target */ GKE_MASTER(4), /** + * + * *
      * Target is a Cloud SQL instance.
      * 
@@ -107,6 +139,8 @@ public enum Target */ CLOUD_SQL_INSTANCE(5), /** + * + * *
      * Target is a published service using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
@@ -116,6 +150,8 @@ public enum Target
      */
     PSC_PUBLISHED_SERVICE(6),
     /**
+     *
+     *
      * 
      * Target is all Google APIs using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -125,6 +161,8 @@ public enum Target
      */
     PSC_GOOGLE_API(7),
     /**
+     *
+     *
      * 
      * Target is VPC-SC using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -137,6 +175,8 @@ public enum Target
     ;
 
     /**
+     *
+     *
      * 
      * Target not specified.
      * 
@@ -145,6 +185,8 @@ public enum Target */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Target is a Compute Engine instance.
      * 
@@ -153,6 +195,8 @@ public enum Target */ public static final int INSTANCE_VALUE = 1; /** + * + * *
      * Target is the internet.
      * 
@@ -161,6 +205,8 @@ public enum Target */ public static final int INTERNET_VALUE = 2; /** + * + * *
      * Target is a Google API.
      * 
@@ -169,6 +215,8 @@ public enum Target */ public static final int GOOGLE_API_VALUE = 3; /** + * + * *
      * Target is a Google Kubernetes Engine cluster master.
      * 
@@ -177,6 +225,8 @@ public enum Target */ public static final int GKE_MASTER_VALUE = 4; /** + * + * *
      * Target is a Cloud SQL instance.
      * 
@@ -185,6 +235,8 @@ public enum Target */ public static final int CLOUD_SQL_INSTANCE_VALUE = 5; /** + * + * *
      * Target is a published service using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
@@ -194,6 +246,8 @@ public enum Target
      */
     public static final int PSC_PUBLISHED_SERVICE_VALUE = 6;
     /**
+     *
+     *
      * 
      * Target is all Google APIs using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -203,6 +257,8 @@ public enum Target
      */
     public static final int PSC_GOOGLE_API_VALUE = 7;
     /**
+     *
+     *
      * 
      * Target is VPC-SC using [Private Service
      * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
@@ -212,7 +268,6 @@ public enum Target
      */
     public static final int PSC_VPC_SC_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -237,55 +292,63 @@ public static Target valueOf(int value) {
      */
     public static Target forNumber(int value) {
       switch (value) {
-        case 0: return TARGET_UNSPECIFIED;
-        case 1: return INSTANCE;
-        case 2: return INTERNET;
-        case 3: return GOOGLE_API;
-        case 4: return GKE_MASTER;
-        case 5: return CLOUD_SQL_INSTANCE;
-        case 6: return PSC_PUBLISHED_SERVICE;
-        case 7: return PSC_GOOGLE_API;
-        case 8: return PSC_VPC_SC;
-        default: return null;
+        case 0:
+          return TARGET_UNSPECIFIED;
+        case 1:
+          return INSTANCE;
+        case 2:
+          return INTERNET;
+        case 3:
+          return GOOGLE_API;
+        case 4:
+          return GKE_MASTER;
+        case 5:
+          return CLOUD_SQL_INSTANCE;
+        case 6:
+          return PSC_PUBLISHED_SERVICE;
+        case 7:
+          return PSC_GOOGLE_API;
+        case 8:
+          return PSC_VPC_SC;
+        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<
-        Target> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Target findValueByNumber(int number) {
-              return Target.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 Target findValueByNumber(int number) {
+            return Target.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.networkmanagement.v1beta1.DeliverInfo.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Target[] VALUES = values();
 
-    public static Target valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Target 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;
@@ -305,38 +368,53 @@ private Target(int value) {
   public static final int TARGET_FIELD_NUMBER = 1;
   private int target_ = 0;
   /**
+   *
+   *
    * 
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return The target. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -345,29 +423,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -376,6 +454,7 @@ public java.lang.String getResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,9 +466,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (target_ != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (target_ + != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -404,9 +484,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, target_); + if (target_ + != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -419,16 +500,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.networkmanagement.v1beta1.DeliverInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.DeliverInfo other = (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) obj; + com.google.cloud.networkmanagement.v1beta1.DeliverInfo other = + (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -450,129 +531,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo 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.networkmanagement.v1beta1.DeliverInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.DeliverInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.DeliverInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "deliver" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DeliverInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.DeliverInfo) com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.class, + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.DeliverInfo.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(); @@ -583,9 +671,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor; } @java.lang.Override @@ -604,8 +692,11 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.DeliverInfo result = new com.google.cloud.networkmanagement.v1beta1.DeliverInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.DeliverInfo result = + new com.google.cloud.networkmanagement.v1beta1.DeliverInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -624,38 +715,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DeliverInf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.DeliverInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DeliverInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DeliverInfo) other); } else { super.mergeFrom(other); return this; @@ -663,7 +755,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.DeliverInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) + return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -698,22 +791,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = 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) { @@ -723,26 +819,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int target_ = 0; /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -753,24 +857,33 @@ public Builder setTargetValue(int value) { return this; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target result = + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target.UNRECOGNIZED + : result; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @param value The target to set. * @return This builder for chaining. */ @@ -784,11 +897,14 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1beta1.DeliverInfo. return this; } /** + * + * *
      * Target type where the packet is delivered to.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -800,18 +916,20 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -820,20 +938,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -841,28 +960,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -872,26 +998,30 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that the packet is delivered to.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -901,12 +1031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.DeliverInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.DeliverInfo) private static final com.google.cloud.networkmanagement.v1beta1.DeliverInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.DeliverInfo(); } @@ -915,27 +1045,27 @@ public static com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeliverInfo 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 DeliverInfo 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; @@ -950,6 +1080,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java index d2b1edf9f74f..adc642a7e00b 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DeliverInfoOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface DeliverInfoOrBuilder extends +public interface DeliverInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.DeliverInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** + * + * *
    * Target type where the packet is delivered to.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1; + * * @return The target. */ com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target getTarget(); /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that the packet is delivered to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java similarity index 74% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java index 0bfdafffeba9..1a4a3d7e415e 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Details of the final state "drop" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DropInfo} */ -public final class DropInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DropInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.DropInfo) DropInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DropInfo.newBuilder() to construct. private DropInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DropInfo() { cause_ = 0; resourceUri_ = ""; @@ -26,39 +44,43 @@ private DropInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DropInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DropInfo.class, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DropInfo.class, + com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); } /** + * + * *
    * Drop cause types:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.DropInfo.Cause} */ - public enum Cause - implements com.google.protobuf.ProtocolMessageEnum { + public enum Cause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Cause is unspecified.
      * 
@@ -67,6 +89,8 @@ public enum Cause */ CAUSE_UNSPECIFIED(0), /** + * + * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -77,6 +101,8 @@ public enum Cause
      */
     UNKNOWN_EXTERNAL_ADDRESS(1),
     /**
+     *
+     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -86,6 +112,8 @@ public enum Cause
      */
     FOREIGN_IP_DISALLOWED(2),
     /**
+     *
+     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -95,6 +123,8 @@ public enum Cause
      */
     FIREWALL_RULE(3),
     /**
+     *
+     *
      * 
      * Dropped due to no routes.
      * 
@@ -103,6 +133,8 @@ public enum Cause */ NO_ROUTE(4), /** + * + * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -111,6 +143,8 @@ public enum Cause */ ROUTE_BLACKHOLE(5), /** + * + * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -121,6 +155,8 @@ public enum Cause
      */
     ROUTE_WRONG_NETWORK(6),
     /**
+     *
+     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -129,6 +165,8 @@ public enum Cause */ PRIVATE_TRAFFIC_TO_INTERNET(7), /** + * + * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -138,6 +176,8 @@ public enum Cause
      */
     PRIVATE_GOOGLE_ACCESS_DISALLOWED(8),
     /**
+     *
+     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -148,6 +188,8 @@ public enum Cause
      */
     NO_EXTERNAL_ADDRESS(9),
     /**
+     *
+     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -159,6 +201,8 @@ public enum Cause
      */
     UNKNOWN_INTERNAL_ADDRESS(10),
     /**
+     *
+     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -167,6 +211,8 @@ public enum Cause */ FORWARDING_RULE_MISMATCH(11), /** + * + * *
      * Forwarding rule does not have backends configured.
      * 
@@ -175,6 +221,8 @@ public enum Cause */ FORWARDING_RULE_NO_INSTANCES(12), /** + * + * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -186,6 +234,8 @@ public enum Cause
      */
     FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK(13),
     /**
+     *
+     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -195,6 +245,8 @@ public enum Cause
      */
     INSTANCE_NOT_RUNNING(14),
     /**
+     *
+     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -206,6 +258,8 @@ public enum Cause
      */
     TRAFFIC_TYPE_BLOCKED(15),
     /**
+     *
+     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -217,6 +271,8 @@ public enum Cause
      */
     GKE_MASTER_UNAUTHORIZED_ACCESS(16),
     /**
+     *
+     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -228,6 +284,8 @@ public enum Cause
      */
     CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS(17),
     /**
+     *
+     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -236,6 +294,8 @@ public enum Cause */ DROPPED_INSIDE_GKE_SERVICE(18), /** + * + * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -244,6 +304,8 @@ public enum Cause */ DROPPED_INSIDE_CLOUD_SQL_SERVICE(19), /** + * + * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -253,6 +315,8 @@ public enum Cause
      */
     GOOGLE_MANAGED_SERVICE_NO_PEERING(20),
     /**
+     *
+     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -262,6 +326,8 @@ public enum Cause
      */
     CLOUD_SQL_INSTANCE_NO_IP_ADDRESS(21),
     /**
+     *
+     *
      * 
      * Packet could be dropped because the Cloud function is not in an active
      * status.
@@ -271,6 +337,8 @@ public enum Cause
      */
     CLOUD_FUNCTION_NOT_ACTIVE(22),
     /**
+     *
+     *
      * 
      * Packet could be dropped because no VPC connector is set.
      * 
@@ -279,6 +347,8 @@ public enum Cause */ VPC_CONNECTOR_NOT_SET(23), /** + * + * *
      * Packet could be dropped because the VPC connector is not in a running
      * state.
@@ -288,6 +358,8 @@ public enum Cause
      */
     VPC_CONNECTOR_NOT_RUNNING(24),
     /**
+     *
+     *
      * 
      * Packet could be dropped because it was sent from a different region
      * to a regional forwarding without global access.
@@ -297,6 +369,8 @@ public enum Cause
      */
     FORWARDING_RULE_REGION_MISMATCH(25),
     /**
+     *
+     *
      * 
      * Privte Service Connect (PSC) connection is not in accepted state.
      * 
@@ -308,6 +382,8 @@ public enum Cause ; /** + * + * *
      * Cause is unspecified.
      * 
@@ -316,6 +392,8 @@ public enum Cause */ public static final int CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Destination external address cannot be resolved to a known target. If
      * the address is used in a Google Cloud project, provide the project ID
@@ -326,6 +404,8 @@ public enum Cause
      */
     public static final int UNKNOWN_EXTERNAL_ADDRESS_VALUE = 1;
     /**
+     *
+     *
      * 
      * A Compute Engine instance can only send or receive a packet with a
      * foreign IP address if ip_forward is enabled.
@@ -335,6 +415,8 @@ public enum Cause
      */
     public static final int FOREIGN_IP_DISALLOWED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Dropped due to a firewall rule, unless allowed due to connection
      * tracking.
@@ -344,6 +426,8 @@ public enum Cause
      */
     public static final int FIREWALL_RULE_VALUE = 3;
     /**
+     *
+     *
      * 
      * Dropped due to no routes.
      * 
@@ -352,6 +436,8 @@ public enum Cause */ public static final int NO_ROUTE_VALUE = 4; /** + * + * *
      * Dropped due to invalid route. Route's next hop is a blackhole.
      * 
@@ -360,6 +446,8 @@ public enum Cause */ public static final int ROUTE_BLACKHOLE_VALUE = 5; /** + * + * *
      * Packet is sent to a wrong (unintended) network. Example: you trace a
      * packet from VM1:Network1 to VM2:Network2, however, the route configured
@@ -370,6 +458,8 @@ public enum Cause
      */
     public static final int ROUTE_WRONG_NETWORK_VALUE = 6;
     /**
+     *
+     *
      * 
      * Packet with internal destination address sent to the internet gateway.
      * 
@@ -378,6 +468,8 @@ public enum Cause */ public static final int PRIVATE_TRAFFIC_TO_INTERNET_VALUE = 7; /** + * + * *
      * Instance with only an internal IP address tries to access Google API and
      * services, but private Google access is not enabled.
@@ -387,6 +479,8 @@ public enum Cause
      */
     public static final int PRIVATE_GOOGLE_ACCESS_DISALLOWED_VALUE = 8;
     /**
+     *
+     *
      * 
      * Instance with only an internal IP address tries to access external hosts,
      * but Cloud NAT is not enabled in the subnet, unless special configurations
@@ -397,6 +491,8 @@ public enum Cause
      */
     public static final int NO_EXTERNAL_ADDRESS_VALUE = 9;
     /**
+     *
+     *
      * 
      * Destination internal address cannot be resolved to a known target. If
      * this is a shared VPC scenario, verify if the service project ID is
@@ -408,6 +504,8 @@ public enum Cause
      */
     public static final int UNKNOWN_INTERNAL_ADDRESS_VALUE = 10;
     /**
+     *
+     *
      * 
      * Forwarding rule's protocol and ports do not match the packet header.
      * 
@@ -416,6 +514,8 @@ public enum Cause */ public static final int FORWARDING_RULE_MISMATCH_VALUE = 11; /** + * + * *
      * Forwarding rule does not have backends configured.
      * 
@@ -424,6 +524,8 @@ public enum Cause */ public static final int FORWARDING_RULE_NO_INSTANCES_VALUE = 12; /** + * + * *
      * Firewalls block the health check probes to the backends and cause
      * the backends to be unavailable for traffic from the load balancer.
@@ -435,6 +537,8 @@ public enum Cause
      */
     public static final int FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK_VALUE = 13;
     /**
+     *
+     *
      * 
      * Packet is sent from or to a Compute Engine instance that is not in a
      * running state.
@@ -444,6 +548,8 @@ public enum Cause
      */
     public static final int INSTANCE_NOT_RUNNING_VALUE = 14;
     /**
+     *
+     *
      * 
      * The type of traffic is blocked and the user cannot configure a firewall
      * rule to enable it. See [Always blocked
@@ -455,6 +561,8 @@ public enum Cause
      */
     public static final int TRAFFIC_TYPE_BLOCKED_VALUE = 15;
     /**
+     *
+     *
      * 
      * Access to Google Kubernetes Engine cluster master's endpoint is not
      * authorized. See [Access to the cluster
@@ -466,6 +574,8 @@ public enum Cause
      */
     public static final int GKE_MASTER_UNAUTHORIZED_ACCESS_VALUE = 16;
     /**
+     *
+     *
      * 
      * Access to the Cloud SQL instance endpoint is not authorized.
      * See [Authorizing with authorized
@@ -477,6 +587,8 @@ public enum Cause
      */
     public static final int CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS_VALUE = 17;
     /**
+     *
+     *
      * 
      * Packet was dropped inside Google Kubernetes Engine Service.
      * 
@@ -485,6 +597,8 @@ public enum Cause */ public static final int DROPPED_INSIDE_GKE_SERVICE_VALUE = 18; /** + * + * *
      * Packet was dropped inside Cloud SQL Service.
      * 
@@ -493,6 +607,8 @@ public enum Cause */ public static final int DROPPED_INSIDE_CLOUD_SQL_SERVICE_VALUE = 19; /** + * + * *
      * Packet was dropped because there is no peering between the originating
      * network and the Google Managed Services Network.
@@ -502,6 +618,8 @@ public enum Cause
      */
     public static final int GOOGLE_MANAGED_SERVICE_NO_PEERING_VALUE = 20;
     /**
+     *
+     *
      * 
      * Packet was dropped because the Cloud SQL instance has neither a private
      * nor a public IP address.
@@ -511,6 +629,8 @@ public enum Cause
      */
     public static final int CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE = 21;
     /**
+     *
+     *
      * 
      * Packet could be dropped because the Cloud function is not in an active
      * status.
@@ -520,6 +640,8 @@ public enum Cause
      */
     public static final int CLOUD_FUNCTION_NOT_ACTIVE_VALUE = 22;
     /**
+     *
+     *
      * 
      * Packet could be dropped because no VPC connector is set.
      * 
@@ -528,6 +650,8 @@ public enum Cause */ public static final int VPC_CONNECTOR_NOT_SET_VALUE = 23; /** + * + * *
      * Packet could be dropped because the VPC connector is not in a running
      * state.
@@ -537,6 +661,8 @@ public enum Cause
      */
     public static final int VPC_CONNECTOR_NOT_RUNNING_VALUE = 24;
     /**
+     *
+     *
      * 
      * Packet could be dropped because it was sent from a different region
      * to a regional forwarding without global access.
@@ -546,6 +672,8 @@ public enum Cause
      */
     public static final int FORWARDING_RULE_REGION_MISMATCH_VALUE = 25;
     /**
+     *
+     *
      * 
      * Privte Service Connect (PSC) connection is not in accepted state.
      * 
@@ -554,7 +682,6 @@ public enum Cause */ public static final int PSC_CONNECTION_NOT_ACCEPTED_VALUE = 26; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -579,73 +706,99 @@ public static Cause valueOf(int value) { */ public static Cause forNumber(int value) { switch (value) { - case 0: return CAUSE_UNSPECIFIED; - case 1: return UNKNOWN_EXTERNAL_ADDRESS; - case 2: return FOREIGN_IP_DISALLOWED; - case 3: return FIREWALL_RULE; - case 4: return NO_ROUTE; - case 5: return ROUTE_BLACKHOLE; - case 6: return ROUTE_WRONG_NETWORK; - case 7: return PRIVATE_TRAFFIC_TO_INTERNET; - case 8: return PRIVATE_GOOGLE_ACCESS_DISALLOWED; - case 9: return NO_EXTERNAL_ADDRESS; - case 10: return UNKNOWN_INTERNAL_ADDRESS; - case 11: return FORWARDING_RULE_MISMATCH; - case 12: return FORWARDING_RULE_NO_INSTANCES; - case 13: return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK; - case 14: return INSTANCE_NOT_RUNNING; - case 15: return TRAFFIC_TYPE_BLOCKED; - case 16: return GKE_MASTER_UNAUTHORIZED_ACCESS; - case 17: return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS; - case 18: return DROPPED_INSIDE_GKE_SERVICE; - case 19: return DROPPED_INSIDE_CLOUD_SQL_SERVICE; - case 20: return GOOGLE_MANAGED_SERVICE_NO_PEERING; - case 21: return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS; - case 22: return CLOUD_FUNCTION_NOT_ACTIVE; - case 23: return VPC_CONNECTOR_NOT_SET; - case 24: return VPC_CONNECTOR_NOT_RUNNING; - case 25: return FORWARDING_RULE_REGION_MISMATCH; - case 26: return PSC_CONNECTION_NOT_ACCEPTED; - default: return null; + case 0: + return CAUSE_UNSPECIFIED; + case 1: + return UNKNOWN_EXTERNAL_ADDRESS; + case 2: + return FOREIGN_IP_DISALLOWED; + case 3: + return FIREWALL_RULE; + case 4: + return NO_ROUTE; + case 5: + return ROUTE_BLACKHOLE; + case 6: + return ROUTE_WRONG_NETWORK; + case 7: + return PRIVATE_TRAFFIC_TO_INTERNET; + case 8: + return PRIVATE_GOOGLE_ACCESS_DISALLOWED; + case 9: + return NO_EXTERNAL_ADDRESS; + case 10: + return UNKNOWN_INTERNAL_ADDRESS; + case 11: + return FORWARDING_RULE_MISMATCH; + case 12: + return FORWARDING_RULE_NO_INSTANCES; + case 13: + return FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK; + case 14: + return INSTANCE_NOT_RUNNING; + case 15: + return TRAFFIC_TYPE_BLOCKED; + case 16: + return GKE_MASTER_UNAUTHORIZED_ACCESS; + case 17: + return CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS; + case 18: + return DROPPED_INSIDE_GKE_SERVICE; + case 19: + return DROPPED_INSIDE_CLOUD_SQL_SERVICE; + case 20: + return GOOGLE_MANAGED_SERVICE_NO_PEERING; + case 21: + return CLOUD_SQL_INSTANCE_NO_IP_ADDRESS; + case 22: + return CLOUD_FUNCTION_NOT_ACTIVE; + case 23: + return VPC_CONNECTOR_NOT_SET; + case 24: + return VPC_CONNECTOR_NOT_RUNNING; + case 25: + return FORWARDING_RULE_REGION_MISMATCH; + case 26: + return PSC_CONNECTION_NOT_ACCEPTED; + 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< - Cause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Cause findValueByNumber(int number) { - return Cause.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 Cause findValueByNumber(int number) { + return Cause.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.networkmanagement.v1beta1.DropInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Cause[] VALUES = values(); - public static Cause valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Cause 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; @@ -665,38 +818,53 @@ private Cause(int value) { public static final int CAUSE_FIELD_NUMBER = 1; private int cause_ = 0; /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return The cause. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause() { + com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = + com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -705,29 +873,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -736,6 +904,7 @@ public java.lang.String getResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -747,9 +916,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (cause_ != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (cause_ + != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -764,9 +934,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cause_ != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cause_); + if (cause_ + != com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, cause_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -779,16 +950,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.networkmanagement.v1beta1.DropInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.DropInfo other = (com.google.cloud.networkmanagement.v1beta1.DropInfo) obj; + com.google.cloud.networkmanagement.v1beta1.DropInfo other = + (com.google.cloud.networkmanagement.v1beta1.DropInfo) obj; if (cause_ != other.cause_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -810,129 +981,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo 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.networkmanagement.v1beta1.DropInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.DropInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.DropInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "drop" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.DropInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.DropInfo) com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.DropInfo.class, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.DropInfo.class, + com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.DropInfo.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(); @@ -943,9 +1120,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor; } @java.lang.Override @@ -964,8 +1141,11 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.DropInfo result = new com.google.cloud.networkmanagement.v1beta1.DropInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.DropInfo result = + new com.google.cloud.networkmanagement.v1beta1.DropInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -984,38 +1164,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.DropInfo 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.networkmanagement.v1beta1.DropInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DropInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.DropInfo) other); } else { super.mergeFrom(other); return this; @@ -1023,7 +1204,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.DropInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) + return this; if (other.cause_ != 0) { setCauseValue(other.getCauseValue()); } @@ -1058,22 +1240,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cause_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cause_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = 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) { @@ -1083,26 +1268,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int cause_ = 0; /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ - @java.lang.Override public int getCauseValue() { + @java.lang.Override + public int getCauseValue() { return cause_; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @param value The enum numeric value on the wire for cause to set. * @return This builder for chaining. */ @@ -1113,24 +1306,33 @@ public Builder setCauseValue(int value) { return this; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return The cause. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause() { - com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause result = + com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.forNumber(cause_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause.UNRECOGNIZED + : result; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @param value The cause to set. * @return This builder for chaining. */ @@ -1144,11 +1346,14 @@ public Builder setCause(com.google.cloud.networkmanagement.v1beta1.DropInfo.Caus return this; } /** + * + * *
      * Cause that the packet is dropped.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return This builder for chaining. */ public Builder clearCause() { @@ -1160,18 +1365,20 @@ public Builder clearCause() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -1180,20 +1387,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -1201,28 +1409,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -1232,26 +1447,30 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that caused the drop.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -1261,12 +1480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.DropInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.DropInfo) private static final com.google.cloud.networkmanagement.v1beta1.DropInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.DropInfo(); } @@ -1275,27 +1494,27 @@ public static com.google.cloud.networkmanagement.v1beta1.DropInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropInfo 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 DropInfo 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; @@ -1310,6 +1529,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.DropInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java similarity index 61% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java index 6b7ab7e4e128..8cf72c766f2f 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/DropInfoOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface DropInfoOrBuilder extends +public interface DropInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.DropInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return The enum numeric value on the wire for cause. */ int getCauseValue(); /** + * + * *
    * Cause that the packet is dropped.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo.Cause cause = 1; + * * @return The cause. */ com.google.cloud.networkmanagement.v1beta1.DropInfo.Cause getCause(); /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that caused the drop.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java similarity index 69% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java index b9fd6ff41a7c..6573258fd1d5 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Endpoint.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Source or destination of the Connectivity Test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint} */ -public final class Endpoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Endpoint) EndpointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Endpoint.newBuilder() to construct. private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Endpoint() { ipAddress_ = ""; instance_ = ""; @@ -31,30 +49,33 @@ private Endpoint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Endpoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.class, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); } /** + * + * *
    * The type definition of an endpoint's network. Use one of the
    * following choices:
@@ -62,9 +83,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType}
    */
-  public enum NetworkType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default type if unspecified.
      * 
@@ -73,6 +95,8 @@ public enum NetworkType */ NETWORK_TYPE_UNSPECIFIED(0), /** + * + * *
      * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
@@ -83,6 +107,8 @@ public enum NetworkType
      */
     GCP_NETWORK(1),
     /**
+     *
+     *
      * 
      * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
@@ -96,6 +122,8 @@ public enum NetworkType
     ;
 
     /**
+     *
+     *
      * 
      * Default type if unspecified.
      * 
@@ -104,6 +132,8 @@ public enum NetworkType */ public static final int NETWORK_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A network hosted within Google Cloud.
      * To receive more detailed output, specify the URI for the source or
@@ -114,6 +144,8 @@ public enum NetworkType
      */
     public static final int GCP_NETWORK_VALUE = 1;
     /**
+     *
+     *
      * 
      * A network hosted outside of Google Cloud.
      * This can be an on-premises network, or a network hosted by another cloud
@@ -124,7 +156,6 @@ public enum NetworkType
      */
     public static final int NON_GCP_NETWORK_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -149,49 +180,51 @@ public static NetworkType valueOf(int value) {
      */
     public static NetworkType forNumber(int value) {
       switch (value) {
-        case 0: return NETWORK_TYPE_UNSPECIFIED;
-        case 1: return GCP_NETWORK;
-        case 2: return NON_GCP_NETWORK;
-        default: return null;
+        case 0:
+          return NETWORK_TYPE_UNSPECIFIED;
+        case 1:
+          return GCP_NETWORK;
+        case 2:
+          return NON_GCP_NETWORK;
+        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<
-        NetworkType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NetworkType findValueByNumber(int number) {
-              return NetworkType.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 NetworkType findValueByNumber(int number) {
+            return NetworkType.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.networkmanagement.v1beta1.Endpoint.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.Endpoint.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final NetworkType[] VALUES = values();
 
-    public static NetworkType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NetworkType 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;
@@ -208,84 +241,99 @@ private NetworkType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType)
   }
 
-  public interface CloudFunctionEndpointOrBuilder extends
+  public interface CloudFunctionEndpointOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); } /** + * + * *
    * Wrapper for cloud function attributes.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint} */ - public static final class CloudFunctionEndpoint extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CloudFunctionEndpoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) CloudFunctionEndpointOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudFunctionEndpoint.newBuilder() to construct. private CloudFunctionEndpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudFunctionEndpoint() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudFunctionEndpoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder + .class); } public static final int URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -294,29 +342,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions) name.
      * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -325,6 +373,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +385,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(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -361,15 +409,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.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)) { + if (!(obj + instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other = (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) obj; + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other = + (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) obj; - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -388,88 +437,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -479,39 +541,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Wrapper for cloud function attributes.
      * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.class, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.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(); @@ -521,19 +587,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint build() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -541,14 +610,19 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint buildPartial() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + buildPartial() { + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result = + new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.uri_ = uri_; @@ -559,46 +633,54 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint.C public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other) { - if (other == com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; bitField0_ |= 0x00000001; @@ -630,17 +712,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + uri_ = 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) { @@ -650,22 +734,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object uri_ = ""; /** + * + * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -674,20 +761,21 @@ public java.lang.String getUri() { } } /** + * + * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -695,28 +783,35 @@ public java.lang.String getUri() { } } /** + * + * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -726,23 +821,28 @@ public Builder clearUri() { return this; } /** + * + * *
        * A [Cloud function](https://cloud.google.com/functions) name.
        * 
* * string uri = 1; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -755,41 +855,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint) - private static final com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint(); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudFunctionEndpoint 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 CloudFunctionEndpoint 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; @@ -801,16 +905,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int IP_ADDRESS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -819,6 +926,7 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint
    * 
* * string ip_address = 1; + * * @return The ipAddress. */ @java.lang.Override @@ -827,14 +935,15 @@ 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 the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -843,16 +952,15 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 1; + * * @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 { @@ -863,12 +971,15 @@ public java.lang.String getIpAddress() { public static final int PORT_FIELD_NUMBER = 2; private int port_ = 0; /** + * + * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; + * * @return The port. */ @java.lang.Override @@ -877,14 +988,18 @@ public int getPort() { } public static final int INSTANCE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object instance_ = ""; /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -893,29 +1008,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -924,15 +1039,19 @@ public java.lang.String getInstance() { } public static final int GKE_MASTER_CLUSTER_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object gkeMasterCluster_ = ""; /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The gkeMasterCluster. */ @java.lang.Override @@ -941,30 +1060,30 @@ public java.lang.String getGkeMasterCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; } } /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The bytes for gkeMasterCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -973,14 +1092,18 @@ public java.lang.String getGkeMasterCluster() { } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object cloudSqlInstance_ = ""; /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The cloudSqlInstance. */ @java.lang.Override @@ -989,29 +1112,29 @@ public java.lang.String getCloudSqlInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; } } /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The bytes for cloudSqlInstance. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -1022,11 +1145,16 @@ public java.lang.String getCloudSqlInstance() { public static final int CLOUD_FUNCTION_FIELD_NUMBER = 10; private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloudFunction_; /** + * + * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * * @return Whether the cloudFunction field is set. */ @java.lang.Override @@ -1034,38 +1162,59 @@ public boolean hasCloudFunction() { return cloudFunction_ != null; } /** + * + * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * * @return The cloudFunction. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction() { - return cloudFunction_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + getCloudFunction() { + return cloudFunction_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance() + : cloudFunction_; } /** + * + * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder() { - return cloudFunction_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder + getCloudFunctionOrBuilder() { + return cloudFunction_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance() + : cloudFunction_; } public static final int NETWORK_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @return The network. */ @java.lang.Override @@ -1074,29 +1223,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; } } /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @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 { @@ -1107,6 +1256,8 @@ public java.lang.String getNetwork() { public static final int NETWORK_TYPE_FIELD_NUMBER = 5; private int networkType_ = 0; /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -1114,12 +1265,16 @@ public java.lang.String getNetwork() {
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override public int getNetworkTypeValue() { + @java.lang.Override + public int getNetworkTypeValue() { return networkType_; } /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -1127,17 +1282,25 @@ public java.lang.String getNetwork() {
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return The networkType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType() { + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED + : result; } public static final int PROJECT_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1151,6 +1314,7 @@ public java.lang.String getNetwork() {
    * 
* * string project_id = 6; + * * @return The projectId. */ @java.lang.Override @@ -1159,14 +1323,15 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -1180,16 +1345,15 @@ public java.lang.String getProjectId() {
    * 
* * string project_id = 6; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1198,6 +1362,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1209,8 +1374,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(ipAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddress_); } @@ -1223,7 +1387,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, network_); } - if (networkType_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { + if (networkType_ + != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { @@ -1251,8 +1417,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ipAddress_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, port_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instance_); @@ -1260,9 +1425,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, network_); } - if (networkType_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, networkType_); + if (networkType_ + != com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.NETWORK_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, networkType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, projectId_); @@ -1274,8 +1440,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudSqlInstance_); } if (cloudFunction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCloudFunction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCloudFunction()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1285,33 +1450,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.Endpoint)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.Endpoint other = (com.google.cloud.networkmanagement.v1beta1.Endpoint) obj; - - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (getPort() - != other.getPort()) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getGkeMasterCluster() - .equals(other.getGkeMasterCluster())) return false; - if (!getCloudSqlInstance() - .equals(other.getCloudSqlInstance())) return false; + com.google.cloud.networkmanagement.v1beta1.Endpoint other = + (com.google.cloud.networkmanagement.v1beta1.Endpoint) obj; + + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (getPort() != other.getPort()) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getGkeMasterCluster().equals(other.getGkeMasterCluster())) return false; + if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; if (hasCloudFunction() != other.hasCloudFunction()) return false; if (hasCloudFunction()) { - if (!getCloudFunction() - .equals(other.getCloudFunction())) return false; + if (!getCloudFunction().equals(other.getCloudFunction())) return false; } - if (!getNetwork() - .equals(other.getNetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; if (networkType_ != other.networkType_) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1349,129 +1507,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint 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.networkmanagement.v1beta1.Endpoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.Endpoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Endpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Source or destination of the Connectivity Test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Endpoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Endpoint) com.google.cloud.networkmanagement.v1beta1.EndpointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Endpoint.class, com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Endpoint.class, + com.google.cloud.networkmanagement.v1beta1.Endpoint.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.Endpoint.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(); @@ -1493,9 +1657,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; } @java.lang.Override @@ -1514,8 +1678,11 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint buildPartial() { - com.google.cloud.networkmanagement.v1beta1.Endpoint result = new com.google.cloud.networkmanagement.v1beta1.Endpoint(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.Endpoint result = + new com.google.cloud.networkmanagement.v1beta1.Endpoint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1538,9 +1705,8 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint r result.cloudSqlInstance_ = cloudSqlInstance_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.cloudFunction_ = cloudFunctionBuilder_ == null - ? cloudFunction_ - : cloudFunctionBuilder_.build(); + result.cloudFunction_ = + cloudFunctionBuilder_ == null ? cloudFunction_ : cloudFunctionBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.network_ = network_; @@ -1557,38 +1723,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Endpoint 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.networkmanagement.v1beta1.Endpoint) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Endpoint)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Endpoint) other); } else { super.mergeFrom(other); return this; @@ -1596,7 +1763,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Endpoint other) { - if (other == com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.Endpoint.getDefaultInstance()) + return this; if (!other.getIpAddress().isEmpty()) { ipAddress_ = other.ipAddress_; bitField0_ |= 0x00000001; @@ -1662,59 +1830,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - port_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - instance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 40: { - networkType_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 40 - case 50: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 50 - case 58: { - gkeMasterCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 58 - case 66: { - cloudSqlInstance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 66 - case 82: { - input.readMessage( - getCloudFunctionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + port_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + instance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 40: + { + networkType_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 40 + case 50: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 50 + case 58: + { + gkeMasterCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 58 + case 66: + { + cloudSqlInstance_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 66 + case 82: + { + input.readMessage(getCloudFunctionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 82 + 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) { @@ -1724,10 +1900,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object ipAddress_ = ""; /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1736,13 +1915,13 @@ public Builder mergeFrom(
      * 
* * string ip_address = 1; + * * @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; @@ -1751,6 +1930,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1759,15 +1940,14 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 1; + * * @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 { @@ -1775,6 +1955,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1783,18 +1965,22 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1803,6 +1989,7 @@ public Builder setIpAddress(
      * 
* * string ip_address = 1; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1812,6 +1999,8 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * The IP address of the endpoint, which can be an external or internal IP.
      * An IPv6 address is only allowed when the test's destination is a
@@ -1820,12 +2009,14 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 1; + * * @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_ |= 0x00000001; @@ -1833,14 +2024,17 @@ public Builder setIpAddressBytes( return this; } - private int port_ ; + private int port_; /** + * + * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; + * * @return The port. */ @java.lang.Override @@ -1848,29 +2042,35 @@ public int getPort() { return port_; } /** + * + * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; + * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The IP protocol port of the endpoint.
      * Only applicable when protocol is TCP or UDP.
      * 
* * int32 port = 2; + * * @return This builder for chaining. */ public Builder clearPort() { @@ -1882,18 +2082,20 @@ public Builder clearPort() { private java.lang.Object instance_ = ""; /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1902,20 +2104,21 @@ public java.lang.String getInstance() { } } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1923,28 +2126,35 @@ public java.lang.String getInstance() { } } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstance(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instance_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { @@ -1954,17 +2164,21 @@ public Builder clearInstance() { return this; } /** + * + * *
      * A Compute Engine instance URI.
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instance_ = value; bitField0_ |= 0x00000004; @@ -1974,19 +2188,21 @@ public Builder setInstanceBytes( private java.lang.Object gkeMasterCluster_ = ""; /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @return The gkeMasterCluster. */ public java.lang.String getGkeMasterCluster() { java.lang.Object ref = gkeMasterCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gkeMasterCluster_ = s; return s; @@ -1995,21 +2211,22 @@ public java.lang.String getGkeMasterCluster() { } } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @return The bytes for gkeMasterCluster. */ - public com.google.protobuf.ByteString - getGkeMasterClusterBytes() { + public com.google.protobuf.ByteString getGkeMasterClusterBytes() { java.lang.Object ref = gkeMasterCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gkeMasterCluster_ = b; return b; } else { @@ -2017,30 +2234,37 @@ public java.lang.String getGkeMasterCluster() { } } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @param value The gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGkeMasterCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } gkeMasterCluster_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @return This builder for chaining. */ public Builder clearGkeMasterCluster() { @@ -2050,18 +2274,22 @@ public Builder clearGkeMasterCluster() { return this; } /** + * + * *
      * A cluster URI for [Google Kubernetes Engine
      * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
      * 
* * string gke_master_cluster = 7; + * * @param value The bytes for gkeMasterCluster to set. * @return This builder for chaining. */ - public Builder setGkeMasterClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); gkeMasterCluster_ = value; bitField0_ |= 0x00000008; @@ -2071,18 +2299,20 @@ public Builder setGkeMasterClusterBytes( private java.lang.Object cloudSqlInstance_ = ""; /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @return The cloudSqlInstance. */ public java.lang.String getCloudSqlInstance() { java.lang.Object ref = cloudSqlInstance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudSqlInstance_ = s; return s; @@ -2091,20 +2321,21 @@ public java.lang.String getCloudSqlInstance() { } } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @return The bytes for cloudSqlInstance. */ - public com.google.protobuf.ByteString - getCloudSqlInstanceBytes() { + public com.google.protobuf.ByteString getCloudSqlInstanceBytes() { java.lang.Object ref = cloudSqlInstance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudSqlInstance_ = b; return b; } else { @@ -2112,28 +2343,35 @@ public java.lang.String getCloudSqlInstance() { } } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @param value The cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstance( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCloudSqlInstance(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cloudSqlInstance_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @return This builder for chaining. */ public Builder clearCloudSqlInstance() { @@ -2143,17 +2381,21 @@ public Builder clearCloudSqlInstance() { return this; } /** + * + * *
      * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
      * 
* * string cloud_sql_instance = 8; + * * @param value The bytes for cloudSqlInstance to set. * @return This builder for chaining. */ - public Builder setCloudSqlInstanceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cloudSqlInstance_ = value; bitField0_ |= 0x00000010; @@ -2161,43 +2403,66 @@ public Builder setCloudSqlInstanceBytes( return this; } - private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloudFunction_; + private com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + cloudFunction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> cloudFunctionBuilder_; + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> + cloudFunctionBuilder_; /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * * @return Whether the cloudFunction field is set. */ public boolean hasCloudFunction() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * * @return The cloudFunction. */ - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + getCloudFunction() { if (cloudFunctionBuilder_ == null) { - return cloudFunction_ == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; + return cloudFunction_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance() + : cloudFunction_; } else { return cloudFunctionBuilder_.getMessage(); } } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ - public Builder setCloudFunction(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { + public Builder setCloudFunction( + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { if (cloudFunctionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2211,14 +2476,19 @@ public Builder setCloudFunction(com.google.cloud.networkmanagement.v1beta1.Endpo return this; } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ public Builder setCloudFunction( - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder builderForValue) { + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder + builderForValue) { if (cloudFunctionBuilder_ == null) { cloudFunction_ = builderForValue.build(); } else { @@ -2229,17 +2499,24 @@ public Builder setCloudFunction( return this; } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ - public Builder mergeCloudFunction(com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { + public Builder mergeCloudFunction( + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint value) { if (cloudFunctionBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - cloudFunction_ != null && - cloudFunction_ != com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && cloudFunction_ != null + && cloudFunction_ + != com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance()) { getCloudFunctionBuilder().mergeFrom(value); } else { cloudFunction_ = value; @@ -2252,11 +2529,15 @@ public Builder mergeCloudFunction(com.google.cloud.networkmanagement.v1beta1.End return this; } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ public Builder clearCloudFunction() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2269,48 +2550,67 @@ public Builder clearCloudFunction() { return this; } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder getCloudFunctionBuilder() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder + getCloudFunctionBuilder() { bitField0_ |= 0x00000020; onChanged(); return getCloudFunctionFieldBuilder().getBuilder(); } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ - public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder + getCloudFunctionOrBuilder() { if (cloudFunctionBuilder_ != null) { return cloudFunctionBuilder_.getMessageOrBuilder(); } else { - return cloudFunction_ == null ? - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.getDefaultInstance() : cloudFunction_; + return cloudFunction_ == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint + .getDefaultInstance() + : cloudFunction_; } } /** + * + * *
      * A [Cloud function](https://cloud.google.com/functions).
      * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder> getCloudFunctionFieldBuilder() { if (cloudFunctionBuilder_ == null) { - cloudFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>( - getCloudFunction(), - getParentForChildren(), - isClean()); + cloudFunctionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint.Builder, + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder>( + getCloudFunction(), getParentForChildren(), isClean()); cloudFunction_ = null; } return cloudFunctionBuilder_; @@ -2318,18 +2618,20 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint private java.lang.Object network_ = ""; /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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; @@ -2338,20 +2640,21 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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 { @@ -2359,28 +2662,35 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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; } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -2390,17 +2700,21 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * A Compute Engine network URI.
      * 
* * string network = 4; + * * @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; @@ -2410,6 +2724,8 @@ public Builder setNetworkBytes( private int networkType_ = 0; /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2417,12 +2733,16 @@ public Builder setNetworkBytes(
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return The enum numeric value on the wire for networkType. */ - @java.lang.Override public int getNetworkTypeValue() { + @java.lang.Override + public int getNetworkTypeValue() { return networkType_; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2430,6 +2750,7 @@ public Builder setNetworkBytes(
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @param value The enum numeric value on the wire for networkType to set. * @return This builder for chaining. */ @@ -2440,6 +2761,8 @@ public Builder setNetworkTypeValue(int value) { return this; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2447,14 +2770,20 @@ public Builder setNetworkTypeValue(int value) {
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return The networkType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType() { - com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType result = + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.forNumber(networkType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2462,10 +2791,12 @@ public com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetwor
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @param value The networkType to set. * @return This builder for chaining. */ - public Builder setNetworkType(com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType value) { + public Builder setNetworkType( + com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType value) { if (value == null) { throw new NullPointerException(); } @@ -2475,6 +2806,8 @@ public Builder setNetworkType(com.google.cloud.networkmanagement.v1beta1.Endpoin return this; } /** + * + * *
      * Type of the network where the endpoint is located.
      * Applicable only to source endpoint, as destination network type can be
@@ -2482,6 +2815,7 @@ public Builder setNetworkType(com.google.cloud.networkmanagement.v1beta1.Endpoin
      * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return This builder for chaining. */ public Builder clearNetworkType() { @@ -2493,6 +2827,8 @@ public Builder clearNetworkType() { private java.lang.Object projectId_ = ""; /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -2506,13 +2842,13 @@ public Builder clearNetworkType() {
      * 
* * string project_id = 6; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2521,6 +2857,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -2534,15 +2872,14 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 6; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -2550,6 +2887,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -2563,18 +2902,22 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 6; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -2588,6 +2931,7 @@ public Builder setProjectId(
      * 
* * string project_id = 6; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2597,6 +2941,8 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID where the endpoint is located.
      * The Project ID can be derived from the URI if you provide a VM instance or
@@ -2610,21 +2956,23 @@ public Builder clearProjectId() {
      * 
* * string project_id = 6; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2634,12 +2982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Endpoint) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Endpoint) private static final com.google.cloud.networkmanagement.v1beta1.Endpoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Endpoint(); } @@ -2648,27 +2996,27 @@ public static com.google.cloud.networkmanagement.v1beta1.Endpoint getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoint 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 Endpoint 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; @@ -2683,6 +3031,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.Endpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java similarity index 72% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java index 9799e9027716..3094bf06c8f1 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. The specification of the endpoints for the test.
  * EndpointInfo is derived from source and destination Endpoint and validated
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.EndpointInfo}
  */
-public final class EndpointInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EndpointInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.EndpointInfo)
     EndpointInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EndpointInfo.newBuilder() to construct.
   private EndpointInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EndpointInfo() {
     sourceIp_ = "";
     destinationIp_ = "";
@@ -32,38 +50,43 @@ private EndpointInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EndpointInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
   }
 
   public static final int SOURCE_IP_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceIp_ = "";
   /**
+   *
+   *
    * 
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The sourceIp. */ @java.lang.Override @@ -72,29 +95,29 @@ public java.lang.String getSourceIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; } } /** + * + * *
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The bytes for sourceIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceIpBytes() { + public com.google.protobuf.ByteString getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -103,14 +126,18 @@ public java.lang.String getSourceIp() { } public static final int DESTINATION_IP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object destinationIp_ = ""; /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The destinationIp. */ @java.lang.Override @@ -119,29 +146,29 @@ public java.lang.String getDestinationIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; } } /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The bytes for destinationIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationIpBytes() { + public com.google.protobuf.ByteString getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -150,14 +177,18 @@ public java.lang.String getDestinationIp() { } public static final int PROTOCOL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The protocol. */ @java.lang.Override @@ -166,29 +197,29 @@ public java.lang.String getProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } } /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -199,11 +230,14 @@ public java.lang.String getProtocol() { public static final int SOURCE_PORT_FIELD_NUMBER = 4; private int sourcePort_ = 0; /** + * + * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; + * * @return The sourcePort. */ @java.lang.Override @@ -214,11 +248,14 @@ public int getSourcePort() { public static final int DESTINATION_PORT_FIELD_NUMBER = 5; private int destinationPort_ = 0; /** + * + * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; + * * @return The destinationPort. */ @java.lang.Override @@ -227,14 +264,18 @@ public int getDestinationPort() { } public static final int SOURCE_NETWORK_URI_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object sourceNetworkUri_ = ""; /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The sourceNetworkUri. */ @java.lang.Override @@ -243,29 +284,29 @@ public java.lang.String getSourceNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; } } /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The bytes for sourceNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -274,14 +315,18 @@ public java.lang.String getSourceNetworkUri() { } public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object destinationNetworkUri_ = ""; /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The destinationNetworkUri. */ @java.lang.Override @@ -290,29 +335,29 @@ public java.lang.String getDestinationNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; } } /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The bytes for destinationNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -321,14 +366,18 @@ public java.lang.String getDestinationNetworkUri() { } public static final int SOURCE_AGENT_URI_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object sourceAgentUri_ = ""; /** + * + * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; + * * @return The sourceAgentUri. */ @java.lang.Override @@ -337,29 +386,29 @@ public java.lang.String getSourceAgentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceAgentUri_ = s; return s; } } /** + * + * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; + * * @return The bytes for sourceAgentUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceAgentUriBytes() { + public com.google.protobuf.ByteString getSourceAgentUriBytes() { java.lang.Object ref = sourceAgentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceAgentUri_ = b; return b; } else { @@ -368,6 +417,7 @@ public java.lang.String getSourceAgentUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,8 +429,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(sourceIp_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceIp_); } @@ -424,12 +473,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, protocol_); } if (sourcePort_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, sourcePort_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, sourcePort_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, destinationPort_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, destinationPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNetworkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sourceNetworkUri_); @@ -448,29 +495,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.networkmanagement.v1beta1.EndpointInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.EndpointInfo other = (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) obj; - - if (!getSourceIp() - .equals(other.getSourceIp())) return false; - if (!getDestinationIp() - .equals(other.getDestinationIp())) return false; - if (!getProtocol() - .equals(other.getProtocol())) return false; - if (getSourcePort() - != other.getSourcePort()) return false; - if (getDestinationPort() - != other.getDestinationPort()) return false; - if (!getSourceNetworkUri() - .equals(other.getSourceNetworkUri())) return false; - if (!getDestinationNetworkUri() - .equals(other.getDestinationNetworkUri())) return false; - if (!getSourceAgentUri() - .equals(other.getSourceAgentUri())) return false; + com.google.cloud.networkmanagement.v1beta1.EndpointInfo other = + (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) obj; + + if (!getSourceIp().equals(other.getSourceIp())) return false; + if (!getDestinationIp().equals(other.getDestinationIp())) return false; + if (!getProtocol().equals(other.getProtocol())) return false; + if (getSourcePort() != other.getSourcePort()) return false; + if (getDestinationPort() != other.getDestinationPort()) return false; + if (!getSourceNetworkUri().equals(other.getSourceNetworkUri())) return false; + if (!getDestinationNetworkUri().equals(other.getDestinationNetworkUri())) return false; + if (!getSourceAgentUri().equals(other.getSourceAgentUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -504,96 +544,104 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo 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.networkmanagement.v1beta1.EndpointInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.EndpointInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.EndpointInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. The specification of the endpoints for the test.
    * EndpointInfo is derived from source and destination Endpoint and validated
@@ -602,33 +650,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.EndpointInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.EndpointInfo)
       com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.class,
+              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.EndpointInfo.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();
@@ -645,9 +692,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
     }
 
     @java.lang.Override
@@ -666,8 +713,11 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.EndpointInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.EndpointInfo result = new com.google.cloud.networkmanagement.v1beta1.EndpointInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.networkmanagement.v1beta1.EndpointInfo result =
+          new com.google.cloud.networkmanagement.v1beta1.EndpointInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -704,38 +754,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.EndpointIn
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.EndpointInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.EndpointInfo)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.EndpointInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -743,7 +794,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.EndpointInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance())
+        return this;
       if (!other.getSourceIp().isEmpty()) {
         sourceIp_ = other.sourceIp_;
         bitField0_ |= 0x00000001;
@@ -806,52 +858,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              sourceIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              destinationIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              protocol_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              sourcePort_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              destinationPort_ = input.readInt32();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              sourceNetworkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              destinationNetworkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              sourceAgentUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                sourceIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                destinationIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                protocol_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                sourcePort_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                destinationPort_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                sourceNetworkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                destinationNetworkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                sourceAgentUri_ = input.readStringRequireUtf8();
+                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) {
@@ -861,22 +922,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object sourceIp_ = "";
     /**
+     *
+     *
      * 
      * Source IP address.
      * 
* * string source_ip = 1; + * * @return The sourceIp. */ public java.lang.String getSourceIp() { java.lang.Object ref = sourceIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; @@ -885,20 +949,21 @@ public java.lang.String getSourceIp() { } } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @return The bytes for sourceIp. */ - public com.google.protobuf.ByteString - getSourceIpBytes() { + public com.google.protobuf.ByteString getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -906,28 +971,35 @@ public java.lang.String getSourceIp() { } } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @param value The sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceIp_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @return This builder for chaining. */ public Builder clearSourceIp() { @@ -937,17 +1009,21 @@ public Builder clearSourceIp() { return this; } /** + * + * *
      * Source IP address.
      * 
* * string source_ip = 1; + * * @param value The bytes for sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceIp_ = value; bitField0_ |= 0x00000001; @@ -957,18 +1033,20 @@ public Builder setSourceIpBytes( private java.lang.Object destinationIp_ = ""; /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @return The destinationIp. */ public java.lang.String getDestinationIp() { java.lang.Object ref = destinationIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; @@ -977,20 +1055,21 @@ public java.lang.String getDestinationIp() { } } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @return The bytes for destinationIp. */ - public com.google.protobuf.ByteString - getDestinationIpBytes() { + public com.google.protobuf.ByteString getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -998,28 +1077,35 @@ public java.lang.String getDestinationIp() { } } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @param value The destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationIp_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @return This builder for chaining. */ public Builder clearDestinationIp() { @@ -1029,17 +1115,21 @@ public Builder clearDestinationIp() { return this; } /** + * + * *
      * Destination IP address.
      * 
* * string destination_ip = 2; + * * @param value The bytes for destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationIp_ = value; bitField0_ |= 0x00000002; @@ -1049,18 +1139,20 @@ public Builder setDestinationIpBytes( private java.lang.Object protocol_ = ""; /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; @@ -1069,20 +1161,21 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protocol_ = b; return b; } else { @@ -1090,28 +1183,35 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } protocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -1121,17 +1221,21 @@ public Builder clearProtocol() { return this; } /** + * + * *
      * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
      * 
* * string protocol = 3; + * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000004; @@ -1139,13 +1243,16 @@ public Builder setProtocolBytes( return this; } - private int sourcePort_ ; + private int sourcePort_; /** + * + * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; + * * @return The sourcePort. */ @java.lang.Override @@ -1153,27 +1260,33 @@ public int getSourcePort() { return sourcePort_; } /** + * + * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; + * * @param value The sourcePort to set. * @return This builder for chaining. */ public Builder setSourcePort(int value) { - + sourcePort_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Source port. Only valid when protocol is TCP or UDP.
      * 
* * int32 source_port = 4; + * * @return This builder for chaining. */ public Builder clearSourcePort() { @@ -1183,13 +1296,16 @@ public Builder clearSourcePort() { return this; } - private int destinationPort_ ; + private int destinationPort_; /** + * + * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; + * * @return The destinationPort. */ @java.lang.Override @@ -1197,27 +1313,33 @@ public int getDestinationPort() { return destinationPort_; } /** + * + * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; + * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Destination port. Only valid when protocol is TCP or UDP.
      * 
* * int32 destination_port = 5; + * * @return This builder for chaining. */ public Builder clearDestinationPort() { @@ -1229,18 +1351,20 @@ public Builder clearDestinationPort() { private java.lang.Object sourceNetworkUri_ = ""; /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @return The sourceNetworkUri. */ public java.lang.String getSourceNetworkUri() { java.lang.Object ref = sourceNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNetworkUri_ = s; return s; @@ -1249,20 +1373,21 @@ public java.lang.String getSourceNetworkUri() { } } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @return The bytes for sourceNetworkUri. */ - public com.google.protobuf.ByteString - getSourceNetworkUriBytes() { + public com.google.protobuf.ByteString getSourceNetworkUriBytes() { java.lang.Object ref = sourceNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNetworkUri_ = b; return b; } else { @@ -1270,28 +1395,35 @@ public java.lang.String getSourceNetworkUri() { } } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @param value The sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceNetworkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @return This builder for chaining. */ public Builder clearSourceNetworkUri() { @@ -1301,17 +1433,21 @@ public Builder clearSourceNetworkUri() { return this; } /** + * + * *
      * URI of the network where this packet originates from.
      * 
* * string source_network_uri = 6; + * * @param value The bytes for sourceNetworkUri to set. * @return This builder for chaining. */ - public Builder setSourceNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceNetworkUri_ = value; bitField0_ |= 0x00000020; @@ -1321,18 +1457,20 @@ public Builder setSourceNetworkUriBytes( private java.lang.Object destinationNetworkUri_ = ""; /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @return The destinationNetworkUri. */ public java.lang.String getDestinationNetworkUri() { java.lang.Object ref = destinationNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationNetworkUri_ = s; return s; @@ -1341,20 +1479,21 @@ public java.lang.String getDestinationNetworkUri() { } } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @return The bytes for destinationNetworkUri. */ - public com.google.protobuf.ByteString - getDestinationNetworkUriBytes() { + public com.google.protobuf.ByteString getDestinationNetworkUriBytes() { java.lang.Object ref = destinationNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationNetworkUri_ = b; return b; } else { @@ -1362,28 +1501,35 @@ public java.lang.String getDestinationNetworkUri() { } } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @param value The destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationNetworkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @return This builder for chaining. */ public Builder clearDestinationNetworkUri() { @@ -1393,17 +1539,21 @@ public Builder clearDestinationNetworkUri() { return this; } /** + * + * *
      * URI of the network where this packet is sent to.
      * 
* * string destination_network_uri = 7; + * * @param value The bytes for destinationNetworkUri to set. * @return This builder for chaining. */ - public Builder setDestinationNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationNetworkUri_ = value; bitField0_ |= 0x00000040; @@ -1413,18 +1563,20 @@ public Builder setDestinationNetworkUriBytes( private java.lang.Object sourceAgentUri_ = ""; /** + * + * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; + * * @return The sourceAgentUri. */ public java.lang.String getSourceAgentUri() { java.lang.Object ref = sourceAgentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceAgentUri_ = s; return s; @@ -1433,20 +1585,21 @@ public java.lang.String getSourceAgentUri() { } } /** + * + * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; + * * @return The bytes for sourceAgentUri. */ - public com.google.protobuf.ByteString - getSourceAgentUriBytes() { + public com.google.protobuf.ByteString getSourceAgentUriBytes() { java.lang.Object ref = sourceAgentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceAgentUri_ = b; return b; } else { @@ -1454,28 +1607,35 @@ public java.lang.String getSourceAgentUri() { } } /** + * + * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; + * * @param value The sourceAgentUri to set. * @return This builder for chaining. */ - public Builder setSourceAgentUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceAgentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceAgentUri_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; + * * @return This builder for chaining. */ public Builder clearSourceAgentUri() { @@ -1485,26 +1645,30 @@ public Builder clearSourceAgentUri() { return this; } /** + * + * *
      * URI of the source telemetry agent this packet originates from.
      * 
* * string source_agent_uri = 8; + * * @param value The bytes for sourceAgentUri to set. * @return This builder for chaining. */ - public Builder setSourceAgentUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceAgentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceAgentUri_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1514,12 +1678,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.EndpointInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.EndpointInfo) private static final com.google.cloud.networkmanagement.v1beta1.EndpointInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.EndpointInfo(); } @@ -1528,27 +1692,27 @@ public static com.google.cloud.networkmanagement.v1beta1.EndpointInfo getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EndpointInfo 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 EndpointInfo 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; @@ -1563,6 +1727,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java index c326c8fdaa98..f45420078fc0 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointInfoOrBuilder.java @@ -1,149 +1,201 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface EndpointInfoOrBuilder extends +public interface EndpointInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.EndpointInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The sourceIp. */ java.lang.String getSourceIp(); /** + * + * *
    * Source IP address.
    * 
* * string source_ip = 1; + * * @return The bytes for sourceIp. */ - com.google.protobuf.ByteString - getSourceIpBytes(); + com.google.protobuf.ByteString getSourceIpBytes(); /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The destinationIp. */ java.lang.String getDestinationIp(); /** + * + * *
    * Destination IP address.
    * 
* * string destination_ip = 2; + * * @return The bytes for destinationIp. */ - com.google.protobuf.ByteString - getDestinationIpBytes(); + com.google.protobuf.ByteString getDestinationIpBytes(); /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The protocol. */ java.lang.String getProtocol(); /** + * + * *
    * IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    * 
* * string protocol = 3; + * * @return The bytes for protocol. */ - com.google.protobuf.ByteString - getProtocolBytes(); + com.google.protobuf.ByteString getProtocolBytes(); /** + * + * *
    * Source port. Only valid when protocol is TCP or UDP.
    * 
* * int32 source_port = 4; + * * @return The sourcePort. */ int getSourcePort(); /** + * + * *
    * Destination port. Only valid when protocol is TCP or UDP.
    * 
* * int32 destination_port = 5; + * * @return The destinationPort. */ int getDestinationPort(); /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The sourceNetworkUri. */ java.lang.String getSourceNetworkUri(); /** + * + * *
    * URI of the network where this packet originates from.
    * 
* * string source_network_uri = 6; + * * @return The bytes for sourceNetworkUri. */ - com.google.protobuf.ByteString - getSourceNetworkUriBytes(); + com.google.protobuf.ByteString getSourceNetworkUriBytes(); /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The destinationNetworkUri. */ java.lang.String getDestinationNetworkUri(); /** + * + * *
    * URI of the network where this packet is sent to.
    * 
* * string destination_network_uri = 7; + * * @return The bytes for destinationNetworkUri. */ - com.google.protobuf.ByteString - getDestinationNetworkUriBytes(); + com.google.protobuf.ByteString getDestinationNetworkUriBytes(); /** + * + * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; + * * @return The sourceAgentUri. */ java.lang.String getSourceAgentUri(); /** + * + * *
    * URI of the source telemetry agent this packet originates from.
    * 
* * string source_agent_uri = 8; + * * @return The bytes for sourceAgentUri. */ - com.google.protobuf.ByteString - getSourceAgentUriBytes(); + com.google.protobuf.ByteString getSourceAgentUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java similarity index 77% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java index 11d31808bd8e..ba1c27f2674c 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/EndpointOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface EndpointOrBuilder extends +public interface EndpointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Endpoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -16,10 +34,13 @@ public interface EndpointOrBuilder extends
    * 
* * string ip_address = 1; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * The IP address of the endpoint, which can be an external or internal IP.
    * An IPv6 address is only allowed when the test's destination is a
@@ -28,132 +49,172 @@ public interface EndpointOrBuilder extends
    * 
* * string ip_address = 1; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * The IP protocol port of the endpoint.
    * Only applicable when protocol is TCP or UDP.
    * 
* * int32 port = 2; + * * @return The port. */ int getPort(); /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * A Compute Engine instance URI.
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The gkeMasterCluster. */ java.lang.String getGkeMasterCluster(); /** + * + * *
    * A cluster URI for [Google Kubernetes Engine
    * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
    * 
* * string gke_master_cluster = 7; + * * @return The bytes for gkeMasterCluster. */ - com.google.protobuf.ByteString - getGkeMasterClusterBytes(); + com.google.protobuf.ByteString getGkeMasterClusterBytes(); /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The cloudSqlInstance. */ java.lang.String getCloudSqlInstance(); /** + * + * *
    * A [Cloud SQL](https://cloud.google.com/sql) instance URI.
    * 
* * string cloud_sql_instance = 8; + * * @return The bytes for cloudSqlInstance. */ - com.google.protobuf.ByteString - getCloudSqlInstanceBytes(); + com.google.protobuf.ByteString getCloudSqlInstanceBytes(); /** + * + * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * * @return Whether the cloudFunction field is set. */ boolean hasCloudFunction(); /** + * + * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * * @return The cloudFunction. */ com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint getCloudFunction(); /** + * + * *
    * A [Cloud function](https://cloud.google.com/functions).
    * 
* - * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * + * .google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10; + * */ - com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpointOrBuilder + getCloudFunctionOrBuilder(); /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * A Compute Engine network URI.
    * 
* * string network = 4; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -161,10 +222,13 @@ public interface EndpointOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return The enum numeric value on the wire for networkType. */ int getNetworkTypeValue(); /** + * + * *
    * Type of the network where the endpoint is located.
    * Applicable only to source endpoint, as destination network type can be
@@ -172,11 +236,14 @@ public interface EndpointOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5; + * * @return The networkType. */ com.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType getNetworkType(); /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -190,10 +257,13 @@ public interface EndpointOrBuilder extends
    * 
* * string project_id = 6; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID where the endpoint is located.
    * The Project ID can be derived from the URI if you provide a VM instance or
@@ -207,8 +277,8 @@ public interface EndpointOrBuilder extends
    * 
* * string project_id = 6; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java similarity index 73% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java index 95b632179129..44d4cf40548f 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a VPC firewall rule, an implied
  * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.FirewallInfo}
  */
-public final class FirewallInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FirewallInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.FirewallInfo)
     FirewallInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FirewallInfo.newBuilder() to construct.
   private FirewallInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FirewallInfo() {
     displayName_ = "";
     uri_ = "";
@@ -34,39 +52,43 @@ private FirewallInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FirewallInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class,
+            com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The firewall rule's type.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType} */ - public enum FirewallRuleType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FirewallRuleType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type.
      * 
@@ -75,6 +97,8 @@ public enum FirewallRuleType */ FIREWALL_RULE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -85,6 +109,8 @@ public enum FirewallRuleType
      */
     HIERARCHICAL_FIREWALL_POLICY_RULE(1),
     /**
+     *
+     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -95,6 +121,8 @@ public enum FirewallRuleType
      */
     VPC_FIREWALL_RULE(2),
     /**
+     *
+     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -105,6 +133,8 @@ public enum FirewallRuleType
      */
     IMPLIED_VPC_FIREWALL_RULE(3),
     /**
+     *
+     *
      * 
      * Implicit firewall rules that are managed by serverless VPC access to
      * allow ingress access. They are not visible in the Google Cloud console.
@@ -119,6 +149,8 @@ public enum FirewallRuleType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified type.
      * 
@@ -127,6 +159,8 @@ public enum FirewallRuleType */ public static final int FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Hierarchical firewall policy rule. For details, see
      * [Hierarchical firewall policies
@@ -137,6 +171,8 @@ public enum FirewallRuleType
      */
     public static final int HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE = 1;
     /**
+     *
+     *
      * 
      * VPC firewall rule. For details, see
      * [VPC firewall rules
@@ -147,6 +183,8 @@ public enum FirewallRuleType
      */
     public static final int VPC_FIREWALL_RULE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Implied VPC firewall rule. For details, see
      * [Implied
@@ -157,6 +195,8 @@ public enum FirewallRuleType
      */
     public static final int IMPLIED_VPC_FIREWALL_RULE_VALUE = 3;
     /**
+     *
+     *
      * 
      * Implicit firewall rules that are managed by serverless VPC access to
      * allow ingress access. They are not visible in the Google Cloud console.
@@ -168,7 +208,6 @@ public enum FirewallRuleType
      */
     public static final int SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -193,42 +232,49 @@ public static FirewallRuleType valueOf(int value) {
      */
     public static FirewallRuleType forNumber(int value) {
       switch (value) {
-        case 0: return FIREWALL_RULE_TYPE_UNSPECIFIED;
-        case 1: return HIERARCHICAL_FIREWALL_POLICY_RULE;
-        case 2: return VPC_FIREWALL_RULE;
-        case 3: return IMPLIED_VPC_FIREWALL_RULE;
-        case 4: return SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE;
-        default: return null;
+        case 0:
+          return FIREWALL_RULE_TYPE_UNSPECIFIED;
+        case 1:
+          return HIERARCHICAL_FIREWALL_POLICY_RULE;
+        case 2:
+          return VPC_FIREWALL_RULE;
+        case 3:
+          return IMPLIED_VPC_FIREWALL_RULE;
+        case 4:
+          return SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE;
+        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<
-        FirewallRuleType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FirewallRuleType findValueByNumber(int number) {
-              return FirewallRuleType.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 FirewallRuleType findValueByNumber(int number) {
+                return FirewallRuleType.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.networkmanagement.v1beta1.FirewallInfo.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final FirewallRuleType[] VALUES = values();
@@ -236,8 +282,7 @@ public FirewallRuleType findValueByNumber(int number) {
     public static FirewallRuleType 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;
@@ -255,15 +300,19 @@ private FirewallRuleType(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -272,30 +321,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -304,15 +353,19 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -321,30 +374,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -353,14 +406,18 @@ public java.lang.String getUri() { } public static final int DIRECTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object direction_ = ""; /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The direction. */ @java.lang.Override @@ -369,29 +426,29 @@ public java.lang.String getDirection() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; } } /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The bytes for direction. */ @java.lang.Override - public com.google.protobuf.ByteString - getDirectionBytes() { + public com.google.protobuf.ByteString getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); direction_ = b; return b; } else { @@ -400,14 +457,18 @@ public java.lang.String getDirection() { } public static final int ACTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The action. */ @java.lang.Override @@ -416,29 +477,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -449,11 +510,14 @@ public java.lang.String getAction() { public static final int PRIORITY_FIELD_NUMBER = 5; private int priority_ = 0; /** + * + * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; + * * @return The priority. */ @java.lang.Override @@ -462,15 +526,19 @@ public int getPriority() { } public static final int NETWORK_URI_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The networkUri. */ @java.lang.Override @@ -479,30 +547,30 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -511,40 +579,49 @@ public java.lang.String getNetworkUri() { } public static final int TARGET_TAGS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetTags_; /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList - getTargetTagsList() { + public com.google.protobuf.ProtocolStringList getTargetTagsList() { return targetTags_; } /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -552,52 +629,63 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString - getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } public static final int TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList targetServiceAccounts_; /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList - getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { return targetServiceAccounts_; } /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -605,29 +693,35 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString - getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } public static final int POLICY_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object policy_ = ""; /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The policy. */ @java.lang.Override @@ -636,30 +730,30 @@ public java.lang.String getPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; } } /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The bytes for policy. */ @java.lang.Override - public com.google.protobuf.ByteString - getPolicyBytes() { + public com.google.protobuf.ByteString getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policy_ = b; return b; } else { @@ -670,30 +764,48 @@ public java.lang.String getPolicy() { public static final int FIREWALL_RULE_TYPE_FIELD_NUMBER = 10; private int firewallRuleType_ = 0; /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override public int getFirewallRuleTypeValue() { + @java.lang.Override + public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The firewallRuleType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType getFirewallRuleType() { - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType + getFirewallRuleType() { + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber( + firewallRuleType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -705,8 +817,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -729,12 +840,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 7, targetTags_.getRaw(i)); } for (int i = 0; i < targetServiceAccounts_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, targetServiceAccounts_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 8, targetServiceAccounts_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, policy_); } - if (firewallRuleType_ != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { + if (firewallRuleType_ + != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType + .FIREWALL_RULE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, firewallRuleType_); } getUnknownFields().writeTo(output); @@ -759,8 +874,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, priority_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, networkUri_); @@ -784,9 +898,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, policy_); } - if (firewallRuleType_ != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.FIREWALL_RULE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, firewallRuleType_); + if (firewallRuleType_ + != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType + .FIREWALL_RULE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, firewallRuleType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -796,31 +912,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.networkmanagement.v1beta1.FirewallInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.FirewallInfo other = (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDirection() - .equals(other.getDirection())) return false; - if (!getAction() - .equals(other.getAction())) return false; - if (getPriority() - != other.getPriority()) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getTargetTagsList() - .equals(other.getTargetTagsList())) return false; - if (!getTargetServiceAccountsList() - .equals(other.getTargetServiceAccountsList())) return false; - if (!getPolicy() - .equals(other.getPolicy())) return false; + com.google.cloud.networkmanagement.v1beta1.FirewallInfo other = + (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDirection().equals(other.getDirection())) return false; + if (!getAction().equals(other.getAction())) return false; + if (getPriority() != other.getPriority()) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getTargetTagsList().equals(other.getTargetTagsList())) return false; + if (!getTargetServiceAccountsList().equals(other.getTargetServiceAccountsList())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; if (firewallRuleType_ != other.firewallRuleType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -863,96 +971,104 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo 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.networkmanagement.v1beta1.FirewallInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.FirewallInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.FirewallInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a VPC firewall rule, an implied
    * VPC firewall rule, or a hierarchical firewall policy rule.
@@ -960,33 +1076,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.FirewallInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.FirewallInfo)
       com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.FirewallInfo.class,
+              com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.FirewallInfo.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();
@@ -1007,9 +1122,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
     }
 
     @java.lang.Override
@@ -1028,14 +1143,18 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.FirewallInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.FirewallInfo result = new com.google.cloud.networkmanagement.v1beta1.FirewallInfo(this);
+      com.google.cloud.networkmanagement.v1beta1.FirewallInfo result =
+          new com.google.cloud.networkmanagement.v1beta1.FirewallInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.FirewallInfo result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.networkmanagement.v1beta1.FirewallInfo result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         targetTags_ = targetTags_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -1080,38 +1199,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.FirewallIn
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.FirewallInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.FirewallInfo)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.FirewallInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1119,7 +1239,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.FirewallInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -1202,64 +1323,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              uri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              direction_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              action_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              priority_ = input.readInt32();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              networkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTargetTagsIsMutable();
-              targetTags_.add(s);
-              break;
-            } // case 58
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTargetServiceAccountsIsMutable();
-              targetServiceAccounts_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              policy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 80: {
-              firewallRuleType_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 80
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                uri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                direction_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                action_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                priority_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                networkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTargetTagsIsMutable();
+                targetTags_.add(s);
+                break;
+              } // case 58
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTargetServiceAccountsIsMutable();
+                targetServiceAccounts_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                policy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 80:
+              {
+                firewallRuleType_ = 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) {
@@ -1269,23 +1401,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1294,21 +1429,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1316,30 +1452,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1349,18 +1492,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name of the VPC firewall rule. This field is not applicable
      * to hierarchical firewall policy rules.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1370,19 +1517,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1391,21 +1540,22 @@ public java.lang.String getUri() { } } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1413,30 +1563,37 @@ public java.lang.String getUri() { } } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1446,18 +1603,22 @@ public Builder clearUri() { return this; } /** + * + * *
      * The URI of the VPC firewall rule. This field is not applicable to
      * implied firewall rules or hierarchical firewall policy rules.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1467,18 +1628,20 @@ public Builder setUriBytes( private java.lang.Object direction_ = ""; /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @return The direction. */ public java.lang.String getDirection() { java.lang.Object ref = direction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; @@ -1487,20 +1650,21 @@ public java.lang.String getDirection() { } } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @return The bytes for direction. */ - public com.google.protobuf.ByteString - getDirectionBytes() { + public com.google.protobuf.ByteString getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); direction_ = b; return b; } else { @@ -1508,28 +1672,35 @@ public java.lang.String getDirection() { } } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @param value The direction to set. * @return This builder for chaining. */ - public Builder setDirection( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirection(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } direction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @return This builder for chaining. */ public Builder clearDirection() { @@ -1539,17 +1710,21 @@ public Builder clearDirection() { return this; } /** + * + * *
      * Possible values: INGRESS, EGRESS
      * 
* * string direction = 3; + * * @param value The bytes for direction to set. * @return This builder for chaining. */ - public Builder setDirectionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirectionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); direction_ = value; bitField0_ |= 0x00000004; @@ -1559,18 +1734,20 @@ public Builder setDirectionBytes( private java.lang.Object action_ = ""; /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -1579,20 +1756,21 @@ public java.lang.String getAction() { } } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @return The bytes for action. */ - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -1600,28 +1778,35 @@ public java.lang.String getAction() { } } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @return This builder for chaining. */ public Builder clearAction() { @@ -1631,17 +1816,21 @@ public Builder clearAction() { return this; } /** + * + * *
      * Possible values: ALLOW, DENY
      * 
* * string action = 4; + * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; @@ -1649,13 +1838,16 @@ public Builder setActionBytes( return this; } - private int priority_ ; + private int priority_; /** + * + * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; + * * @return The priority. */ @java.lang.Override @@ -1663,27 +1855,33 @@ public int getPriority() { return priority_; } /** + * + * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; + * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The priority of the firewall rule.
      * 
* * int32 priority = 5; + * * @return This builder for chaining. */ public Builder clearPriority() { @@ -1695,19 +1893,21 @@ public Builder clearPriority() { private java.lang.Object networkUri_ = ""; /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1716,21 +1916,22 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1738,30 +1939,37 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1771,18 +1979,22 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * The URI of the VPC network that the firewall rule is associated with.
      * This field is not applicable to hierarchical firewall policy rules.
      * 
* * string network_uri = 6; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000020; @@ -1790,45 +2002,55 @@ public Builder setNetworkUriBytes( return this; } - private com.google.protobuf.LazyStringList targetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList targetTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTargetTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { targetTags_ = new com.google.protobuf.LazyStringArrayList(targetTags_); bitField0_ |= 0x00000040; - } + } } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @return A list containing the targetTags. */ - public com.google.protobuf.ProtocolStringList - getTargetTagsList() { + public com.google.protobuf.ProtocolStringList getTargetTagsList() { return targetTags_.getUnmodifiableView(); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @return The count of targetTags. */ public int getTargetTagsCount() { return targetTags_.size(); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param index The index of the element to return. * @return The targetTags at the given index. */ @@ -1836,81 +2058,95 @@ public java.lang.String getTargetTags(int index) { return targetTags_.get(index); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - public com.google.protobuf.ByteString - getTargetTagsBytes(int index) { + public com.google.protobuf.ByteString getTargetTagsBytes(int index) { return targetTags_.getByteString(index); } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param index The index to set the value at. * @param value The targetTags to set. * @return This builder for chaining. */ - public Builder setTargetTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetTagsIsMutable(); targetTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param value The targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetTagsIsMutable(); targetTags_.add(value); onChanged(); return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param values The targetTags to add. * @return This builder for chaining. */ - public Builder addAllTargetTags( - java.lang.Iterable values) { + public Builder addAllTargetTags(java.lang.Iterable values) { ensureTargetTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetTags_); onChanged(); return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @return This builder for chaining. */ public Builder clearTargetTags() { @@ -1920,18 +2156,22 @@ public Builder clearTargetTags() { return this; } /** + * + * *
      * The target tags defined by the VPC firewall rule. This field is not
      * applicable to hierarchical firewall policy rules.
      * 
* * repeated string target_tags = 7; + * * @param value The bytes of the targetTags to add. * @return This builder for chaining. */ - public Builder addTargetTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTargetTagsIsMutable(); targetTags_.add(value); @@ -1939,42 +2179,53 @@ public Builder addTargetTagsBytes( return this; } - private com.google.protobuf.LazyStringList targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList targetServiceAccounts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTargetServiceAccountsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - targetServiceAccounts_ = new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); + targetServiceAccounts_ = + new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); bitField0_ |= 0x00000080; - } + } } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @return A list containing the targetServiceAccounts. */ - public com.google.protobuf.ProtocolStringList - getTargetServiceAccountsList() { + public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList() { return targetServiceAccounts_.getUnmodifiableView(); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @return The count of targetServiceAccounts. */ public int getTargetServiceAccountsCount() { return targetServiceAccounts_.size(); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ @@ -1982,76 +2233,90 @@ public java.lang.String getTargetServiceAccounts(int index) { return targetServiceAccounts_.get(index); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - public com.google.protobuf.ByteString - getTargetServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) { return targetServiceAccounts_.getByteString(index); } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param index The index to set the value at. * @param value The targetServiceAccounts to set. * @return This builder for chaining. */ - public Builder setTargetServiceAccounts( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetServiceAccounts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.set(index, value); onChanged(); return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param value The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccounts( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetServiceAccounts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); onChanged(); return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param values The targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addAllTargetServiceAccounts( - java.lang.Iterable values) { + public Builder addAllTargetServiceAccounts(java.lang.Iterable values) { ensureTargetServiceAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetServiceAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetServiceAccounts_); onChanged(); return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @return This builder for chaining. */ public Builder clearTargetServiceAccounts() { @@ -2061,17 +2326,21 @@ public Builder clearTargetServiceAccounts() { return this; } /** + * + * *
      * The target service accounts specified by the firewall rule.
      * 
* * repeated string target_service_accounts = 8; + * * @param value The bytes of the targetServiceAccounts to add. * @return This builder for chaining. */ - public Builder addTargetServiceAccountsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addTargetServiceAccountsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.add(value); @@ -2081,19 +2350,21 @@ public Builder addTargetServiceAccountsBytes( private java.lang.Object policy_ = ""; /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @return The policy. */ public java.lang.String getPolicy() { java.lang.Object ref = policy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policy_ = s; return s; @@ -2102,21 +2373,22 @@ public java.lang.String getPolicy() { } } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @return The bytes for policy. */ - public com.google.protobuf.ByteString - getPolicyBytes() { + public com.google.protobuf.ByteString getPolicyBytes() { java.lang.Object ref = policy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policy_ = b; return b; } else { @@ -2124,30 +2396,37 @@ public java.lang.String getPolicy() { } } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @param value The policy to set. * @return This builder for chaining. */ - public Builder setPolicy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } policy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @return This builder for chaining. */ public Builder clearPolicy() { @@ -2157,18 +2436,22 @@ public Builder clearPolicy() { return this; } /** + * + * *
      * The hierarchical firewall policy that this rule is associated with.
      * This field is not applicable to VPC firewall rules.
      * 
* * string policy = 9; + * * @param value The bytes for policy to set. * @return This builder for chaining. */ - public Builder setPolicyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); policy_ = value; bitField0_ |= 0x00000100; @@ -2178,22 +2461,33 @@ public Builder setPolicyBytes( private int firewallRuleType_ = 0; /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The enum numeric value on the wire for firewallRuleType. */ - @java.lang.Override public int getFirewallRuleTypeValue() { + @java.lang.Override + public int getFirewallRuleTypeValue() { return firewallRuleType_; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @param value The enum numeric value on the wire for firewallRuleType to set. * @return This builder for chaining. */ @@ -2204,28 +2498,44 @@ public Builder setFirewallRuleTypeValue(int value) { return this; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The firewallRuleType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType getFirewallRuleType() { - com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber(firewallRuleType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType + getFirewallRuleType() { + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType result = + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.forNumber( + firewallRuleType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType.UNRECOGNIZED + : result; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @param value The firewallRuleType to set. * @return This builder for chaining. */ - public Builder setFirewallRuleType(com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType value) { + public Builder setFirewallRuleType( + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType value) { if (value == null) { throw new NullPointerException(); } @@ -2235,11 +2545,16 @@ public Builder setFirewallRuleType(com.google.cloud.networkmanagement.v1beta1.Fi return this; } /** + * + * *
      * The firewall rule's type.
      * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return This builder for chaining. */ public Builder clearFirewallRuleType() { @@ -2248,9 +2563,9 @@ public Builder clearFirewallRuleType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2260,12 +2575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.FirewallInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.FirewallInfo) private static final com.google.cloud.networkmanagement.v1beta1.FirewallInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.FirewallInfo(); } @@ -2274,27 +2589,27 @@ public static com.google.cloud.networkmanagement.v1beta1.FirewallInfo getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirewallInfo 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 FirewallInfo 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; @@ -2309,6 +2624,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java similarity index 76% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java index 95b88d9315db..934c59157101 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/FirewallInfoOrBuilder.java @@ -1,251 +1,330 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface FirewallInfoOrBuilder extends +public interface FirewallInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.FirewallInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the VPC firewall rule. This field is not applicable
    * to hierarchical firewall policy rules.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * The URI of the VPC firewall rule. This field is not applicable to
    * implied firewall rules or hierarchical firewall policy rules.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The direction. */ java.lang.String getDirection(); /** + * + * *
    * Possible values: INGRESS, EGRESS
    * 
* * string direction = 3; + * * @return The bytes for direction. */ - com.google.protobuf.ByteString - getDirectionBytes(); + com.google.protobuf.ByteString getDirectionBytes(); /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The action. */ java.lang.String getAction(); /** + * + * *
    * Possible values: ALLOW, DENY
    * 
* * string action = 4; + * * @return The bytes for action. */ - com.google.protobuf.ByteString - getActionBytes(); + com.google.protobuf.ByteString getActionBytes(); /** + * + * *
    * The priority of the firewall rule.
    * 
* * int32 priority = 5; + * * @return The priority. */ int getPriority(); /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * The URI of the VPC network that the firewall rule is associated with.
    * This field is not applicable to hierarchical firewall policy rules.
    * 
* * string network_uri = 6; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return A list containing the targetTags. */ - java.util.List - getTargetTagsList(); + java.util.List getTargetTagsList(); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @return The count of targetTags. */ int getTargetTagsCount(); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the element to return. * @return The targetTags at the given index. */ java.lang.String getTargetTags(int index); /** + * + * *
    * The target tags defined by the VPC firewall rule. This field is not
    * applicable to hierarchical firewall policy rules.
    * 
* * repeated string target_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the targetTags at the given index. */ - com.google.protobuf.ByteString - getTargetTagsBytes(int index); + com.google.protobuf.ByteString getTargetTagsBytes(int index); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return A list containing the targetServiceAccounts. */ - java.util.List - getTargetServiceAccountsList(); + java.util.List getTargetServiceAccountsList(); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @return The count of targetServiceAccounts. */ int getTargetServiceAccountsCount(); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the element to return. * @return The targetServiceAccounts at the given index. */ java.lang.String getTargetServiceAccounts(int index); /** + * + * *
    * The target service accounts specified by the firewall rule.
    * 
* * repeated string target_service_accounts = 8; + * * @param index The index of the value to return. * @return The bytes of the targetServiceAccounts at the given index. */ - com.google.protobuf.ByteString - getTargetServiceAccountsBytes(int index); + com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index); /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The policy. */ java.lang.String getPolicy(); /** + * + * *
    * The hierarchical firewall policy that this rule is associated with.
    * This field is not applicable to VPC firewall rules.
    * 
* * string policy = 9; + * * @return The bytes for policy. */ - com.google.protobuf.ByteString - getPolicyBytes(); + com.google.protobuf.ByteString getPolicyBytes(); /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The enum numeric value on the wire for firewallRuleType. */ int getFirewallRuleTypeValue(); /** + * + * *
    * The firewall rule's type.
    * 
* - * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * .google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10; + * + * * @return The firewallRuleType. */ com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType getFirewallRuleType(); diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java similarity index 69% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java index c5efc0f2b471..f73db8c6ef9c 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Details of the final state "forward" and associated resource.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardInfo} */ -public final class ForwardInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ForwardInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ForwardInfo) ForwardInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ForwardInfo.newBuilder() to construct. private ForwardInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ForwardInfo() { target_ = 0; resourceUri_ = ""; @@ -26,39 +44,43 @@ private ForwardInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ForwardInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); } /** + * + * *
    * Forward target types.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ForwardInfo.Target} */ - public enum Target - implements com.google.protobuf.ProtocolMessageEnum { + public enum Target implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Target not specified.
      * 
@@ -67,6 +89,8 @@ public enum Target */ TARGET_UNSPECIFIED(0), /** + * + * *
      * Forwarded to a VPC peering network.
      * 
@@ -75,6 +99,8 @@ public enum Target */ PEERING_VPC(1), /** + * + * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -83,6 +109,8 @@ public enum Target */ VPN_GATEWAY(2), /** + * + * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -91,6 +119,8 @@ public enum Target */ INTERCONNECT(3), /** + * + * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -99,6 +129,8 @@ public enum Target */ GKE_MASTER(4), /** + * + * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -107,6 +139,8 @@ public enum Target */ IMPORTED_CUSTOM_ROUTE_NEXT_HOP(5), /** + * + * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -118,6 +152,8 @@ public enum Target ; /** + * + * *
      * Target not specified.
      * 
@@ -126,6 +162,8 @@ public enum Target */ public static final int TARGET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Forwarded to a VPC peering network.
      * 
@@ -134,6 +172,8 @@ public enum Target */ public static final int PEERING_VPC_VALUE = 1; /** + * + * *
      * Forwarded to a Cloud VPN gateway.
      * 
@@ -142,6 +182,8 @@ public enum Target */ public static final int VPN_GATEWAY_VALUE = 2; /** + * + * *
      * Forwarded to a Cloud Interconnect connection.
      * 
@@ -150,6 +192,8 @@ public enum Target */ public static final int INTERCONNECT_VALUE = 3; /** + * + * *
      * Forwarded to a Google Kubernetes Engine Container cluster master.
      * 
@@ -158,6 +202,8 @@ public enum Target */ public static final int GKE_MASTER_VALUE = 4; /** + * + * *
      * Forwarded to the next hop of a custom route imported from a peering VPC.
      * 
@@ -166,6 +212,8 @@ public enum Target */ public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE = 5; /** + * + * *
      * Forwarded to a Cloud SQL instance.
      * 
@@ -174,7 +222,6 @@ public enum Target */ public static final int CLOUD_SQL_INSTANCE_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -199,53 +246,59 @@ public static Target valueOf(int value) { */ public static Target forNumber(int value) { switch (value) { - case 0: return TARGET_UNSPECIFIED; - case 1: return PEERING_VPC; - case 2: return VPN_GATEWAY; - case 3: return INTERCONNECT; - case 4: return GKE_MASTER; - case 5: return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; - case 6: return CLOUD_SQL_INSTANCE; - default: return null; + case 0: + return TARGET_UNSPECIFIED; + case 1: + return PEERING_VPC; + case 2: + return VPN_GATEWAY; + case 3: + return INTERCONNECT; + case 4: + return GKE_MASTER; + case 5: + return IMPORTED_CUSTOM_ROUTE_NEXT_HOP; + case 6: + return CLOUD_SQL_INSTANCE; + 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< - Target> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Target findValueByNumber(int number) { - return Target.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 Target findValueByNumber(int number) { + return Target.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.networkmanagement.v1beta1.ForwardInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Target[] VALUES = values(); - public static Target valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Target 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; @@ -265,38 +318,53 @@ private Target(int value) { public static final int TARGET_FIELD_NUMBER = 1; private int target_ = 0; /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return The target. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget() { + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED + : result; } public static final int RESOURCE_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUri_ = ""; /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ @java.lang.Override @@ -305,29 +373,29 @@ public java.lang.String getResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; } } /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -336,6 +404,7 @@ public java.lang.String getResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,9 +416,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (target_ != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (target_ + != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { output.writeEnum(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { @@ -364,9 +434,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (target_ != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, target_); + if (target_ + != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.TARGET_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, target_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceUri_); @@ -379,16 +450,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.networkmanagement.v1beta1.ForwardInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ForwardInfo other = (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) obj; + com.google.cloud.networkmanagement.v1beta1.ForwardInfo other = + (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) obj; if (target_ != other.target_) return false; - if (!getResourceUri() - .equals(other.getResourceUri())) return false; + if (!getResourceUri().equals(other.getResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,129 +481,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo 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.networkmanagement.v1beta1.ForwardInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ForwardInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ForwardInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the final state "forward" and associated resource.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ForwardInfo) com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.class, + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ForwardInfo.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(); @@ -543,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor; } @java.lang.Override @@ -564,8 +642,11 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ForwardInfo result = new com.google.cloud.networkmanagement.v1beta1.ForwardInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.ForwardInfo result = + new com.google.cloud.networkmanagement.v1beta1.ForwardInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -584,38 +665,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ForwardInf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ForwardInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardInfo) other); } else { super.mergeFrom(other); return this; @@ -623,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ForwardInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) + return this; if (other.target_ != 0) { setTargetValue(other.getTargetValue()); } @@ -658,22 +741,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - target_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - resourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + target_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + resourceUri_ = 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) { @@ -683,26 +769,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int target_ = 0; /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ - @java.lang.Override public int getTargetValue() { + @java.lang.Override + public int getTargetValue() { return target_; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @param value The enum numeric value on the wire for target to set. * @return This builder for chaining. */ @@ -713,24 +807,33 @@ public Builder setTargetValue(int value) { return this; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return The target. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget() { - com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target result = + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.forNumber(target_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target.UNRECOGNIZED + : result; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @param value The target to set. * @return This builder for chaining. */ @@ -744,11 +847,14 @@ public Builder setTarget(com.google.cloud.networkmanagement.v1beta1.ForwardInfo. return this; } /** + * + * *
      * Target type where this packet is forwarded to.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -760,18 +866,20 @@ public Builder clearTarget() { private java.lang.Object resourceUri_ = ""; /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @return The resourceUri. */ public java.lang.String getResourceUri() { java.lang.Object ref = resourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUri_ = s; return s; @@ -780,20 +888,21 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - public com.google.protobuf.ByteString - getResourceUriBytes() { + public com.google.protobuf.ByteString getResourceUriBytes() { java.lang.Object ref = resourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUri_ = b; return b; } else { @@ -801,28 +910,35 @@ public java.lang.String getResourceUri() { } } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @param value The resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @return This builder for chaining. */ public Builder clearResourceUri() { @@ -832,26 +948,30 @@ public Builder clearResourceUri() { return this; } /** + * + * *
      * URI of the resource that the packet is forwarded to.
      * 
* * string resource_uri = 2; + * * @param value The bytes for resourceUri to set. * @return This builder for chaining. */ - public Builder setResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUri_ = 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); } @@ -861,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ForwardInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ForwardInfo) private static final com.google.cloud.networkmanagement.v1beta1.ForwardInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ForwardInfo(); } @@ -875,27 +995,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ForwardInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardInfo 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 ForwardInfo 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; @@ -910,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java index 9344928c5e71..5675787e36b0 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardInfoOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ForwardInfoOrBuilder extends +public interface ForwardInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ForwardInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return The enum numeric value on the wire for target. */ int getTargetValue(); /** + * + * *
    * Target type where this packet is forwarded to.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo.Target target = 1; + * * @return The target. */ com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Target getTarget(); /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The resourceUri. */ java.lang.String getResourceUri(); /** + * + * *
    * URI of the resource that the packet is forwarded to.
    * 
* * string resource_uri = 2; + * * @return The bytes for resourceUri. */ - com.google.protobuf.ByteString - getResourceUriBytes(); + com.google.protobuf.ByteString getResourceUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java index f4954916d03a..f453aee32ee7 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine forwarding rule.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo} */ -public final class ForwardingRuleInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ForwardingRuleInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) ForwardingRuleInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ForwardingRuleInfo.newBuilder() to construct. private ForwardingRuleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ForwardingRuleInfo() { displayName_ = ""; uri_ = ""; @@ -31,38 +49,43 @@ private ForwardingRuleInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ForwardingRuleInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -71,29 +94,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -149,14 +176,18 @@ public java.lang.String getUri() { } public static final int MATCHED_PROTOCOL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object matchedProtocol_ = ""; /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The matchedProtocol. */ @java.lang.Override @@ -165,29 +196,29 @@ public java.lang.String getMatchedProtocol() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; } } /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The bytes for matchedProtocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getMatchedProtocolBytes() { + public com.google.protobuf.ByteString getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -196,14 +227,18 @@ public java.lang.String getMatchedProtocol() { } public static final int MATCHED_PORT_RANGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object matchedPortRange_ = ""; /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The matchedPortRange. */ @java.lang.Override @@ -212,29 +247,29 @@ public java.lang.String getMatchedPortRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; } } /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The bytes for matchedPortRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -243,14 +278,18 @@ public java.lang.String getMatchedPortRange() { } public static final int VIP_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object vip_ = ""; /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The vip. */ @java.lang.Override @@ -259,29 +298,29 @@ public java.lang.String getVip() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; } } /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The bytes for vip. */ @java.lang.Override - public com.google.protobuf.ByteString - getVipBytes() { + public com.google.protobuf.ByteString getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vip_ = b; return b; } else { @@ -290,14 +329,18 @@ public java.lang.String getVip() { } public static final int TARGET_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @return The target. */ @java.lang.Override @@ -306,29 +349,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; } } /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @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 { @@ -337,14 +380,18 @@ public java.lang.String getTarget() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ @java.lang.Override @@ -353,29 +400,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -384,6 +431,7 @@ public java.lang.String getNetworkUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,8 +443,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -456,27 +503,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.networkmanagement.v1beta1.ForwardingRuleInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo other = (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getMatchedProtocol() - .equals(other.getMatchedProtocol())) return false; - if (!getMatchedPortRange() - .equals(other.getMatchedPortRange())) return false; - if (!getVip() - .equals(other.getVip())) return false; - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo other = + (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getMatchedProtocol().equals(other.getMatchedProtocol())) return false; + if (!getMatchedPortRange().equals(other.getMatchedPortRange())) return false; + if (!getVip().equals(other.getVip())) return false; + if (!getTarget().equals(other.getTarget())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -508,129 +549,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo 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.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine forwarding rule.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.class, + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.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(); @@ -646,13 +694,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); } @@ -667,13 +716,17 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result = new com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result = + new com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -702,38 +755,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Forwarding public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) other); } else { super.mergeFrom(other); return this; @@ -741,7 +795,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -803,47 +859,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - matchedProtocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - vip_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 50: { - matchedPortRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + matchedProtocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + vip_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: + { + matchedPortRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: + { + networkUri_ = 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) { @@ -853,22 +917,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -877,20 +944,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -898,28 +966,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -929,17 +1004,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine forwarding rule.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -949,18 +1028,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -969,20 +1050,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -990,28 +1072,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1021,17 +1110,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine forwarding rule.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1041,18 +1134,20 @@ public Builder setUriBytes( private java.lang.Object matchedProtocol_ = ""; /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @return The matchedProtocol. */ public java.lang.String getMatchedProtocol() { java.lang.Object ref = matchedProtocol_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedProtocol_ = s; return s; @@ -1061,20 +1156,21 @@ public java.lang.String getMatchedProtocol() { } } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @return The bytes for matchedProtocol. */ - public com.google.protobuf.ByteString - getMatchedProtocolBytes() { + public com.google.protobuf.ByteString getMatchedProtocolBytes() { java.lang.Object ref = matchedProtocol_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedProtocol_ = b; return b; } else { @@ -1082,28 +1178,35 @@ public java.lang.String getMatchedProtocol() { } } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @param value The matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } matchedProtocol_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @return This builder for chaining. */ public Builder clearMatchedProtocol() { @@ -1113,17 +1216,21 @@ public Builder clearMatchedProtocol() { return this; } /** + * + * *
      * Protocol defined in the forwarding rule that matches the test.
      * 
* * string matched_protocol = 3; + * * @param value The bytes for matchedProtocol to set. * @return This builder for chaining. */ - public Builder setMatchedProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); matchedProtocol_ = value; bitField0_ |= 0x00000004; @@ -1133,18 +1240,20 @@ public Builder setMatchedProtocolBytes( private java.lang.Object matchedPortRange_ = ""; /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @return The matchedPortRange. */ public java.lang.String getMatchedPortRange() { java.lang.Object ref = matchedPortRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedPortRange_ = s; return s; @@ -1153,20 +1262,21 @@ public java.lang.String getMatchedPortRange() { } } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @return The bytes for matchedPortRange. */ - public com.google.protobuf.ByteString - getMatchedPortRangeBytes() { + public com.google.protobuf.ByteString getMatchedPortRangeBytes() { java.lang.Object ref = matchedPortRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedPortRange_ = b; return b; } else { @@ -1174,28 +1284,35 @@ public java.lang.String getMatchedPortRange() { } } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @param value The matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedPortRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } matchedPortRange_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @return This builder for chaining. */ public Builder clearMatchedPortRange() { @@ -1205,17 +1322,21 @@ public Builder clearMatchedPortRange() { return this; } /** + * + * *
      * Port range defined in the forwarding rule that matches the test.
      * 
* * string matched_port_range = 6; + * * @param value The bytes for matchedPortRange to set. * @return This builder for chaining. */ - public Builder setMatchedPortRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedPortRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); matchedPortRange_ = value; bitField0_ |= 0x00000008; @@ -1225,18 +1346,20 @@ public Builder setMatchedPortRangeBytes( private java.lang.Object vip_ = ""; /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @return The vip. */ public java.lang.String getVip() { java.lang.Object ref = vip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vip_ = s; return s; @@ -1245,20 +1368,21 @@ public java.lang.String getVip() { } } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @return The bytes for vip. */ - public com.google.protobuf.ByteString - getVipBytes() { + public com.google.protobuf.ByteString getVipBytes() { java.lang.Object ref = vip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vip_ = b; return b; } else { @@ -1266,28 +1390,35 @@ public java.lang.String getVip() { } } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @param value The vip to set. * @return This builder for chaining. */ - public Builder setVip( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVip(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vip_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @return This builder for chaining. */ public Builder clearVip() { @@ -1297,17 +1428,21 @@ public Builder clearVip() { return this; } /** + * + * *
      * VIP of the forwarding rule.
      * 
* * string vip = 4; + * * @param value The bytes for vip to set. * @return This builder for chaining. */ - public Builder setVipBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVipBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vip_ = value; bitField0_ |= 0x00000010; @@ -1317,18 +1452,20 @@ public Builder setVipBytes( private java.lang.Object target_ = ""; /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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; @@ -1337,20 +1474,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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 { @@ -1358,28 +1496,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1389,17 +1534,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Target type of the forwarding rule.
      * 
* * string target = 5; + * * @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_ |= 0x00000020; @@ -1409,18 +1558,20 @@ public Builder setTargetBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1429,20 +1580,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1450,28 +1602,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1481,26 +1640,30 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * Network URI. Only valid for Internal Load Balancer.
      * 
* * string network_uri = 7; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = 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); } @@ -1510,12 +1673,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) - private static final com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo(); } @@ -1524,27 +1688,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardingRuleInfo 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 ForwardingRuleInfo 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; @@ -1559,6 +1723,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java similarity index 70% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java index d0b61193f6e8..e4614809e315 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ForwardingRuleInfoOrBuilder.java @@ -1,149 +1,200 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ForwardingRuleInfoOrBuilder extends +public interface ForwardingRuleInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine forwarding rule.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine forwarding rule.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The matchedProtocol. */ java.lang.String getMatchedProtocol(); /** + * + * *
    * Protocol defined in the forwarding rule that matches the test.
    * 
* * string matched_protocol = 3; + * * @return The bytes for matchedProtocol. */ - com.google.protobuf.ByteString - getMatchedProtocolBytes(); + com.google.protobuf.ByteString getMatchedProtocolBytes(); /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The matchedPortRange. */ java.lang.String getMatchedPortRange(); /** + * + * *
    * Port range defined in the forwarding rule that matches the test.
    * 
* * string matched_port_range = 6; + * * @return The bytes for matchedPortRange. */ - com.google.protobuf.ByteString - getMatchedPortRangeBytes(); + com.google.protobuf.ByteString getMatchedPortRangeBytes(); /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The vip. */ java.lang.String getVip(); /** + * + * *
    * VIP of the forwarding rule.
    * 
* * string vip = 4; + * * @return The bytes for vip. */ - com.google.protobuf.ByteString - getVipBytes(); + com.google.protobuf.ByteString getVipBytes(); /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Target type of the forwarding rule.
    * 
* * string target = 5; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * Network URI. Only valid for Internal Load Balancer.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java similarity index 70% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java index f39e97a841e3..609804a58b21 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
  * cluster master.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GKEMasterInfo}
  */
-public final class GKEMasterInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GKEMasterInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.GKEMasterInfo)
     GKEMasterInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GKEMasterInfo.newBuilder() to construct.
   private GKEMasterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GKEMasterInfo() {
     clusterUri_ = "";
     clusterNetworkUri_ = "";
@@ -29,38 +47,43 @@ private GKEMasterInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GKEMasterInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class,
+            com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
   }
 
   public static final int CLUSTER_URI_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object clusterUri_ = "";
   /**
+   *
+   *
    * 
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The clusterUri. */ @java.lang.Override @@ -69,29 +92,29 @@ public java.lang.String getClusterUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; } } /** + * + * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The bytes for clusterUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterUriBytes() { + public com.google.protobuf.ByteString getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -100,14 +123,18 @@ public java.lang.String getClusterUri() { } public static final int CLUSTER_NETWORK_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object clusterNetworkUri_ = ""; /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The clusterNetworkUri. */ @java.lang.Override @@ -116,29 +143,29 @@ public java.lang.String getClusterNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; } } /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The bytes for clusterNetworkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -147,14 +174,18 @@ public java.lang.String getClusterNetworkUri() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ @java.lang.Override @@ -163,29 +194,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -194,14 +225,18 @@ public java.lang.String getInternalIp() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ @java.lang.Override @@ -210,29 +245,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -241,6 +276,7 @@ public java.lang.String getExternalIp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterUri_); } @@ -295,21 +330,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo other = (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) obj; - - if (!getClusterUri() - .equals(other.getClusterUri())) return false; - if (!getClusterNetworkUri() - .equals(other.getClusterNetworkUri())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo other = + (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) obj; + + if (!getClusterUri().equals(other.getClusterUri())) return false; + if (!getClusterNetworkUri().equals(other.getClusterNetworkUri())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,96 +367,104 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo 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.networkmanagement.v1beta1.GKEMasterInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Google Kubernetes Engine (GKE)
    * cluster master.
@@ -432,33 +472,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GKEMasterInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.GKEMasterInfo)
       com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.class,
+              com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.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();
@@ -471,9 +510,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
     }
 
     @java.lang.Override
@@ -492,8 +531,11 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo result = new com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo result =
+          new com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -518,38 +560,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.GKEMasterI
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,7 +600,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance())
+        return this;
       if (!other.getClusterUri().isEmpty()) {
         clusterUri_ = other.clusterUri_;
         bitField0_ |= 0x00000001;
@@ -604,32 +648,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              clusterUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            case 34: {
-              clusterNetworkUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            case 42: {
-              internalIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            case 50: {
-              externalIp_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                clusterUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            case 34:
+              {
+                clusterNetworkUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            case 42:
+              {
+                internalIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 42
+            case 50:
+              {
+                externalIp_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                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) {
@@ -639,22 +688,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object clusterUri_ = "";
     /**
+     *
+     *
      * 
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @return The clusterUri. */ public java.lang.String getClusterUri() { java.lang.Object ref = clusterUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUri_ = s; return s; @@ -663,20 +715,21 @@ public java.lang.String getClusterUri() { } } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @return The bytes for clusterUri. */ - public com.google.protobuf.ByteString - getClusterUriBytes() { + public com.google.protobuf.ByteString getClusterUriBytes() { java.lang.Object ref = clusterUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUri_ = b; return b; } else { @@ -684,28 +737,35 @@ public java.lang.String getClusterUri() { } } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @param value The clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @return This builder for chaining. */ public Builder clearClusterUri() { @@ -715,17 +775,21 @@ public Builder clearClusterUri() { return this; } /** + * + * *
      * URI of a GKE cluster.
      * 
* * string cluster_uri = 2; + * * @param value The bytes for clusterUri to set. * @return This builder for chaining. */ - public Builder setClusterUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterUri_ = value; bitField0_ |= 0x00000001; @@ -735,18 +799,20 @@ public Builder setClusterUriBytes( private java.lang.Object clusterNetworkUri_ = ""; /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @return The clusterNetworkUri. */ public java.lang.String getClusterNetworkUri() { java.lang.Object ref = clusterNetworkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterNetworkUri_ = s; return s; @@ -755,20 +821,21 @@ public java.lang.String getClusterNetworkUri() { } } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @return The bytes for clusterNetworkUri. */ - public com.google.protobuf.ByteString - getClusterNetworkUriBytes() { + public com.google.protobuf.ByteString getClusterNetworkUriBytes() { java.lang.Object ref = clusterNetworkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterNetworkUri_ = b; return b; } else { @@ -776,28 +843,35 @@ public java.lang.String getClusterNetworkUri() { } } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @param value The clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterNetworkUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @return This builder for chaining. */ public Builder clearClusterNetworkUri() { @@ -807,17 +881,21 @@ public Builder clearClusterNetworkUri() { return this; } /** + * + * *
      * URI of a GKE cluster network.
      * 
* * string cluster_network_uri = 4; + * * @param value The bytes for clusterNetworkUri to set. * @return This builder for chaining. */ - public Builder setClusterNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterNetworkUri_ = value; bitField0_ |= 0x00000002; @@ -827,18 +905,20 @@ public Builder setClusterNetworkUriBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -847,20 +927,21 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -868,28 +949,35 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } internalIp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -899,17 +987,21 @@ public Builder clearInternalIp() { return this; } /** + * + * *
      * Internal IP address of a GKE cluster master.
      * 
* * string internal_ip = 5; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000004; @@ -919,18 +1011,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -939,20 +1033,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -960,28 +1055,35 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalIp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -991,26 +1093,30 @@ public Builder clearExternalIp() { return this; } /** + * + * *
      * External IP address of a GKE cluster master.
      * 
* * string external_ip = 6; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalIp_ = 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); } @@ -1020,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.GKEMasterInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.GKEMasterInfo) private static final com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo(); } @@ -1034,27 +1140,27 @@ public static com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GKEMasterInfo 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 GKEMasterInfo 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; @@ -1069,6 +1175,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java similarity index 63% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java index 1ba9edb33f6a..312f3b88e860 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GKEMasterInfoOrBuilder.java @@ -1,89 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface GKEMasterInfoOrBuilder extends +public interface GKEMasterInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.GKEMasterInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The clusterUri. */ java.lang.String getClusterUri(); /** + * + * *
    * URI of a GKE cluster.
    * 
* * string cluster_uri = 2; + * * @return The bytes for clusterUri. */ - com.google.protobuf.ByteString - getClusterUriBytes(); + com.google.protobuf.ByteString getClusterUriBytes(); /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The clusterNetworkUri. */ java.lang.String getClusterNetworkUri(); /** + * + * *
    * URI of a GKE cluster network.
    * 
* * string cluster_network_uri = 4; + * * @return The bytes for clusterNetworkUri. */ - com.google.protobuf.ByteString - getClusterNetworkUriBytes(); + com.google.protobuf.ByteString getClusterNetworkUriBytes(); /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * Internal IP address of a GKE cluster master.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * External IP address of a GKE cluster master.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java similarity index 63% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java index 843ef96de86f..174b042eb845 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequest.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Request for the `GetConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest} */ -public final class GetConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) GetConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConnectivityTestRequest.newBuilder() to construct. private GetConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,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_); } @@ -134,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.networkmanagement.v1beta1.GetConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,138 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `GetConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.Builder.class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.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(); @@ -294,14 +326,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override @@ -315,13 +349,17 @@ public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest bui @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +370,51 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.GetConnect public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest)other); + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +446,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) { @@ -423,23 +468,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -448,21 +496,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -470,30 +519,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +559,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. `ConnectivityTest` resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +593,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectivityTestRequest 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 GetConnectivityTestRequest 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; @@ -579,9 +641,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java index a5638c9d5706..18083dbbf7ee 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/GetConnectivityTestRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface GetConnectivityTestRequestOrBuilder extends +public interface GetConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.GetConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. `ConnectivityTest` resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java index d707ea30b511..445009b4095d 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine instance.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.InstanceInfo} */ -public final class InstanceInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstanceInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.InstanceInfo) InstanceInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstanceInfo.newBuilder() to construct. private InstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstanceInfo() { displayName_ = ""; uri_ = ""; @@ -32,38 +50,43 @@ private InstanceInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstanceInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -72,29 +95,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -103,14 +126,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -119,29 +146,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -150,14 +177,18 @@ public java.lang.String getUri() { } public static final int INTERFACE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object interface_ = ""; /** + * + * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @return The interface. */ @java.lang.Override @@ -166,29 +197,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 network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @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 { @@ -197,14 +228,18 @@ public java.lang.String getInterface() { } public static final int NETWORK_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ @java.lang.Override @@ -213,29 +248,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -244,14 +279,18 @@ public java.lang.String getNetworkUri() { } public static final int INTERNAL_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object internalIp_ = ""; /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ @java.lang.Override @@ -260,29 +299,29 @@ public java.lang.String getInternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; } } /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -291,14 +330,18 @@ public java.lang.String getInternalIp() { } public static final int EXTERNAL_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object externalIp_ = ""; /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ @java.lang.Override @@ -307,29 +350,29 @@ public java.lang.String getExternalIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; } } /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -338,37 +381,46 @@ public java.lang.String getExternalIp() { } public static final int NETWORK_TAGS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList networkTags_; /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -376,63 +428,71 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; + * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; + * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The bytes for serviceAccount. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -441,6 +501,7 @@ public java.lang.String getNetworkTags(int index) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -452,8 +513,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -524,29 +584,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.networkmanagement.v1beta1.InstanceInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.InstanceInfo other = (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getInterface() - .equals(other.getInterface())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + com.google.cloud.networkmanagement.v1beta1.InstanceInfo other = + (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getInterface().equals(other.getInterface())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -582,129 +635,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo 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.networkmanagement.v1beta1.InstanceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.InstanceInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.InstanceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine instance.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.InstanceInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.InstanceInfo) com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.class, + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.InstanceInfo.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(); @@ -722,9 +782,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor; } @java.lang.Override @@ -743,14 +803,18 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.InstanceInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.InstanceInfo result = new com.google.cloud.networkmanagement.v1beta1.InstanceInfo(this); + com.google.cloud.networkmanagement.v1beta1.InstanceInfo result = + new com.google.cloud.networkmanagement.v1beta1.InstanceInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.InstanceInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.InstanceInfo result) { if (((bitField0_ & 0x00000040) != 0)) { networkTags_ = networkTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); @@ -787,38 +851,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.InstanceIn public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.InstanceInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.InstanceInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.InstanceInfo) other); } else { super.mergeFrom(other); return this; @@ -826,7 +891,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.InstanceInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -898,53 +964,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - interface_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - internalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - externalIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 58 - case 66: { - serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + interface_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + internalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + externalIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 58 + case 66: + { + serviceAccount_ = input.readStringRequireUtf8(); + 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) { @@ -954,22 +1029,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -978,20 +1056,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -999,28 +1078,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1030,17 +1116,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine instance.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1050,18 +1140,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1070,20 +1162,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1091,28 +1184,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1122,17 +1222,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine instance.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1142,18 +1246,20 @@ public Builder setUriBytes( private java.lang.Object interface_ = ""; /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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; @@ -1162,20 +1268,21 @@ public java.lang.String getInterface() { } } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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 { @@ -1183,28 +1290,35 @@ public java.lang.String getInterface() { } } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @return This builder for chaining. */ public Builder clearInterface() { @@ -1214,17 +1328,21 @@ public Builder clearInterface() { return this; } /** + * + * *
      * Name of the network interface of a Compute Engine instance.
      * 
* * string interface = 3; + * * @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_ |= 0x00000004; @@ -1234,18 +1352,20 @@ public Builder setInterfaceBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1254,20 +1374,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1275,28 +1396,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1306,17 +1434,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 4; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000008; @@ -1326,18 +1458,20 @@ public Builder setNetworkUriBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); internalIp_ = s; return s; @@ -1346,20 +1480,21 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); internalIp_ = b; return b; } else { @@ -1367,28 +1502,35 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } internalIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @return This builder for chaining. */ public Builder clearInternalIp() { @@ -1398,17 +1540,21 @@ public Builder clearInternalIp() { return this; } /** + * + * *
      * Internal IP address of the network interface.
      * 
* * string internal_ip = 5; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); internalIp_ = value; bitField0_ |= 0x00000010; @@ -1418,18 +1564,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalIp_ = s; return s; @@ -1438,20 +1586,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalIp_ = b; return b; } else { @@ -1459,28 +1608,35 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @return This builder for chaining. */ public Builder clearExternalIp() { @@ -1490,17 +1646,21 @@ public Builder clearExternalIp() { return this; } /** + * + * *
      * External IP address of the network interface.
      * 
* * string external_ip = 6; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalIp_ = value; bitField0_ |= 0x00000020; @@ -1508,42 +1668,52 @@ public Builder setExternalIpBytes( return this; } - private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList networkTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000040; - } + } } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -1551,76 +1721,90 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); onChanged(); return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -1630,17 +1814,21 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * Network tags configured on the instance.
      * 
* * repeated string network_tags = 7; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -1650,20 +1838,23 @@ public Builder addNetworkTagsBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is + * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The serviceAccount. */ - @java.lang.Deprecated public java.lang.String getServiceAccount() { + @java.lang.Deprecated + public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1672,22 +1863,24 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is + * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getServiceAccountBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1695,63 +1888,77 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is + * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @param value The serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is + * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearServiceAccount() { + @java.lang.Deprecated + public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** + * + * *
      * Service account authorized for the instance.
      * 
* * string service_account = 8 [deprecated = true]; - * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. - * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 + * + * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is + * deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1761,12 +1968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.InstanceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.InstanceInfo) private static final com.google.cloud.networkmanagement.v1beta1.InstanceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.InstanceInfo(); } @@ -1775,27 +1982,27 @@ public static com.google.cloud.networkmanagement.v1beta1.InstanceInfo getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceInfo 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 InstanceInfo 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; @@ -1810,6 +2017,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java index 8177e8db4bea..a55057de899e 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/InstanceInfoOrBuilder.java @@ -1,194 +1,257 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface InstanceInfoOrBuilder extends +public interface InstanceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.InstanceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine instance.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine instance.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @return The interface. */ java.lang.String getInterface(); /** + * + * *
    * Name of the network interface of a Compute Engine instance.
    * 
* * string interface = 3; + * * @return The bytes for interface. */ - com.google.protobuf.ByteString - getInterfaceBytes(); + com.google.protobuf.ByteString getInterfaceBytes(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 4; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * Internal IP address of the network interface.
    * 
* * string internal_ip = 5; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * External IP address of the network interface.
    * 
* * string external_ip = 6; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
    * Network tags configured on the instance.
    * 
* * repeated string network_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; + * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The serviceAccount. */ - @java.lang.Deprecated java.lang.String getServiceAccount(); + @java.lang.Deprecated + java.lang.String getServiceAccount(); /** + * + * *
    * Service account authorized for the instance.
    * 
* * string service_account = 8 [deprecated = true]; + * * @deprecated google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. * See google/cloud/networkmanagement/v1beta1/trace.proto;l=245 * @return The bytes for serviceAccount. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getServiceAccountBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getServiceAccountBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java similarity index 60% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java index 5cf050f8c740..e7f493e8827d 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistribution.java @@ -1,115 +1,160 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Describes measured latency distribution.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyDistribution} */ -public final class LatencyDistribution extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LatencyDistribution extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LatencyDistribution) LatencyDistributionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LatencyDistribution.newBuilder() to construct. private LatencyDistribution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LatencyDistribution() { latencyPercentiles_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LatencyDistribution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); } public static final int LATENCY_PERCENTILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List latencyPercentiles_; + private java.util.List + latencyPercentiles_; /** + * + * *
    * Representative latency percentiles.
    * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ @java.lang.Override - public java.util.List getLatencyPercentilesList() { + public java.util.List + getLatencyPercentilesList() { return latencyPercentiles_; } /** + * + * *
    * Representative latency percentiles.
    * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> getLatencyPercentilesOrBuilderList() { return latencyPercentiles_; } /** + * + * *
    * Representative latency percentiles.
    * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ @java.lang.Override public int getLatencyPercentilesCount() { return latencyPercentiles_.size(); } /** + * + * *
    * Representative latency percentiles.
    * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles( + int index) { return latencyPercentiles_.get(index); } /** + * + * *
    * Representative latency percentiles.
    * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder + getLatencyPercentilesOrBuilder(int index) { return latencyPercentiles_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +166,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 < latencyPercentiles_.size(); i++) { output.writeMessage(1, latencyPercentiles_.get(i)); } @@ -136,8 +180,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < latencyPercentiles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, latencyPercentiles_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, latencyPercentiles_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +191,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.networkmanagement.v1beta1.LatencyDistribution)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution other = (com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) obj; + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution other = + (com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) obj; - if (!getLatencyPercentilesList() - .equals(other.getLatencyPercentilesList())) return false; + if (!getLatencyPercentilesList().equals(other.getLatencyPercentilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +221,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution 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.networkmanagement.v1beta1.LatencyDistribution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes measured latency distribution.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyDistribution} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LatencyDistribution) com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.class, + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.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(); @@ -315,13 +366,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance(); } @@ -336,14 +388,18 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result = new com.google.cloud.networkmanagement.v1beta1.LatencyDistribution(this); + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result = + new com.google.cloud.networkmanagement.v1beta1.LatencyDistribution(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { if (latencyPercentilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { latencyPercentiles_ = java.util.Collections.unmodifiableList(latencyPercentiles_); @@ -355,7 +411,8 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1bet } } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.LatencyDistribution result) { int from_bitField0_ = bitField0_; } @@ -363,38 +420,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LatencyDis public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyDistribution)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyDistribution) other); } else { super.mergeFrom(other); return this; @@ -402,7 +460,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution other) { - if (other == com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()) + return this; if (latencyPercentilesBuilder_ == null) { if (!other.latencyPercentiles_.isEmpty()) { if (latencyPercentiles_.isEmpty()) { @@ -421,9 +481,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LatencyDistr latencyPercentilesBuilder_ = null; latencyPercentiles_ = other.latencyPercentiles_; bitField0_ = (bitField0_ & ~0x00000001); - latencyPercentilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLatencyPercentilesFieldBuilder() : null; + latencyPercentilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLatencyPercentilesFieldBuilder() + : null; } else { latencyPercentilesBuilder_.addAllMessages(other.latencyPercentiles_); } @@ -455,25 +516,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.parser(), - extensionRegistry); - if (latencyPercentilesBuilder_ == null) { - ensureLatencyPercentilesIsMutable(); - latencyPercentiles_.add(m); - } else { - latencyPercentilesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.parser(), + extensionRegistry); + if (latencyPercentilesBuilder_ == null) { + ensureLatencyPercentilesIsMutable(); + latencyPercentiles_.add(m); + } else { + latencyPercentilesBuilder_.addMessage(m); + } + 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) { @@ -483,28 +546,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List latencyPercentiles_ = - java.util.Collections.emptyList(); + private java.util.List + latencyPercentiles_ = java.util.Collections.emptyList(); + private void ensureLatencyPercentilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - latencyPercentiles_ = new java.util.ArrayList(latencyPercentiles_); + latencyPercentiles_ = + new java.util.ArrayList( + latencyPercentiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> latencyPercentilesBuilder_; + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> + latencyPercentilesBuilder_; /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public java.util.List getLatencyPercentilesList() { + public java.util.List + getLatencyPercentilesList() { if (latencyPercentilesBuilder_ == null) { return java.util.Collections.unmodifiableList(latencyPercentiles_); } else { @@ -512,11 +587,15 @@ public java.util.List * Representative latency percentiles. *
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public int getLatencyPercentilesCount() { if (latencyPercentilesBuilder_ == null) { @@ -526,13 +605,18 @@ public int getLatencyPercentilesCount() { } } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles( + int index) { if (latencyPercentilesBuilder_ == null) { return latencyPercentiles_.get(index); } else { @@ -540,11 +624,15 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPe } } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder setLatencyPercentiles( int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { @@ -561,14 +649,19 @@ public Builder setLatencyPercentiles( return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder setLatencyPercentiles( - int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { if (latencyPercentilesBuilder_ == null) { ensureLatencyPercentilesIsMutable(); latencyPercentiles_.set(index, builderForValue.build()); @@ -579,13 +672,18 @@ public Builder setLatencyPercentiles( return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public Builder addLatencyPercentiles(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { + public Builder addLatencyPercentiles( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { if (latencyPercentilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -599,11 +697,15 @@ public Builder addLatencyPercentiles(com.google.cloud.networkmanagement.v1beta1. return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder addLatencyPercentiles( int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile value) { @@ -620,11 +722,15 @@ public Builder addLatencyPercentiles( return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder addLatencyPercentiles( com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { @@ -638,14 +744,19 @@ public Builder addLatencyPercentiles( return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder addLatencyPercentiles( - int index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder builderForValue) { if (latencyPercentilesBuilder_ == null) { ensureLatencyPercentilesIsMutable(); latencyPercentiles_.add(index, builderForValue.build()); @@ -656,18 +767,22 @@ public Builder addLatencyPercentiles( return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder addAllLatencyPercentiles( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (latencyPercentilesBuilder_ == null) { ensureLatencyPercentilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, latencyPercentiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, latencyPercentiles_); onChanged(); } else { latencyPercentilesBuilder_.addAllMessages(values); @@ -675,11 +790,15 @@ public Builder addAllLatencyPercentiles( return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder clearLatencyPercentiles() { if (latencyPercentilesBuilder_ == null) { @@ -692,11 +811,15 @@ public Builder clearLatencyPercentiles() { return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ public Builder removeLatencyPercentiles(int index) { if (latencyPercentilesBuilder_ == null) { @@ -709,39 +832,53 @@ public Builder removeLatencyPercentiles(int index) { return this; } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder getLatencyPercentilesBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder + getLatencyPercentilesBuilder(int index) { return getLatencyPercentilesFieldBuilder().getBuilder(index); } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder + getLatencyPercentilesOrBuilder(int index) { if (latencyPercentilesBuilder_ == null) { - return latencyPercentiles_.get(index); } else { + return latencyPercentiles_.get(index); + } else { return latencyPercentilesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public java.util.List - getLatencyPercentilesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> + getLatencyPercentilesOrBuilderList() { if (latencyPercentilesBuilder_ != null) { return latencyPercentilesBuilder_.getMessageOrBuilderList(); } else { @@ -749,45 +886,67 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder get } } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder addLatencyPercentilesBuilder() { - return getLatencyPercentilesFieldBuilder().addBuilder( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder + addLatencyPercentilesBuilder() { + return getLatencyPercentilesFieldBuilder() + .addBuilder( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder addLatencyPercentilesBuilder( - int index) { - return getLatencyPercentilesFieldBuilder().addBuilder( - index, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder + addLatencyPercentilesBuilder(int index) { + return getLatencyPercentilesFieldBuilder() + .addBuilder( + index, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()); } /** + * + * *
      * Representative latency percentiles.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * */ - public java.util.List - getLatencyPercentilesBuilderList() { + public java.util.List + getLatencyPercentilesBuilderList() { return getLatencyPercentilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> getLatencyPercentilesFieldBuilder() { if (latencyPercentilesBuilder_ == null) { - latencyPercentilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder>( + latencyPercentilesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder>( latencyPercentiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -796,9 +955,9 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder addL } return latencyPercentilesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +967,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LatencyDistribution) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LatencyDistribution) - private static final com.google.cloud.networkmanagement.v1beta1.LatencyDistribution DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.LatencyDistribution + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LatencyDistribution(); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.LatencyDistribution + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LatencyDistribution 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 LatencyDistribution 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; @@ -854,9 +1015,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java new file mode 100644 index 000000000000..580c991fa035 --- /dev/null +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyDistributionOrBuilder.java @@ -0,0 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto + +package com.google.cloud.networkmanagement.v1beta1; + +public interface LatencyDistributionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LatencyDistribution) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Representative latency percentiles.
+   * 
+ * + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + */ + java.util.List + getLatencyPercentilesList(); + /** + * + * + *
+   * Representative latency percentiles.
+   * 
+ * + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + */ + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index); + /** + * + * + *
+   * Representative latency percentiles.
+   * 
+ * + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + */ + int getLatencyPercentilesCount(); + /** + * + * + *
+   * Representative latency percentiles.
+   * 
+ * + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + */ + java.util.List + getLatencyPercentilesOrBuilderList(); + /** + * + * + *
+   * Representative latency percentiles.
+   * 
+ * + * + * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; + * + */ + com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder + getLatencyPercentilesOrBuilder(int index); +} diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java similarity index 66% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java index ea8e7d5f2a73..99ffc74dacbf 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentile.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Latency percentile rank and value.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyPercentile} */ -public final class LatencyPercentile extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LatencyPercentile extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LatencyPercentile) LatencyPercentileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LatencyPercentile.newBuilder() to construct. private LatencyPercentile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LatencyPercentile() { - } + + private LatencyPercentile() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LatencyPercentile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); } public static final int PERCENT_FIELD_NUMBER = 1; private int percent_ = 0; /** + * + * *
    * Percentage of samples this data point applies to.
    * 
* * int32 percent = 1; + * * @return The percent. */ @java.lang.Override @@ -65,6 +86,8 @@ public int getPercent() { public static final int LATENCY_MICROS_FIELD_NUMBER = 2; private long latencyMicros_ = 0L; /** + * + * *
    * percent-th percentile of latency observed, in microseconds.
    * Fraction of percent/100 of samples have latency lower or
@@ -72,6 +95,7 @@ public int getPercent() {
    * 
* * int64 latency_micros = 2; + * * @return The latencyMicros. */ @java.lang.Override @@ -80,6 +104,7 @@ public long getLatencyMicros() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,8 +116,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 (percent_ != 0) { output.writeInt32(1, percent_); } @@ -109,12 +133,10 @@ public int getSerializedSize() { size = 0; if (percent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, percent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, percent_); } if (latencyMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, latencyMicros_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, latencyMicros_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +146,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.networkmanagement.v1beta1.LatencyPercentile)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile other = (com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) obj; + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile other = + (com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) obj; - if (getPercent() - != other.getPercent()) return false; - if (getLatencyMicros() - != other.getLatencyMicros()) return false; + if (getPercent() != other.getPercent()) return false; + if (getLatencyMicros() != other.getLatencyMicros()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -149,137 +170,143 @@ public int hashCode() { hash = (37 * hash) + PERCENT_FIELD_NUMBER; hash = (53 * hash) + getPercent(); hash = (37 * hash) + LATENCY_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLatencyMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLatencyMicros()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile 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.networkmanagement.v1beta1.LatencyPercentile parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Latency percentile rank and value.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LatencyPercentile} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LatencyPercentile) com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.class, + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.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 +317,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance(); } @@ -311,13 +339,17 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result = new com.google.cloud.networkmanagement.v1beta1.LatencyPercentile(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result = + new com.google.cloud.networkmanagement.v1beta1.LatencyPercentile(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.LatencyPercentile result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.percent_ = percent_; @@ -331,38 +363,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LatencyPer public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyPercentile)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LatencyPercentile) other); } else { super.mergeFrom(other); return this; @@ -370,7 +403,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LatencyPercentile other) { - if (other == com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.LatencyPercentile.getDefaultInstance()) + return this; if (other.getPercent() != 0) { setPercent(other.getPercent()); } @@ -403,22 +438,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - percent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - latencyMicros_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + percent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + latencyMicros_ = input.readInt64(); + 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) { @@ -428,15 +466,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int percent_ ; + private int percent_; /** + * + * *
      * Percentage of samples this data point applies to.
      * 
* * int32 percent = 1; + * * @return The percent. */ @java.lang.Override @@ -444,27 +486,33 @@ public int getPercent() { return percent_; } /** + * + * *
      * Percentage of samples this data point applies to.
      * 
* * int32 percent = 1; + * * @param value The percent to set. * @return This builder for chaining. */ public Builder setPercent(int value) { - + percent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Percentage of samples this data point applies to.
      * 
* * int32 percent = 1; + * * @return This builder for chaining. */ public Builder clearPercent() { @@ -474,8 +522,10 @@ public Builder clearPercent() { return this; } - private long latencyMicros_ ; + private long latencyMicros_; /** + * + * *
      * percent-th percentile of latency observed, in microseconds.
      * Fraction of percent/100 of samples have latency lower or
@@ -483,6 +533,7 @@ public Builder clearPercent() {
      * 
* * int64 latency_micros = 2; + * * @return The latencyMicros. */ @java.lang.Override @@ -490,6 +541,8 @@ public long getLatencyMicros() { return latencyMicros_; } /** + * + * *
      * percent-th percentile of latency observed, in microseconds.
      * Fraction of percent/100 of samples have latency lower or
@@ -497,17 +550,20 @@ public long getLatencyMicros() {
      * 
* * int64 latency_micros = 2; + * * @param value The latencyMicros to set. * @return This builder for chaining. */ public Builder setLatencyMicros(long value) { - + latencyMicros_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * percent-th percentile of latency observed, in microseconds.
      * Fraction of percent/100 of samples have latency lower or
@@ -515,6 +571,7 @@ public Builder setLatencyMicros(long value) {
      * 
* * int64 latency_micros = 2; + * * @return This builder for chaining. */ public Builder clearLatencyMicros() { @@ -523,9 +580,9 @@ public Builder clearLatencyMicros() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -535,12 +592,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LatencyPercentile) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LatencyPercentile) - private static final com.google.cloud.networkmanagement.v1beta1.LatencyPercentile DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.LatencyPercentile + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LatencyPercentile(); } @@ -549,27 +607,27 @@ public static com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LatencyPercentile 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 LatencyPercentile 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; @@ -584,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java similarity index 54% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java index 7461cf351ac0..e96b67a3bd2b 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LatencyPercentileOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface LatencyPercentileOrBuilder extends +public interface LatencyPercentileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LatencyPercentile) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Percentage of samples this data point applies to.
    * 
* * int32 percent = 1; + * * @return The percent. */ int getPercent(); /** + * + * *
    * percent-th percentile of latency observed, in microseconds.
    * Fraction of percent/100 of samples have latency lower or
@@ -25,6 +46,7 @@ public interface LatencyPercentileOrBuilder extends
    * 
* * int64 latency_micros = 2; + * * @return The latencyMicros. */ long getLatencyMicros(); diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java index 390773d49371..2d3dd9cf611a 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Request for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest} */ -public final class ListConnectivityTestsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConnectivityTestsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) ListConnectivityTestsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConnectivityTestsRequest.newBuilder() to construct. private ListConnectivityTestsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConnectivityTestsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,39 +46,44 @@ private ListConnectivityTestsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConnectivityTestsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -69,30 +92,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +126,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,14 +142,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,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; } } /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * 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 { @@ -163,9 +193,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -186,6 +219,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -194,14 +228,15 @@ 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; } } /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -222,16 +257,15 @@ public java.lang.String getFilter() {
    * 
* * 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 { @@ -240,14 +274,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -256,29 +294,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Field to use to sort the list.
    * 
* * 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 { @@ -287,6 +325,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -328,8 +366,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_); @@ -348,23 +385,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.networkmanagement.v1beta1.ListConnectivityTestsRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest other = (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) 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.networkmanagement.v1beta1.ListConnectivityTestsRequest other = + (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) 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; } @@ -392,129 +425,139 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.class, + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.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(); @@ -528,19 +571,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest build() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -549,13 +595,17 @@ public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest b @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result = + new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -578,46 +628,52 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ListConnec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -667,37 +723,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) { @@ -707,23 +769,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -732,21 +797,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -754,30 +820,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - 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. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -787,18 +860,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource of the Connectivity Tests:
      *     `projects/{project_id}/locations/global`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - 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; @@ -806,13 +883,16 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -820,27 +900,33 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of `ConnectivityTests` to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -852,18 +938,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -872,20 +960,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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 { @@ -893,28 +982,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -924,17 +1020,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Page token from an earlier query, as returned in `next_page_token`.
      * 
* * 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; @@ -944,6 +1044,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -964,13 +1066,13 @@ public Builder setPageTokenBytes(
      * 
* * 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; @@ -979,6 +1081,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -999,15 +1103,14 @@ public java.lang.String getFilter() {
      * 
* * 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 { @@ -1015,6 +1118,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1035,18 +1140,22 @@ public java.lang.String getFilter() {
      * 
* * 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; } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1067,6 +1176,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1076,6 +1186,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Lists the `ConnectivityTests` that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1096,12 +1208,14 @@ public Builder clearFilter() {
      * 
* * 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; @@ -1111,18 +1225,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to use to sort the list.
      * 
* * 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; @@ -1131,20 +1247,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * 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 { @@ -1152,28 +1269,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * 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; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1183,26 +1307,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * 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); } @@ -1212,41 +1340,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) - private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsRequest 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 ListConnectivityTestsRequest 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; @@ -1258,9 +1389,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java index 6a9f96d56464..e753e76a180a 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsRequestOrBuilder.java @@ -1,65 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ListConnectivityTestsRequestOrBuilder extends +public interface ListConnectivityTestsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the Connectivity Tests:
    *     `projects/{project_id}/locations/global`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Number of `ConnectivityTests` to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Page token from an earlier query, as returned in `next_page_token`.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -80,10 +111,13 @@ public interface ListConnectivityTestsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Lists the `ConnectivityTests` that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -104,28 +138,33 @@ public interface ListConnectivityTestsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to use to sort the list.
    * 
* * 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-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java similarity index 69% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java index b624d573f286..a43b8f076193 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Response for the `ListConnectivityTests` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse} */ -public final class ListConnectivityTestsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConnectivityTestsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) ListConnectivityTestsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConnectivityTestsResponse.newBuilder() to construct. private ListConnectivityTestsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConnectivityTestsResponse() { resources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,33 +45,37 @@ private ListConnectivityTestsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConnectivityTestsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder.class); } public static final int RESOURCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List resources_; /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -61,10 +83,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ @java.lang.Override - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { return resources_; } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -72,11 +97,14 @@ public java.util.Listrepeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourcesOrBuilderList() { return resources_; } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -88,6 +116,8 @@ public int getResourcesCount() { return resources_.size(); } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -99,6 +129,8 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResources( return resources_.get(index); } /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -112,14 +144,18 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getR } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,29 +164,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; } } /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 { @@ -159,37 +195,46 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -197,20 +242,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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; @@ -222,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -243,8 +290,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -265,19 +311,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.networkmanagement.v1beta1.ListConnectivityTestsResponse)) { + if (!(obj + instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other = (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) obj; + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other = + (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) obj; - if (!getResourcesList() - .equals(other.getResourcesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getResourcesList().equals(other.getResourcesList())) 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; } @@ -305,129 +350,139 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `ListConnectivityTests` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.class, + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.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(); @@ -446,19 +501,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse build() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -467,14 +525,18 @@ public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(this); + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result = + new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { if (resourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resources_ = java.util.Collections.unmodifiableList(resources_); @@ -491,7 +553,8 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1bet result.unreachable_ = unreachable_; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -502,46 +565,52 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ListConnec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + .getDefaultInstance()) return this; if (resourcesBuilder_ == null) { if (!other.resources_.isEmpty()) { if (resources_.isEmpty()) { @@ -560,9 +629,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ListConnecti resourcesBuilder_ = null; resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000001); - resourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourcesFieldBuilder() : null; + resourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResourcesFieldBuilder() + : null; } else { resourcesBuilder_.addAllMessages(other.resources_); } @@ -609,36 +679,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.parser(), - extensionRegistry); - if (resourcesBuilder_ == null) { - ensureResourcesIsMutable(); - resources_.add(m); - } else { - resourcesBuilder_.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.networkmanagement.v1beta1.ConnectivityTest m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.parser(), + extensionRegistry); + if (resourcesBuilder_ == null) { + ensureResourcesIsMutable(); + resources_.add(m); + } else { + resourcesBuilder_.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) { @@ -648,28 +722,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List resources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resources_ = new java.util.ArrayList(resources_); + resources_ = + new java.util.ArrayList( + resources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> resourcesBuilder_; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + resourcesBuilder_; /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -677,6 +761,8 @@ public java.util.List * List of Connectivity Tests. *
@@ -691,6 +777,8 @@ public int getResourcesCount() { } } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -705,6 +793,8 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResources( } } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -726,6 +816,8 @@ public Builder setResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -733,7 +825,8 @@ public Builder setResources( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ public Builder setResources( - int index, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); @@ -744,6 +837,8 @@ public Builder setResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -764,6 +859,8 @@ public Builder addResources(com.google.cloud.networkmanagement.v1beta1.Connectiv return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -785,6 +882,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -803,6 +902,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -810,7 +911,8 @@ public Builder addResources( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ public Builder addResources( - int index, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); @@ -821,6 +923,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -828,11 +932,11 @@ public Builder addResources( * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ public Builder addAllResources( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -840,6 +944,8 @@ public Builder addAllResources( return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -857,6 +963,8 @@ public Builder clearResources() { return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -874,6 +982,8 @@ public Builder removeResources(int index) { return this; } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -885,28 +995,34 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getRe return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourcesOrBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder + getResourcesOrBuilder(int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -914,17 +1030,23 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getR } } /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder + addResourcesBuilder() { + return getResourcesFieldBuilder() + .addBuilder( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); } /** + * + * *
      * List of Connectivity Tests.
      * 
@@ -933,30 +1055,37 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addRe */ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder( + index, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()); } /** + * + * *
      * List of Connectivity Tests.
      * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( - resources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( + resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; @@ -964,18 +1093,20 @@ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder addRe private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -984,20 +1115,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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 { @@ -1005,28 +1137,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1036,17 +1175,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Page token to fetch the next set of Connectivity Tests.
      * 
* * 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; @@ -1054,42 +1197,52 @@ public Builder setNextPageTokenBytes( return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,76 +1250,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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 (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1176,26 +1343,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached (when querying all locations with `-`).
      * 
* * 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); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,41 +1376,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) - private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse(); } - public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectivityTestsResponse 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 ListConnectivityTestsResponse 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; @@ -1251,9 +1425,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java index ea11e5d8299a..03a468de5908 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ListConnectivityTestsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ListConnectivityTestsResponseOrBuilder extends +public interface ListConnectivityTestsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - java.util.List - getResourcesList(); + java.util.List getResourcesList(); /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -25,6 +44,8 @@ public interface ListConnectivityTestsResponseOrBuilder extends */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResources(int index); /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -33,15 +54,19 @@ public interface ListConnectivityTestsResponseOrBuilder extends */ int getResourcesCount(); /** + * + * *
    * List of Connectivity Tests.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** + * + * *
    * List of Connectivity Tests.
    * 
@@ -52,63 +77,78 @@ com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResource int index); /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Page token to fetch the next set of Connectivity Tests.
    * 
* * 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 (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached (when querying all locations with `-`).
    * 
* * 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 (when querying all locations with `-`).
    * 
* * 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-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java similarity index 70% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java index d705033c8767..6a07f3ad4321 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackend.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a specific load balancer backend.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerBackend} */ -public final class LoadBalancerBackend extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoadBalancerBackend extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) LoadBalancerBackendOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoadBalancerBackend.newBuilder() to construct. private LoadBalancerBackend(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoadBalancerBackend() { displayName_ = ""; uri_ = ""; @@ -29,39 +47,44 @@ private LoadBalancerBackend() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoadBalancerBackend(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); } /** + * + * *
    * State of a health check firewall configuration:
    * 
* - * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState} + * Protobuf enum {@code + * google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState} */ - public enum HealthCheckFirewallState - implements com.google.protobuf.ProtocolMessageEnum { + public enum HealthCheckFirewallState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * State is unspecified. Default state if not populated.
      * 
@@ -70,6 +93,8 @@ public enum HealthCheckFirewallState */ HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED(0), /** + * + * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -79,6 +104,8 @@ public enum HealthCheckFirewallState
      */
     CONFIGURED(1),
     /**
+     *
+     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -94,6 +121,8 @@ public enum HealthCheckFirewallState
     ;
 
     /**
+     *
+     *
      * 
      * State is unspecified. Default state if not populated.
      * 
@@ -102,6 +131,8 @@ public enum HealthCheckFirewallState */ public static final int HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * There are configured firewall rules to allow health check probes to the
      * backend.
@@ -111,6 +142,8 @@ public enum HealthCheckFirewallState
      */
     public static final int CONFIGURED_VALUE = 1;
     /**
+     *
+     *
      * 
      * There are firewall rules configured to allow partial health check ranges
      * or block all health check ranges.
@@ -123,7 +156,6 @@ public enum HealthCheckFirewallState
      */
     public static final int MISCONFIGURED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -148,10 +180,14 @@ public static HealthCheckFirewallState valueOf(int value) {
      */
     public static HealthCheckFirewallState forNumber(int value) {
       switch (value) {
-        case 0: return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
-        case 1: return CONFIGURED;
-        case 2: return MISCONFIGURED;
-        default: return null;
+        case 0:
+          return HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED;
+        case 1:
+          return CONFIGURED;
+        case 2:
+          return MISCONFIGURED;
+        default:
+          return null;
       }
     }
 
@@ -159,29 +195,31 @@ public static HealthCheckFirewallState forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        HealthCheckFirewallState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public HealthCheckFirewallState findValueByNumber(int number) {
-              return HealthCheckFirewallState.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 HealthCheckFirewallState findValueByNumber(int number) {
+                return HealthCheckFirewallState.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.networkmanagement.v1beta1.LoadBalancerBackend.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final HealthCheckFirewallState[] VALUES = values();
@@ -189,8 +227,7 @@ public HealthCheckFirewallState findValueByNumber(int number) {
     public static HealthCheckFirewallState 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;
@@ -208,14 +245,18 @@ private HealthCheckFirewallState(int value) {
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -224,29 +265,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -255,14 +296,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -271,29 +316,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -304,61 +349,88 @@ public java.lang.String getUri() { public static final int HEALTH_CHECK_FIREWALL_STATE_FIELD_NUMBER = 3; private int healthCheckFirewallState_ = 0; /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override public int getHealthCheckFirewallStateValue() { + @java.lang.Override + public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The healthCheckFirewallState. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState result = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + .forNumber(healthCheckFirewallState_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + .UNRECOGNIZED + : result; } public static final int HEALTH_CHECK_ALLOWING_FIREWALL_RULES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_; /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_; } /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -366,51 +438,62 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } public static final int HEALTH_CHECK_BLOCKING_FIREWALL_RULES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_; /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_; } /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -418,20 +501,23 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,22 +529,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } - if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { + if (healthCheckFirewallState_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, healthCheckFirewallState_); } for (int i = 0; i < healthCheckAllowingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, healthCheckAllowingFirewallRules_.getRaw(i)); } for (int i = 0; i < healthCheckBlockingFirewallRules_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, healthCheckBlockingFirewallRules_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -475,9 +565,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } - if (healthCheckFirewallState_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, healthCheckFirewallState_); + if (healthCheckFirewallState_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + .HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, healthCheckFirewallState_); } { int dataSize = 0; @@ -503,17 +595,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.networkmanagement.v1beta1.LoadBalancerBackend)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend other = (com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) obj; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend other = + (com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; if (healthCheckFirewallState_ != other.healthCheckFirewallState_) return false; if (!getHealthCheckAllowingFirewallRulesList() .equals(other.getHealthCheckAllowingFirewallRulesList())) return false; @@ -550,129 +641,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend 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.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a specific load balancer backend.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerBackend} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.class, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.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(); @@ -688,13 +786,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance(); } @@ -709,14 +808,18 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend(this); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result = + new com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { if (((bitField0_ & 0x00000008) != 0)) { healthCheckAllowingFirewallRules_ = healthCheckAllowingFirewallRules_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -729,7 +832,8 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1bet result.healthCheckBlockingFirewallRules_ = healthCheckBlockingFirewallRules_; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.displayName_ = displayName_; @@ -746,38 +850,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LoadBalanc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) other); } else { super.mergeFrom(other); return this; @@ -785,7 +890,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend other) { - if (other == com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -845,39 +952,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - healthCheckFirewallState_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckAllowingFirewallRulesIsMutable(); - healthCheckAllowingFirewallRules_.add(s); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureHealthCheckBlockingFirewallRulesIsMutable(); - healthCheckBlockingFirewallRules_.add(s); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + healthCheckFirewallState_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckAllowingFirewallRulesIsMutable(); + healthCheckAllowingFirewallRules_.add(s); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureHealthCheckBlockingFirewallRulesIsMutable(); + healthCheckBlockingFirewallRules_.add(s); + 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) { @@ -887,22 +1000,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -911,20 +1027,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -932,28 +1049,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -963,17 +1087,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine instance or network endpoint.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -983,18 +1111,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1003,20 +1133,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1024,28 +1155,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1055,17 +1193,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine instance or network endpoint.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1075,22 +1217,33 @@ public Builder setUriBytes( private int healthCheckFirewallState_ = 0; /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The enum numeric value on the wire for healthCheckFirewallState. */ - @java.lang.Override public int getHealthCheckFirewallStateValue() { + @java.lang.Override + public int getHealthCheckFirewallStateValue() { return healthCheckFirewallState_; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @param value The enum numeric value on the wire for healthCheckFirewallState to set. * @return This builder for chaining. */ @@ -1101,28 +1254,47 @@ public Builder setHealthCheckFirewallStateValue(int value) { return this; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The healthCheckFirewallState. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.forNumber(healthCheckFirewallState_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + getHealthCheckFirewallState() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + result = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend + .HealthCheckFirewallState.forNumber(healthCheckFirewallState_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + .UNRECOGNIZED + : result; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @param value The healthCheckFirewallState to set. * @return This builder for chaining. */ - public Builder setHealthCheckFirewallState(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState value) { + public Builder setHealthCheckFirewallState( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + value) { if (value == null) { throw new NullPointerException(); } @@ -1132,11 +1304,16 @@ public Builder setHealthCheckFirewallState(com.google.cloud.networkmanagement.v1 return this; } /** + * + * *
      * State of the health check firewall configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return This builder for chaining. */ public Builder clearHealthCheckFirewallState() { @@ -1146,42 +1323,53 @@ public Builder clearHealthCheckFirewallState() { return this; } - private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList healthCheckAllowingFirewallRules_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureHealthCheckAllowingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - healthCheckAllowingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); + healthCheckAllowingFirewallRules_ = + new com.google.protobuf.LazyStringArrayList(healthCheckAllowingFirewallRules_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return A list containing the healthCheckAllowingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckAllowingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList() { return healthCheckAllowingFirewallRules_.getUnmodifiableView(); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return The count of healthCheckAllowingFirewallRules. */ public int getHealthCheckAllowingFirewallRulesCount() { return healthCheckAllowingFirewallRules_.size(); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ @@ -1189,59 +1377,72 @@ public java.lang.String getHealthCheckAllowingFirewallRules(int index) { return healthCheckAllowingFirewallRules_.get(index); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckAllowingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index) { return healthCheckAllowingFirewallRules_.getByteString(index); } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index to set the value at. * @param value The healthCheckAllowingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckAllowingFirewallRules( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckAllowingFirewallRules(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param value The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRules( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckAllowingFirewallRules(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param values The healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ @@ -1254,11 +1455,14 @@ public Builder addAllHealthCheckAllowingFirewallRules( return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return This builder for chaining. */ public Builder clearHealthCheckAllowingFirewallRules() { @@ -1268,17 +1472,21 @@ public Builder clearHealthCheckAllowingFirewallRules() { return this; } /** + * + * *
      * A list of firewall rule URIs allowing probes from health check IP ranges.
      * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param value The bytes of the healthCheckAllowingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckAllowingFirewallRulesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureHealthCheckAllowingFirewallRulesIsMutable(); healthCheckAllowingFirewallRules_.add(value); @@ -1286,42 +1494,53 @@ public Builder addHealthCheckAllowingFirewallRulesBytes( return this; } - private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList healthCheckBlockingFirewallRules_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureHealthCheckBlockingFirewallRulesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - healthCheckBlockingFirewallRules_ = new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); + healthCheckBlockingFirewallRules_ = + new com.google.protobuf.LazyStringArrayList(healthCheckBlockingFirewallRules_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return A list containing the healthCheckBlockingFirewallRules. */ - public com.google.protobuf.ProtocolStringList - getHealthCheckBlockingFirewallRulesList() { + public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList() { return healthCheckBlockingFirewallRules_.getUnmodifiableView(); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return The count of healthCheckBlockingFirewallRules. */ public int getHealthCheckBlockingFirewallRulesCount() { return healthCheckBlockingFirewallRules_.size(); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ @@ -1329,59 +1548,72 @@ public java.lang.String getHealthCheckBlockingFirewallRules(int index) { return healthCheckBlockingFirewallRules_.get(index); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - public com.google.protobuf.ByteString - getHealthCheckBlockingFirewallRulesBytes(int index) { + public com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index) { return healthCheckBlockingFirewallRules_.getByteString(index); } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index to set the value at. * @param value The healthCheckBlockingFirewallRules to set. * @return This builder for chaining. */ - public Builder setHealthCheckBlockingFirewallRules( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckBlockingFirewallRules(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param value The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRules( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckBlockingFirewallRules(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param values The healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ @@ -1394,11 +1626,14 @@ public Builder addAllHealthCheckBlockingFirewallRules( return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return This builder for chaining. */ public Builder clearHealthCheckBlockingFirewallRules() { @@ -1408,26 +1643,30 @@ public Builder clearHealthCheckBlockingFirewallRules() { return this; } /** + * + * *
      * A list of firewall rule URIs blocking probes from health check IP ranges.
      * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param value The bytes of the healthCheckBlockingFirewallRules to add. * @return This builder for chaining. */ - public Builder addHealthCheckBlockingFirewallRulesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHealthCheckBlockingFirewallRulesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureHealthCheckBlockingFirewallRulesIsMutable(); healthCheckBlockingFirewallRules_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1437,41 +1676,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) - private static final com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend(); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerBackend 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 LoadBalancerBackend 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; @@ -1483,9 +1724,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java index f49b55ba9369..e8fe035fdfd6 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerBackendOrBuilder.java @@ -1,150 +1,207 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface LoadBalancerBackendOrBuilder extends +public interface LoadBalancerBackendOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LoadBalancerBackend) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine instance or network endpoint.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine instance or network endpoint.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The enum numeric value on the wire for healthCheckFirewallState. */ int getHealthCheckFirewallStateValue(); /** + * + * *
    * State of the health check firewall configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3; + * + * * @return The healthCheckFirewallState. */ - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState(); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState + getHealthCheckFirewallState(); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return A list containing the healthCheckAllowingFirewallRules. */ - java.util.List - getHealthCheckAllowingFirewallRulesList(); + java.util.List getHealthCheckAllowingFirewallRulesList(); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @return The count of healthCheckAllowingFirewallRules. */ int getHealthCheckAllowingFirewallRulesCount(); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the element to return. * @return The healthCheckAllowingFirewallRules at the given index. */ java.lang.String getHealthCheckAllowingFirewallRules(int index); /** + * + * *
    * A list of firewall rule URIs allowing probes from health check IP ranges.
    * 
* * repeated string health_check_allowing_firewall_rules = 4; + * * @param index The index of the value to return. * @return The bytes of the healthCheckAllowingFirewallRules at the given index. */ - com.google.protobuf.ByteString - getHealthCheckAllowingFirewallRulesBytes(int index); + com.google.protobuf.ByteString getHealthCheckAllowingFirewallRulesBytes(int index); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return A list containing the healthCheckBlockingFirewallRules. */ - java.util.List - getHealthCheckBlockingFirewallRulesList(); + java.util.List getHealthCheckBlockingFirewallRulesList(); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @return The count of healthCheckBlockingFirewallRules. */ int getHealthCheckBlockingFirewallRulesCount(); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the element to return. * @return The healthCheckBlockingFirewallRules at the given index. */ java.lang.String getHealthCheckBlockingFirewallRules(int index); /** + * + * *
    * A list of firewall rule URIs blocking probes from health check IP ranges.
    * 
* * repeated string health_check_blocking_firewall_rules = 5; + * * @param index The index of the value to return. * @return The bytes of the healthCheckBlockingFirewallRules at the given index. */ - com.google.protobuf.ByteString - getHealthCheckBlockingFirewallRulesBytes(int index); + com.google.protobuf.ByteString getHealthCheckBlockingFirewallRulesBytes(int index); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java similarity index 67% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java index b21e2deefc79..9c929fc3270b 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a load balancer.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo} */ -public final class LoadBalancerInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoadBalancerInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) LoadBalancerInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoadBalancerInfo.newBuilder() to construct. private LoadBalancerInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoadBalancerInfo() { loadBalancerType_ = 0; healthCheckUri_ = ""; @@ -29,39 +47,43 @@ private LoadBalancerInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoadBalancerInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); } /** + * + * *
    * The type definition for a load balancer:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType} */ - public enum LoadBalancerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type is unspecified.
      * 
@@ -70,6 +92,8 @@ public enum LoadBalancerType */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Internal TCP/UDP load balancer.
      * 
@@ -78,6 +102,8 @@ public enum LoadBalancerType */ INTERNAL_TCP_UDP(1), /** + * + * *
      * Network TCP/UDP load balancer.
      * 
@@ -86,6 +112,8 @@ public enum LoadBalancerType */ NETWORK_TCP_UDP(2), /** + * + * *
      * HTTP(S) proxy load balancer.
      * 
@@ -94,6 +122,8 @@ public enum LoadBalancerType */ HTTP_PROXY(3), /** + * + * *
      * TCP proxy load balancer.
      * 
@@ -102,6 +132,8 @@ public enum LoadBalancerType */ TCP_PROXY(4), /** + * + * *
      * SSL proxy load balancer.
      * 
@@ -113,6 +145,8 @@ public enum LoadBalancerType ; /** + * + * *
      * Type is unspecified.
      * 
@@ -121,6 +155,8 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Internal TCP/UDP load balancer.
      * 
@@ -129,6 +165,8 @@ public enum LoadBalancerType */ public static final int INTERNAL_TCP_UDP_VALUE = 1; /** + * + * *
      * Network TCP/UDP load balancer.
      * 
@@ -137,6 +175,8 @@ public enum LoadBalancerType */ public static final int NETWORK_TCP_UDP_VALUE = 2; /** + * + * *
      * HTTP(S) proxy load balancer.
      * 
@@ -145,6 +185,8 @@ public enum LoadBalancerType */ public static final int HTTP_PROXY_VALUE = 3; /** + * + * *
      * TCP proxy load balancer.
      * 
@@ -153,6 +195,8 @@ public enum LoadBalancerType */ public static final int TCP_PROXY_VALUE = 4; /** + * + * *
      * SSL proxy load balancer.
      * 
@@ -161,7 +205,6 @@ public enum LoadBalancerType */ public static final int SSL_PROXY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,43 +229,51 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: return INTERNAL_TCP_UDP; - case 2: return NETWORK_TCP_UDP; - case 3: return HTTP_PROXY; - case 4: return TCP_PROXY; - case 5: return SSL_PROXY; - default: return null; + case 0: + return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: + return INTERNAL_TCP_UDP; + case 2: + return NETWORK_TCP_UDP; + case 3: + return HTTP_PROXY; + case 4: + return TCP_PROXY; + case 5: + return SSL_PROXY; + 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< - LoadBalancerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.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 LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.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.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final LoadBalancerType[] VALUES = values(); @@ -230,8 +281,7 @@ public LoadBalancerType findValueByNumber(int number) { public static LoadBalancerType 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; @@ -249,15 +299,18 @@ private LoadBalancerType(int value) { } /** + * + * *
    * The type definition for a load balancer backend configuration:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType} */ - public enum BackendType - implements com.google.protobuf.ProtocolMessageEnum { + public enum BackendType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type is unspecified.
      * 
@@ -266,6 +319,8 @@ public enum BackendType */ BACKEND_TYPE_UNSPECIFIED(0), /** + * + * *
      * Backend Service as the load balancer's backend.
      * 
@@ -274,6 +329,8 @@ public enum BackendType */ BACKEND_SERVICE(1), /** + * + * *
      * Target Pool as the load balancer's backend.
      * 
@@ -285,6 +342,8 @@ public enum BackendType ; /** + * + * *
      * Type is unspecified.
      * 
@@ -293,6 +352,8 @@ public enum BackendType */ public static final int BACKEND_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Backend Service as the load balancer's backend.
      * 
@@ -301,6 +362,8 @@ public enum BackendType */ public static final int BACKEND_SERVICE_VALUE = 1; /** + * + * *
      * Target Pool as the load balancer's backend.
      * 
@@ -309,7 +372,6 @@ public enum BackendType */ public static final int TARGET_POOL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -334,49 +396,51 @@ public static BackendType valueOf(int value) { */ public static BackendType forNumber(int value) { switch (value) { - case 0: return BACKEND_TYPE_UNSPECIFIED; - case 1: return BACKEND_SERVICE; - case 2: return TARGET_POOL; - default: return null; + case 0: + return BACKEND_TYPE_UNSPECIFIED; + case 1: + return BACKEND_SERVICE; + case 2: + return TARGET_POOL; + 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< - BackendType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BackendType findValueByNumber(int number) { - return BackendType.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 BackendType findValueByNumber(int number) { + return BackendType.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.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDescriptor() + .getEnumTypes() + .get(1); } private static final BackendType[] VALUES = values(); - public static BackendType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BackendType 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; @@ -396,38 +460,59 @@ private BackendType(int value) { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 1; private int loadBalancerType_ = 0; /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The loadBalancerType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType + getLoadBalancerType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber( + loadBalancerType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED + : result; } public static final int HEALTH_CHECK_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object healthCheckUri_ = ""; /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The healthCheckUri. */ @java.lang.Override @@ -436,29 +521,29 @@ public java.lang.String getHealthCheckUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; } } /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The bytes for healthCheckUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getHealthCheckUriBytes() { + public com.google.protobuf.ByteString getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -467,9 +552,12 @@ public java.lang.String getHealthCheckUri() { } public static final int BACKENDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List backends_; /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -477,10 +565,13 @@ public java.lang.String getHealthCheckUri() { * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List getBackendsList() { + public java.util.List + getBackendsList() { return backends_; } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -488,11 +579,14 @@ public java.util.Listrepeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> getBackendsOrBuilderList() { return backends_; } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -504,6 +598,8 @@ public int getBackendsCount() { return backends_.size(); } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -515,6 +611,8 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackend return backends_.get(index); } /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -522,46 +620,64 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackend * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder getBackendsOrBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder + getBackendsOrBuilder(int index) { return backends_.get(index); } public static final int BACKEND_TYPE_FIELD_NUMBER = 4; private int backendType_ = 0; /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override public int getBackendTypeValue() { + @java.lang.Override + public int getBackendTypeValue() { return backendType_; } /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The backendType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber(backendType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber( + backendType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED + : result; } public static final int BACKEND_URI_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object backendUri_ = ""; /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The backendUri. */ @java.lang.Override @@ -570,29 +686,29 @@ public java.lang.String getBackendUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; } } /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The bytes for backendUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackendUriBytes() { + public com.google.protobuf.ByteString getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backendUri_ = b; return b; } else { @@ -601,6 +717,7 @@ public java.lang.String getBackendUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -612,9 +729,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (loadBalancerType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (loadBalancerType_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType + .LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { @@ -623,7 +742,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < backends_.size(); i++) { output.writeMessage(3, backends_.get(i)); } - if (backendType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { + if (backendType_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType + .BACKEND_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { @@ -638,20 +760,23 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (loadBalancerType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, loadBalancerType_); + if (loadBalancerType_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType + .LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, loadBalancerType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, healthCheckUri_); } for (int i = 0; i < backends_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, backends_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, backends_.get(i)); } - if (backendType_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.BACKEND_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, backendType_); + if (backendType_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType + .BACKEND_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, backendType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backendUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, backendUri_); @@ -664,21 +789,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.networkmanagement.v1beta1.LoadBalancerInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo other = (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) obj; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo other = + (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) obj; if (loadBalancerType_ != other.loadBalancerType_) return false; - if (!getHealthCheckUri() - .equals(other.getHealthCheckUri())) return false; - if (!getBackendsList() - .equals(other.getBackendsList())) return false; + if (!getHealthCheckUri().equals(other.getHealthCheckUri())) return false; + if (!getBackendsList().equals(other.getBackendsList())) return false; if (backendType_ != other.backendType_) return false; - if (!getBackendUri() - .equals(other.getBackendUri())) return false; + if (!getBackendUri().equals(other.getBackendUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -708,129 +831,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo 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.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a load balancer.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.LoadBalancerInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.class, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.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(); @@ -850,9 +980,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor; } @java.lang.Override @@ -871,14 +1001,18 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo(this); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result = + new com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo result) { if (backendsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { backends_ = java.util.Collections.unmodifiableList(backends_); @@ -910,38 +1044,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.LoadBalanc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) other); } else { super.mergeFrom(other); return this; @@ -949,7 +1084,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance()) + return this; if (other.loadBalancerType_ != 0) { setLoadBalancerTypeValue(other.getLoadBalancerTypeValue()); } @@ -976,9 +1112,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.LoadBalancer backendsBuilder_ = null; backends_ = other.backends_; bitField0_ = (bitField0_ & ~0x00000004); - backendsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBackendsFieldBuilder() : null; + backendsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBackendsFieldBuilder() + : null; } else { backendsBuilder_.addAllMessages(other.backends_); } @@ -1018,45 +1155,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - loadBalancerType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - healthCheckUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.parser(), - extensionRegistry); - if (backendsBuilder_ == null) { - ensureBackendsIsMutable(); - backends_.add(m); - } else { - backendsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - backendType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - backendUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + loadBalancerType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + healthCheckUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.parser(), + extensionRegistry); + if (backendsBuilder_ == null) { + ensureBackendsIsMutable(); + backends_.add(m); + } else { + backendsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + backendType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + backendUri_ = 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) { @@ -1066,26 +1209,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int loadBalancerType_ = 0; /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ @@ -1096,28 +1251,45 @@ public Builder setLoadBalancerTypeValue(int value) { return this; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The loadBalancerType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber(loadBalancerType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType + getLoadBalancerType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType result = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType.forNumber( + loadBalancerType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType + .UNRECOGNIZED + : result; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType value) { + public Builder setLoadBalancerType( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } @@ -1127,11 +1299,16 @@ public Builder setLoadBalancerType(com.google.cloud.networkmanagement.v1beta1.Lo return this; } /** + * + * *
      * Type of the load balancer.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return This builder for chaining. */ public Builder clearLoadBalancerType() { @@ -1143,18 +1320,20 @@ public Builder clearLoadBalancerType() { private java.lang.Object healthCheckUri_ = ""; /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @return The healthCheckUri. */ public java.lang.String getHealthCheckUri() { java.lang.Object ref = healthCheckUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckUri_ = s; return s; @@ -1163,20 +1342,21 @@ public java.lang.String getHealthCheckUri() { } } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @return The bytes for healthCheckUri. */ - public com.google.protobuf.ByteString - getHealthCheckUriBytes() { + public com.google.protobuf.ByteString getHealthCheckUriBytes() { java.lang.Object ref = healthCheckUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); healthCheckUri_ = b; return b; } else { @@ -1184,28 +1364,35 @@ public java.lang.String getHealthCheckUri() { } } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @param value The healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } healthCheckUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @return This builder for chaining. */ public Builder clearHealthCheckUri() { @@ -1215,17 +1402,21 @@ public Builder clearHealthCheckUri() { return this; } /** + * + * *
      * URI of the health check for the load balancer.
      * 
* * string health_check_uri = 2; + * * @param value The bytes for healthCheckUri to set. * @return This builder for chaining. */ - public Builder setHealthCheckUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHealthCheckUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); healthCheckUri_ = value; bitField0_ |= 0x00000002; @@ -1233,26 +1424,36 @@ public Builder setHealthCheckUriBytes( return this; } - private java.util.List backends_ = - java.util.Collections.emptyList(); + private java.util.List + backends_ = java.util.Collections.emptyList(); + private void ensureBackendsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - backends_ = new java.util.ArrayList(backends_); + backends_ = + new java.util.ArrayList( + backends_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> backendsBuilder_; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> + backendsBuilder_; /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public java.util.List getBackendsList() { + public java.util.List + getBackendsList() { if (backendsBuilder_ == null) { return java.util.Collections.unmodifiableList(backends_); } else { @@ -1260,11 +1461,14 @@ public java.util.List * Information for the loadbalancer backends. *
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public int getBackendsCount() { if (backendsBuilder_ == null) { @@ -1274,11 +1478,14 @@ public int getBackendsCount() { } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackends(int index) { if (backendsBuilder_ == null) { @@ -1288,11 +1495,14 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackend } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder setBackends( int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { @@ -1309,14 +1519,18 @@ public Builder setBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder setBackends( - int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.set(index, builderForValue.build()); @@ -1327,13 +1541,17 @@ public Builder setBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public Builder addBackends(com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { + public Builder addBackends( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { if (backendsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1347,11 +1565,14 @@ public Builder addBackends(com.google.cloud.networkmanagement.v1beta1.LoadBalanc return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder addBackends( int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend value) { @@ -1368,11 +1589,14 @@ public Builder addBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder addBackends( com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { @@ -1386,14 +1610,18 @@ public Builder addBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder addBackends( - int index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { + int index, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder builderForValue) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); backends_.add(index, builderForValue.build()); @@ -1404,18 +1632,21 @@ public Builder addBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder addAllBackends( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (backendsBuilder_ == null) { ensureBackendsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, backends_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backends_); onChanged(); } else { backendsBuilder_.addAllMessages(values); @@ -1423,11 +1654,14 @@ public Builder addAllBackends( return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder clearBackends() { if (backendsBuilder_ == null) { @@ -1440,11 +1674,14 @@ public Builder clearBackends() { return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ public Builder removeBackends(int index) { if (backendsBuilder_ == null) { @@ -1457,39 +1694,50 @@ public Builder removeBackends(int index) { return this; } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder getBackendsBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder + getBackendsBuilder(int index) { return getBackendsFieldBuilder().getBuilder(index); } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder getBackendsOrBuilder( - int index) { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder + getBackendsOrBuilder(int index) { if (backendsBuilder_ == null) { - return backends_.get(index); } else { + return backends_.get(index); + } else { return backendsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public java.util.List - getBackendsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> + getBackendsOrBuilderList() { if (backendsBuilder_ != null) { return backendsBuilder_.getMessageOrBuilderList(); } else { @@ -1497,49 +1745,65 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder g } } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder addBackendsBuilder() { - return getBackendsFieldBuilder().addBuilder( - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder + addBackendsBuilder() { + return getBackendsFieldBuilder() + .addBuilder( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder addBackendsBuilder( - int index) { - return getBackendsFieldBuilder().addBuilder( - index, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder + addBackendsBuilder(int index) { + return getBackendsFieldBuilder() + .addBuilder( + index, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.getDefaultInstance()); } /** + * + * *
      * Information for the loadbalancer backends.
      * 
* - * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; + * */ - public java.util.List - getBackendsBuilderList() { + public java.util.List + getBackendsBuilderList() { return getBackendsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> getBackendsFieldBuilder() { if (backendsBuilder_ == null) { - backendsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder>( - backends_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + backendsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder>( + backends_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); backends_ = null; } return backendsBuilder_; @@ -1547,22 +1811,31 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder ad private int backendType_ = 0; /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The enum numeric value on the wire for backendType. */ - @java.lang.Override public int getBackendTypeValue() { + @java.lang.Override + public int getBackendTypeValue() { return backendType_; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @param value The enum numeric value on the wire for backendType to set. * @return This builder for chaining. */ @@ -1573,28 +1846,42 @@ public Builder setBackendTypeValue(int value) { return this; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The backendType. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType() { - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber(backendType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType + getBackendType() { + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType result = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.forNumber( + backendType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @param value The backendType to set. * @return This builder for chaining. */ - public Builder setBackendType(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType value) { + public Builder setBackendType( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType value) { if (value == null) { throw new NullPointerException(); } @@ -1604,11 +1891,15 @@ public Builder setBackendType(com.google.cloud.networkmanagement.v1beta1.LoadBal return this; } /** + * + * *
      * Type of load balancer's backend configuration.
      * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return This builder for chaining. */ public Builder clearBackendType() { @@ -1620,18 +1911,20 @@ public Builder clearBackendType() { private java.lang.Object backendUri_ = ""; /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @return The backendUri. */ public java.lang.String getBackendUri() { java.lang.Object ref = backendUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backendUri_ = s; return s; @@ -1640,20 +1933,21 @@ public java.lang.String getBackendUri() { } } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @return The bytes for backendUri. */ - public com.google.protobuf.ByteString - getBackendUriBytes() { + public com.google.protobuf.ByteString getBackendUriBytes() { java.lang.Object ref = backendUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backendUri_ = b; return b; } else { @@ -1661,28 +1955,35 @@ public java.lang.String getBackendUri() { } } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @param value The backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackendUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backendUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @return This builder for chaining. */ public Builder clearBackendUri() { @@ -1692,26 +1993,30 @@ public Builder clearBackendUri() { return this; } /** + * + * *
      * Backend configuration URI.
      * 
* * string backend_uri = 5; + * * @param value The bytes for backendUri to set. * @return This builder for chaining. */ - public Builder setBackendUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackendUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backendUri_ = 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); } @@ -1721,12 +2026,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) private static final com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo(); } @@ -1735,27 +2040,27 @@ public static com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadBalancerInfo 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 LoadBalancerInfo 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; @@ -1770,6 +2075,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java similarity index 70% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java index 51e9c8df3c0c..84015c49cf0a 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/LoadBalancerInfoOrBuilder.java @@ -1,61 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface LoadBalancerInfoOrBuilder extends +public interface LoadBalancerInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** + * + * *
    * Type of the load balancer.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1; + * + * * @return The loadBalancerType. */ - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType getLoadBalancerType(); + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.LoadBalancerType + getLoadBalancerType(); /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The healthCheckUri. */ java.lang.String getHealthCheckUri(); /** + * + * *
    * URI of the health check for the load balancer.
    * 
* * string health_check_uri = 2; + * * @return The bytes for healthCheckUri. */ - com.google.protobuf.ByteString - getHealthCheckUriBytes(); + com.google.protobuf.ByteString getHealthCheckUriBytes(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - java.util.List - getBackendsList(); + java.util.List getBackendsList(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -64,6 +99,8 @@ public interface LoadBalancerInfoOrBuilder extends */ com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend getBackends(int index); /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -72,15 +109,19 @@ public interface LoadBalancerInfoOrBuilder extends */ int getBackendsCount(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
* * repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3; */ - java.util.List + java.util.List getBackendsOrBuilderList(); /** + * + * *
    * Information for the loadbalancer backends.
    * 
@@ -91,41 +132,54 @@ com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder getBacke int index); /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The enum numeric value on the wire for backendType. */ int getBackendTypeValue(); /** + * + * *
    * Type of load balancer's backend configuration.
    * 
* - * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType backend_type = 4; + * + * * @return The backendType. */ com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType getBackendType(); /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The backendUri. */ java.lang.String getBackendUri(); /** + * + * *
    * Backend configuration URI.
    * 
* * string backend_uri = 5; + * * @return The bytes for backendUri. */ - com.google.protobuf.ByteString - getBackendUriBytes(); + com.google.protobuf.ByteString getBackendUriBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java similarity index 68% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java index 1117bbb17eea..d80cb996cda6 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine network.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.NetworkInfo} */ -public final class NetworkInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NetworkInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.NetworkInfo) NetworkInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkInfo.newBuilder() to construct. private NetworkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkInfo() { displayName_ = ""; uri_ = ""; @@ -27,38 +45,43 @@ private NetworkInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -67,29 +90,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -145,14 +172,18 @@ public java.lang.String getUri() { } public static final int MATCHED_IP_RANGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object matchedIpRange_ = ""; /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The matchedIpRange. */ @java.lang.Override @@ -161,29 +192,29 @@ public java.lang.String getMatchedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; } } /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The bytes for matchedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -192,6 +223,7 @@ public java.lang.String getMatchedIpRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +235,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -240,19 +271,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.NetworkInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.NetworkInfo other = (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) obj; + com.google.cloud.networkmanagement.v1beta1.NetworkInfo other = + (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getMatchedIpRange() - .equals(other.getMatchedIpRange())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getMatchedIpRange().equals(other.getMatchedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,129 +305,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo 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.networkmanagement.v1beta1.NetworkInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.NetworkInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.NetworkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine network.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.NetworkInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.NetworkInfo) com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.class, + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.NetworkInfo.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(); @@ -410,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor; } @java.lang.Override @@ -431,8 +467,11 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.NetworkInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.NetworkInfo result = new com.google.cloud.networkmanagement.v1beta1.NetworkInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.NetworkInfo result = + new com.google.cloud.networkmanagement.v1beta1.NetworkInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -454,38 +493,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.NetworkInf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.NetworkInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.NetworkInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.NetworkInfo) other); } else { super.mergeFrom(other); return this; @@ -493,7 +533,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.NetworkInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -535,27 +576,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - matchedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + matchedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -565,22 +610,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -589,20 +637,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -610,28 +659,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -641,17 +697,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine network.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -661,18 +721,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -681,20 +743,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -702,28 +765,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -733,17 +803,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -753,18 +827,20 @@ public Builder setUriBytes( private java.lang.Object matchedIpRange_ = ""; /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @return The matchedIpRange. */ public java.lang.String getMatchedIpRange() { java.lang.Object ref = matchedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); matchedIpRange_ = s; return s; @@ -773,20 +849,21 @@ public java.lang.String getMatchedIpRange() { } } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @return The bytes for matchedIpRange. */ - public com.google.protobuf.ByteString - getMatchedIpRangeBytes() { + public com.google.protobuf.ByteString getMatchedIpRangeBytes() { java.lang.Object ref = matchedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); matchedIpRange_ = b; return b; } else { @@ -794,28 +871,35 @@ public java.lang.String getMatchedIpRange() { } } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @param value The matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } matchedIpRange_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @return This builder for chaining. */ public Builder clearMatchedIpRange() { @@ -825,26 +909,30 @@ public Builder clearMatchedIpRange() { return this; } /** + * + * *
      * The IP range that matches the test.
      * 
* * string matched_ip_range = 4; + * * @param value The bytes for matchedIpRange to set. * @return This builder for chaining. */ - public Builder setMatchedIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMatchedIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); matchedIpRange_ = 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); } @@ -854,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.NetworkInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.NetworkInfo) private static final com.google.cloud.networkmanagement.v1beta1.NetworkInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.NetworkInfo(); } @@ -868,27 +956,27 @@ public static com.google.cloud.networkmanagement.v1beta1.NetworkInfo getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkInfo 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 NetworkInfo 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; @@ -903,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java similarity index 60% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java index 89e4a8fc3289..8d3944999f10 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/NetworkInfoOrBuilder.java @@ -1,69 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface NetworkInfoOrBuilder extends +public interface NetworkInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.NetworkInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine network.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The matchedIpRange. */ java.lang.String getMatchedIpRange(); /** + * + * *
    * The IP range that matches the test.
    * 
* * string matched_ip_range = 4; + * * @return The bytes for matchedIpRange. */ - com.google.protobuf.ByteString - getMatchedIpRangeBytes(); + com.google.protobuf.ByteString getMatchedIpRangeBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java index 7ee55aad674b..28da9bbb8ffa 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Metadata describing an [Operation][google.longrunning.Operation]
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,37 +46,41 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, + com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -92,11 +119,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -104,11 +134,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -116,6 +149,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -128,15 +163,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -145,30 +184,30 @@ 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; } } /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -177,14 +216,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -193,29 +236,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -224,14 +267,18 @@ public java.lang.String getVerb() { } public static final int STATUS_DETAIL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusDetail_ = ""; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -240,29 +287,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -273,11 +320,14 @@ public java.lang.String getStatusDetail() { public static final int CANCEL_REQUESTED_FIELD_NUMBER = 6; private boolean cancelRequested_ = false; /** + * + * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; + * * @return The cancelRequested. */ @java.lang.Override @@ -286,14 +336,18 @@ public boolean getCancelRequested() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ @java.lang.Override @@ -302,29 +356,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -333,6 +387,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -377,12 +431,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -394,8 +446,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_); } if (cancelRequested_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, cancelRequested_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancelRequested_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -408,33 +459,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.OperationMetadata other = (com.google.cloud.networkmanagement.v1beta1.OperationMetadata) obj; + com.google.cloud.networkmanagement.v1beta1.OperationMetadata other = + (com.google.cloud.networkmanagement.v1beta1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusDetail() - .equals(other.getStatusDetail())) return false; - if (getCancelRequested() - != other.getCancelRequested()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (getCancelRequested() != other.getCancelRequested()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -461,8 +506,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER; hash = (53 * hash) + getStatusDetail().hashCode(); hash = (37 * hash) + CANCEL_REQUESTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCancelRequested()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancelRequested()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -471,129 +515,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata describing an [Operation][google.longrunning.Operation]
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.OperationMetadata) com.google.cloud.networkmanagement.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.networkmanagement.v1beta1.OperationMetadata.class, + com.google.cloud.networkmanagement.v1beta1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.OperationMetadata.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(); @@ -617,13 +668,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.OperationMetadata getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.OperationMetadata + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.OperationMetadata.getDefaultInstance(); } @@ -638,23 +690,23 @@ public com.google.cloud.networkmanagement.v1beta1.OperationMetadata build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.networkmanagement.v1beta1.OperationMetadata result = new com.google.cloud.networkmanagement.v1beta1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.OperationMetadata result = + new com.google.cloud.networkmanagement.v1beta1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.OperationMetadata result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -677,38 +729,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.OperationM public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.OperationMetadata)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -716,7 +769,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.OperationMetadata other) { - if (other == com.google.cloud.networkmanagement.v1beta1.OperationMetadata.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -772,51 +827,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: { - statusDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - cancelRequested_ = 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: + { + statusDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + cancelRequested_ = 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) { @@ -826,38 +885,52 @@ 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_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -878,14 +951,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -896,6 +970,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -904,9 +980,9 @@ public Builder setCreateTime( */ 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; @@ -919,6 +995,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -936,6 +1014,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -948,6 +1028,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -958,11 +1040,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -970,14 +1055,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -985,24 +1073,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1013,6 +1110,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1033,14 +1132,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1051,6 +1151,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1059,9 +1161,9 @@ public Builder setEndTime( */ 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; @@ -1074,6 +1176,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1091,6 +1195,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1103,6 +1209,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1113,11 +1221,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1125,14 +1234,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1140,19 +1252,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1161,21 +1275,22 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1183,30 +1298,37 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @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; } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1216,18 +1338,22 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Target of the operation - for example
      * projects/project-1/locations/global/connectivityTests/test-1
      * 
* * string target = 3; + * * @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; @@ -1237,18 +1363,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1257,20 +1385,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1278,28 +1407,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - 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; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1309,17 +1445,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - 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; @@ -1329,18 +1469,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1349,20 +1491,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1370,28 +1513,35 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusDetail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { @@ -1401,17 +1551,21 @@ public Builder clearStatusDetail() { return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusDetail_ = value; bitField0_ |= 0x00000010; @@ -1419,13 +1573,16 @@ public Builder setStatusDetailBytes( return this; } - private boolean cancelRequested_ ; + private boolean cancelRequested_; /** + * + * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; + * * @return The cancelRequested. */ @java.lang.Override @@ -1433,27 +1590,33 @@ public boolean getCancelRequested() { return cancelRequested_; } /** + * + * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; + * * @param value The cancelRequested to set. * @return This builder for chaining. */ public Builder setCancelRequested(boolean value) { - + cancelRequested_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Specifies if cancellation was requested for the operation.
      * 
* * bool cancel_requested = 6; + * * @return This builder for chaining. */ public Builder clearCancelRequested() { @@ -1465,18 +1628,20 @@ public Builder clearCancelRequested() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1485,20 +1650,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1506,28 +1672,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @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; } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1537,26 +1710,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * API version.
      * 
* * string api_version = 7; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -1566,12 +1743,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.OperationMetadata) - private static final com.google.cloud.networkmanagement.v1beta1.OperationMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.OperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.OperationMetadata(); } @@ -1580,27 +1758,27 @@ public static com.google.cloud.networkmanagement.v1beta1.OperationMetadata getDe 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; @@ -1615,6 +1793,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java index 493b43f90686..a8f911a5b56a 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,94 +94,117 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Target of the operation - for example
    * projects/project-1/locations/global/connectivityTests/test-1
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * Specifies if cancellation was requested for the operation.
    * 
* * bool cancel_requested = 6; + * * @return The cancelRequested. */ boolean getCancelRequested(); /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java similarity index 69% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java index 2526e9240795..94550d5f886e 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetails.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Results of active probing from the last run of the test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails} */ -public final class ProbingDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProbingDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails) ProbingDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProbingDetails.newBuilder() to construct. private ProbingDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProbingDetails() { result_ = 0; abortCause_ = 0; @@ -26,39 +44,43 @@ private ProbingDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProbingDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); } /** + * + * *
    * Overall probing result of the test.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult} */ - public enum ProbingResult - implements com.google.protobuf.ProtocolMessageEnum { + public enum ProbingResult implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No result was specified.
      * 
@@ -67,6 +89,8 @@ public enum ProbingResult */ PROBING_RESULT_UNSPECIFIED(0), /** + * + * *
      * At least 95% of packets reached the destination.
      * 
@@ -75,6 +99,8 @@ public enum ProbingResult */ REACHABLE(1), /** + * + * *
      * No packets reached the destination.
      * 
@@ -83,6 +109,8 @@ public enum ProbingResult */ UNREACHABLE(2), /** + * + * *
      * Less than 95% of packets reached the destination.
      * 
@@ -91,6 +119,8 @@ public enum ProbingResult */ REACHABILITY_INCONSISTENT(3), /** + * + * *
      * Reachability could not be determined. Possible reasons are:
      * * The user lacks permission to access some of the network resources
@@ -106,6 +136,8 @@ public enum ProbingResult
     ;
 
     /**
+     *
+     *
      * 
      * No result was specified.
      * 
@@ -114,6 +146,8 @@ public enum ProbingResult */ public static final int PROBING_RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * At least 95% of packets reached the destination.
      * 
@@ -122,6 +156,8 @@ public enum ProbingResult */ public static final int REACHABLE_VALUE = 1; /** + * + * *
      * No packets reached the destination.
      * 
@@ -130,6 +166,8 @@ public enum ProbingResult */ public static final int UNREACHABLE_VALUE = 2; /** + * + * *
      * Less than 95% of packets reached the destination.
      * 
@@ -138,6 +176,8 @@ public enum ProbingResult */ public static final int REACHABILITY_INCONSISTENT_VALUE = 3; /** + * + * *
      * Reachability could not be determined. Possible reasons are:
      * * The user lacks permission to access some of the network resources
@@ -150,7 +190,6 @@ public enum ProbingResult
      */
     public static final int UNDETERMINED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,51 +214,55 @@ public static ProbingResult valueOf(int value) {
      */
     public static ProbingResult forNumber(int value) {
       switch (value) {
-        case 0: return PROBING_RESULT_UNSPECIFIED;
-        case 1: return REACHABLE;
-        case 2: return UNREACHABLE;
-        case 3: return REACHABILITY_INCONSISTENT;
-        case 4: return UNDETERMINED;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return PROBING_RESULT_UNSPECIFIED;
+        case 1:
+          return REACHABLE;
+        case 2:
+          return UNREACHABLE;
+        case 3:
+          return REACHABILITY_INCONSISTENT;
+        case 4:
+          return UNDETERMINED;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ProbingResult> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ProbingResult findValueByNumber(int number) {
-              return ProbingResult.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 ProbingResult findValueByNumber(int number) {
+            return ProbingResult.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.networkmanagement.v1beta1.ProbingDetails.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final ProbingResult[] VALUES = values();
 
-    public static ProbingResult valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ProbingResult 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;
@@ -237,15 +280,18 @@ private ProbingResult(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Abort cause types.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause} */ - public enum ProbingAbortCause - implements com.google.protobuf.ProtocolMessageEnum { + public enum ProbingAbortCause implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No reason was specified.
      * 
@@ -254,6 +300,8 @@ public enum ProbingAbortCause */ PROBING_ABORT_CAUSE_UNSPECIFIED(0), /** + * + * *
      * The user lacks permission to access some of the
      * network resources required to run the test.
@@ -263,6 +311,8 @@ public enum ProbingAbortCause
      */
     PERMISSION_DENIED(1),
     /**
+     *
+     *
      * 
      * No valid source endpoint could be derived from the request.
      * 
@@ -274,6 +324,8 @@ public enum ProbingAbortCause ; /** + * + * *
      * No reason was specified.
      * 
@@ -282,6 +334,8 @@ public enum ProbingAbortCause */ public static final int PROBING_ABORT_CAUSE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The user lacks permission to access some of the
      * network resources required to run the test.
@@ -291,6 +345,8 @@ public enum ProbingAbortCause
      */
     public static final int PERMISSION_DENIED_VALUE = 1;
     /**
+     *
+     *
      * 
      * No valid source endpoint could be derived from the request.
      * 
@@ -299,7 +355,6 @@ public enum ProbingAbortCause */ public static final int NO_SOURCE_LOCATION_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -324,10 +379,14 @@ public static ProbingAbortCause valueOf(int value) { */ public static ProbingAbortCause forNumber(int value) { switch (value) { - case 0: return PROBING_ABORT_CAUSE_UNSPECIFIED; - case 1: return PERMISSION_DENIED; - case 2: return NO_SOURCE_LOCATION; - default: return null; + case 0: + return PROBING_ABORT_CAUSE_UNSPECIFIED; + case 1: + return PERMISSION_DENIED; + case 2: + return NO_SOURCE_LOCATION; + default: + return null; } } @@ -335,29 +394,31 @@ public static ProbingAbortCause forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ProbingAbortCause> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProbingAbortCause findValueByNumber(int number) { - return ProbingAbortCause.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 ProbingAbortCause findValueByNumber(int number) { + return ProbingAbortCause.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.networkmanagement.v1beta1.ProbingDetails.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDescriptor() + .getEnumTypes() + .get(1); } private static final ProbingAbortCause[] VALUES = values(); @@ -365,8 +426,7 @@ public ProbingAbortCause findValueByNumber(int number) { public static ProbingAbortCause valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -383,31 +443,39 @@ private ProbingAbortCause(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause) } - public interface EdgeLocationOrBuilder extends + public interface EdgeLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; + * * @return The metropolitanArea. */ java.lang.String getMetropolitanArea(); /** + * + * *
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; + * * @return The bytes for metropolitanArea. */ - com.google.protobuf.ByteString - getMetropolitanAreaBytes(); + com.google.protobuf.ByteString getMetropolitanAreaBytes(); } /** + * + * *
    * Representation of a network edge location as per
    * https://cloud.google.com/vpc/docs/edge-locations.
@@ -415,53 +483,59 @@ public interface EdgeLocationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation}
    */
-  public static final class EdgeLocation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class EdgeLocation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
       EdgeLocationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use EdgeLocation.newBuilder() to construct.
     private EdgeLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private EdgeLocation() {
       metropolitanArea_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new EdgeLocation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+          .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+          .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class,
+              com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
     }
 
     public static final int METROPOLITAN_AREA_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object metropolitanArea_ = "";
     /**
+     *
+     *
      * 
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; + * * @return The metropolitanArea. */ @java.lang.Override @@ -470,29 +544,29 @@ public java.lang.String getMetropolitanArea() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metropolitanArea_ = s; return s; } } /** + * + * *
      * Name of the metropolitan area.
      * 
* * string metropolitan_area = 1; + * * @return The bytes for metropolitanArea. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetropolitanAreaBytes() { + public com.google.protobuf.ByteString getMetropolitanAreaBytes() { java.lang.Object ref = metropolitanArea_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metropolitanArea_ = b; return b; } else { @@ -501,6 +575,7 @@ public java.lang.String getMetropolitanArea() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,8 +587,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(metropolitanArea_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metropolitanArea_); } @@ -537,15 +611,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.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)) { + if (!(obj + instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other = (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) obj; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other = + (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) obj; - if (!getMetropolitanArea() - .equals(other.getMetropolitanArea())) return false; + if (!getMetropolitanArea().equals(other.getMetropolitanArea())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -565,87 +640,95 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -655,6 +738,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Representation of a network edge location as per
      * https://cloud.google.com/vpc/docs/edge-locations.
@@ -662,33 +747,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)
         com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+            .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
+        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+            .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder.class);
+                com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.class,
+                com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.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();
@@ -698,19 +785,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.networkmanagement.v1beta1.TestOuterClass
+            .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDefaultInstanceForType() {
-        return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance();
+      public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+          getDefaultInstanceForType() {
+        return com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation build() {
-        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result = buildPartial();
+        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -719,13 +809,17 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation bu
 
       @java.lang.Override
       public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation buildPartial() {
-        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result =
+            new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result) {
+      private void buildPartial0(
+          com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.metropolitanArea_ = metropolitanArea_;
@@ -736,46 +830,54 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) {
-          return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation)other);
+        if (other
+            instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) {
+          return mergeFrom(
+              (com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other) {
-        if (other == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation other) {
+        if (other
+            == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+                .getDefaultInstance()) return this;
         if (!other.getMetropolitanArea().isEmpty()) {
           metropolitanArea_ = other.metropolitanArea_;
           bitField0_ |= 0x00000001;
@@ -807,17 +909,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                metropolitanArea_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  metropolitanArea_ = 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) {
@@ -827,22 +931,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object metropolitanArea_ = "";
       /**
+       *
+       *
        * 
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; + * * @return The metropolitanArea. */ public java.lang.String getMetropolitanArea() { java.lang.Object ref = metropolitanArea_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metropolitanArea_ = s; return s; @@ -851,20 +958,21 @@ public java.lang.String getMetropolitanArea() { } } /** + * + * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; + * * @return The bytes for metropolitanArea. */ - public com.google.protobuf.ByteString - getMetropolitanAreaBytes() { + public com.google.protobuf.ByteString getMetropolitanAreaBytes() { java.lang.Object ref = metropolitanArea_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metropolitanArea_ = b; return b; } else { @@ -872,28 +980,35 @@ public java.lang.String getMetropolitanArea() { } } /** + * + * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; + * * @param value The metropolitanArea to set. * @return This builder for chaining. */ - public Builder setMetropolitanArea( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetropolitanArea(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } metropolitanArea_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; + * * @return This builder for chaining. */ public Builder clearMetropolitanArea() { @@ -903,23 +1018,28 @@ public Builder clearMetropolitanArea() { return this; } /** + * + * *
        * Name of the metropolitan area.
        * 
* * string metropolitan_area = 1; + * * @param value The bytes for metropolitanArea to set. * @return This builder for chaining. */ - public Builder setMetropolitanAreaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetropolitanAreaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); metropolitanArea_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -932,41 +1052,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation) - private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation(); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EdgeLocation 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 EdgeLocation 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; @@ -978,46 +1102,60 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int RESULT_FIELD_NUMBER = 1; private int result_ = 0; /** + * + * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return The result. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber(result_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult() { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber(result_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED + : result; } public static final int VERIFY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp verifyTime_; /** + * + * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ @java.lang.Override @@ -1025,11 +1163,14 @@ public boolean hasVerifyTime() { return verifyTime_ != null; } /** + * + * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ @java.lang.Override @@ -1037,6 +1178,8 @@ public com.google.protobuf.Timestamp getVerifyTime() { return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } /** + * + * *
    * The time that reachability was assessed through active probing.
    * 
@@ -1051,11 +1194,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** + * + * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1063,11 +1209,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -1075,6 +1224,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Details about an internal failure or the cancellation of active probing.
    * 
@@ -1089,37 +1240,55 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { public static final int ABORT_CAUSE_FIELD_NUMBER = 4; private int abortCause_ = 0; /** + * + * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return The enum numeric value on the wire for abortCause. */ - @java.lang.Override public int getAbortCauseValue() { + @java.lang.Override + public int getAbortCauseValue() { return abortCause_; } /** + * + * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return The abortCause. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause getAbortCause() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber(abortCause_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause + getAbortCause() { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber( + abortCause_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED + : result; } public static final int SENT_PROBE_COUNT_FIELD_NUMBER = 5; private int sentProbeCount_ = 0; /** + * + * *
    * Number of probes sent.
    * 
* * int32 sent_probe_count = 5; + * * @return The sentProbeCount. */ @java.lang.Override @@ -1130,11 +1299,14 @@ public int getSentProbeCount() { public static final int SUCCESSFUL_PROBE_COUNT_FIELD_NUMBER = 6; private int successfulProbeCount_ = 0; /** + * + * *
    * Number of probes that reached the destination.
    * 
* * int32 successful_probe_count = 6; + * * @return The successfulProbeCount. */ @java.lang.Override @@ -1145,12 +1317,15 @@ public int getSuccessfulProbeCount() { public static final int ENDPOINT_INFO_FIELD_NUMBER = 7; private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_; /** + * + * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; + * * @return Whether the endpointInfo field is set. */ @java.lang.Override @@ -1158,19 +1333,26 @@ public boolean hasEndpointInfo() { return endpointInfo_ != null; } /** + * + * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; + * * @return The endpointInfo. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { - return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; + return endpointInfo_ == null + ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() + : endpointInfo_; } /** + * + * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
@@ -1179,19 +1361,25 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo()
    * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
-    return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
+  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
+      getEndpointInfoOrBuilder() {
+    return endpointInfo_ == null
+        ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
+        : endpointInfo_;
   }
 
   public static final int PROBING_LATENCY_FIELD_NUMBER = 8;
   private com.google.cloud.networkmanagement.v1beta1.LatencyDistribution probingLatency_;
   /**
+   *
+   *
    * 
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; + * * @return Whether the probingLatency field is set. */ @java.lang.Override @@ -1199,19 +1387,26 @@ public boolean hasProbingLatency() { return probingLatency_ != null; } /** + * + * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; + * * @return The probingLatency. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbingLatency() { - return probingLatency_ == null ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_; + return probingLatency_ == null + ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() + : probingLatency_; } /** + * + * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
@@ -1220,13 +1415,19 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbing
    * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder getProbingLatencyOrBuilder() {
-    return probingLatency_ == null ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_;
+  public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
+      getProbingLatencyOrBuilder() {
+    return probingLatency_ == null
+        ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()
+        : probingLatency_;
   }
 
   public static final int DESTINATION_EGRESS_LOCATION_FIELD_NUMBER = 9;
-  private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destinationEgressLocation_;
+  private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+      destinationEgressLocation_;
   /**
+   *
+   *
    * 
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -1236,7 +1437,10 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder g
    * destination/source is part of the Google network.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * * @return Whether the destinationEgressLocation field is set. */ @java.lang.Override @@ -1244,6 +1448,8 @@ public boolean hasDestinationEgressLocation() { return destinationEgressLocation_ != null; } /** + * + * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -1253,14 +1459,23 @@ public boolean hasDestinationEgressLocation() {
    * destination/source is part of the Google network.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * * @return The destinationEgressLocation. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDestinationEgressLocation() { - return destinationEgressLocation_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + getDestinationEgressLocation() { + return destinationEgressLocation_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + .getDefaultInstance() + : destinationEgressLocation_; } /** + * + * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -1270,14 +1485,21 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation ge
    * destination/source is part of the Google network.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder() { - return destinationEgressLocation_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder + getDestinationEgressLocationOrBuilder() { + return destinationEgressLocation_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + .getDefaultInstance() + : destinationEgressLocation_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1289,9 +1511,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (result_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.PROBING_RESULT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (result_ + != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult + .PROBING_RESULT_UNSPECIFIED + .getNumber()) { output.writeEnum(1, result_); } if (verifyTime_ != null) { @@ -1300,7 +1524,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (error_ != null) { output.writeMessage(3, getError()); } - if (abortCause_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.PROBING_ABORT_CAUSE_UNSPECIFIED.getNumber()) { + if (abortCause_ + != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause + .PROBING_ABORT_CAUSE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, abortCause_); } if (sentProbeCount_ != 0) { @@ -1327,41 +1554,40 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (result_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.PROBING_RESULT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, result_); + if (result_ + != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult + .PROBING_RESULT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_); } if (verifyTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getVerifyTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyTime()); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError()); } - if (abortCause_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.PROBING_ABORT_CAUSE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, abortCause_); + if (abortCause_ + != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause + .PROBING_ABORT_CAUSE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, abortCause_); } if (sentProbeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, sentProbeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, sentProbeCount_); } if (successfulProbeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, successfulProbeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, successfulProbeCount_); } if (endpointInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getEndpointInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEndpointInfo()); } if (probingLatency_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getProbingLatency()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getProbingLatency()); } if (destinationEgressLocation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDestinationEgressLocation()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, getDestinationEgressLocation()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1371,43 +1597,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.ProbingDetails other = (com.google.cloud.networkmanagement.v1beta1.ProbingDetails) obj; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails other = + (com.google.cloud.networkmanagement.v1beta1.ProbingDetails) obj; if (result_ != other.result_) return false; if (hasVerifyTime() != other.hasVerifyTime()) return false; if (hasVerifyTime()) { - if (!getVerifyTime() - .equals(other.getVerifyTime())) return false; + if (!getVerifyTime().equals(other.getVerifyTime())) return false; } if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } if (abortCause_ != other.abortCause_) return false; - if (getSentProbeCount() - != other.getSentProbeCount()) return false; - if (getSuccessfulProbeCount() - != other.getSuccessfulProbeCount()) return false; + if (getSentProbeCount() != other.getSentProbeCount()) return false; + if (getSuccessfulProbeCount() != other.getSuccessfulProbeCount()) return false; if (hasEndpointInfo() != other.hasEndpointInfo()) return false; if (hasEndpointInfo()) { - if (!getEndpointInfo() - .equals(other.getEndpointInfo())) return false; + if (!getEndpointInfo().equals(other.getEndpointInfo())) return false; } if (hasProbingLatency() != other.hasProbingLatency()) return false; if (hasProbingLatency()) { - if (!getProbingLatency() - .equals(other.getProbingLatency())) return false; + if (!getProbingLatency().equals(other.getProbingLatency())) return false; } if (hasDestinationEgressLocation() != other.hasDestinationEgressLocation()) return false; if (hasDestinationEgressLocation()) { - if (!getDestinationEgressLocation() - .equals(other.getDestinationEgressLocation())) return false; + if (!getDestinationEgressLocation().equals(other.getDestinationEgressLocation())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1454,129 +1675,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails 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.networkmanagement.v1beta1.ProbingDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ProbingDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Results of active probing from the last run of the test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ProbingDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ProbingDetails) com.google.cloud.networkmanagement.v1beta1.ProbingDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.class, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ProbingDetails.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(); @@ -1614,9 +1842,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; } @java.lang.Override @@ -1635,8 +1863,11 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails result = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.ProbingDetails result = + new com.google.cloud.networkmanagement.v1beta1.ProbingDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1647,14 +1878,10 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet result.result_ = result_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyTime_ = verifyTimeBuilder_ == null - ? verifyTime_ - : verifyTimeBuilder_.build(); + result.verifyTime_ = verifyTimeBuilder_ == null ? verifyTime_ : verifyTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.error_ = errorBuilder_ == null - ? error_ - : errorBuilder_.build(); + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.abortCause_ = abortCause_; @@ -1666,19 +1893,18 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet result.successfulProbeCount_ = successfulProbeCount_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.endpointInfo_ = endpointInfoBuilder_ == null - ? endpointInfo_ - : endpointInfoBuilder_.build(); + result.endpointInfo_ = + endpointInfoBuilder_ == null ? endpointInfo_ : endpointInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.probingLatency_ = probingLatencyBuilder_ == null - ? probingLatency_ - : probingLatencyBuilder_.build(); + result.probingLatency_ = + probingLatencyBuilder_ == null ? probingLatency_ : probingLatencyBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.destinationEgressLocation_ = destinationEgressLocationBuilder_ == null - ? destinationEgressLocation_ - : destinationEgressLocationBuilder_.build(); + result.destinationEgressLocation_ = + destinationEgressLocationBuilder_ == null + ? destinationEgressLocation_ + : destinationEgressLocationBuilder_.build(); } } @@ -1686,38 +1912,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ProbingDet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ProbingDetails) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ProbingDetails)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ProbingDetails) other); } else { super.mergeFrom(other); return this; @@ -1725,7 +1952,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ProbingDetails other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.ProbingDetails.getDefaultInstance()) + return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -1779,67 +2007,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getVerifyTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - abortCause_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - sentProbeCount_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - successfulProbeCount_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - input.readMessage( - getEndpointInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - input.readMessage( - getProbingLatencyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - input.readMessage( - getDestinationEgressLocationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getVerifyTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + abortCause_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + sentProbeCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + successfulProbeCount_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + input.readMessage(getEndpointInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + input.readMessage(getProbingLatencyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + input.readMessage( + getDestinationEgressLocationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + 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) { @@ -1849,26 +2078,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int result_ = 0; /** + * + * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -1879,28 +2116,39 @@ public Builder setResultValue(int value) { return this; } /** + * + * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return The result. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber(result_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.forNumber( + result_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult.UNRECOGNIZED + : result; } /** + * + * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult value) { + public Builder setResult( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult value) { if (value == null) { throw new NullPointerException(); } @@ -1910,11 +2158,14 @@ public Builder setResult(com.google.cloud.networkmanagement.v1beta1.ProbingDetai return this; } /** + * + * *
      * The overall result of active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return This builder for chaining. */ public Builder clearResult() { @@ -1926,34 +2177,47 @@ public Builder clearResult() { private com.google.protobuf.Timestamp verifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> verifyTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + verifyTimeBuilder_; /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ public boolean hasVerifyTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ public com.google.protobuf.Timestamp getVerifyTime() { if (verifyTimeBuilder_ == null) { - return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; + return verifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : verifyTime_; } else { return verifyTimeBuilder_.getMessage(); } } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
@@ -1974,14 +2238,15 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
* * .google.protobuf.Timestamp verify_time = 2; */ - public Builder setVerifyTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (verifyTimeBuilder_ == null) { verifyTime_ = builderForValue.build(); } else { @@ -1992,6 +2257,8 @@ public Builder setVerifyTime( return this; } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2000,9 +2267,9 @@ public Builder setVerifyTime( */ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { if (verifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - verifyTime_ != null && - verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && verifyTime_ != null + && verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getVerifyTimeBuilder().mergeFrom(value); } else { verifyTime_ = value; @@ -2015,6 +2282,8 @@ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2032,6 +2301,8 @@ public Builder clearVerifyTime() { return this; } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2044,6 +2315,8 @@ public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder() { return getVerifyTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2054,11 +2327,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { if (verifyTimeBuilder_ != null) { return verifyTimeBuilder_.getMessageOrBuilder(); } else { - return verifyTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; + return verifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : verifyTime_; } } /** + * + * *
      * The time that reachability was assessed through active probing.
      * 
@@ -2066,14 +2342,17 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { * .google.protobuf.Timestamp verify_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getVerifyTimeFieldBuilder() { if (verifyTimeBuilder_ == null) { - verifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getVerifyTime(), - getParentForChildren(), - isClean()); + verifyTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getVerifyTime(), getParentForChildren(), isClean()); verifyTime_ = null; } return verifyTimeBuilder_; @@ -2081,24 +2360,31 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -2109,6 +2395,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2129,14 +2417,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -2147,6 +2436,8 @@ public Builder setError( return this; } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2155,9 +2446,9 @@ public Builder setError( */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - error_ != null && - error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -2170,6 +2461,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2187,6 +2480,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2199,6 +2494,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2209,11 +2506,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * Details about an internal failure or the cancellation of active probing.
      * 
@@ -2221,14 +2519,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; @@ -2236,22 +2534,33 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { private int abortCause_ = 0; /** + * + * *
      * The reason probing was aborted.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return The enum numeric value on the wire for abortCause. */ - @java.lang.Override public int getAbortCauseValue() { + @java.lang.Override + public int getAbortCauseValue() { return abortCause_; } /** + * + * *
      * The reason probing was aborted.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @param value The enum numeric value on the wire for abortCause to set. * @return This builder for chaining. */ @@ -2262,28 +2571,44 @@ public Builder setAbortCauseValue(int value) { return this; } /** + * + * *
      * The reason probing was aborted.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return The abortCause. */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause getAbortCause() { - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber(abortCause_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED : result; + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause + getAbortCause() { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause result = + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.forNumber( + abortCause_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause.UNRECOGNIZED + : result; } /** + * + * *
      * The reason probing was aborted.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @param value The abortCause to set. * @return This builder for chaining. */ - public Builder setAbortCause(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause value) { + public Builder setAbortCause( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause value) { if (value == null) { throw new NullPointerException(); } @@ -2293,11 +2618,16 @@ public Builder setAbortCause(com.google.cloud.networkmanagement.v1beta1.ProbingD return this; } /** + * + * *
      * The reason probing was aborted.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return This builder for chaining. */ public Builder clearAbortCause() { @@ -2307,13 +2637,16 @@ public Builder clearAbortCause() { return this; } - private int sentProbeCount_ ; + private int sentProbeCount_; /** + * + * *
      * Number of probes sent.
      * 
* * int32 sent_probe_count = 5; + * * @return The sentProbeCount. */ @java.lang.Override @@ -2321,27 +2654,33 @@ public int getSentProbeCount() { return sentProbeCount_; } /** + * + * *
      * Number of probes sent.
      * 
* * int32 sent_probe_count = 5; + * * @param value The sentProbeCount to set. * @return This builder for chaining. */ public Builder setSentProbeCount(int value) { - + sentProbeCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Number of probes sent.
      * 
* * int32 sent_probe_count = 5; + * * @return This builder for chaining. */ public Builder clearSentProbeCount() { @@ -2351,13 +2690,16 @@ public Builder clearSentProbeCount() { return this; } - private int successfulProbeCount_ ; + private int successfulProbeCount_; /** + * + * *
      * Number of probes that reached the destination.
      * 
* * int32 successful_probe_count = 6; + * * @return The successfulProbeCount. */ @java.lang.Override @@ -2365,27 +2707,33 @@ public int getSuccessfulProbeCount() { return successfulProbeCount_; } /** + * + * *
      * Number of probes that reached the destination.
      * 
* * int32 successful_probe_count = 6; + * * @param value The successfulProbeCount to set. * @return This builder for chaining. */ public Builder setSuccessfulProbeCount(int value) { - + successfulProbeCount_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Number of probes that reached the destination.
      * 
* * int32 successful_probe_count = 6; + * * @return This builder for chaining. */ public Builder clearSuccessfulProbeCount() { @@ -2397,36 +2745,49 @@ public Builder clearSuccessfulProbeCount() { private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> endpointInfoBuilder_; + com.google.cloud.networkmanagement.v1beta1.EndpointInfo, + com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> + endpointInfoBuilder_; /** + * + * *
      * The source and destination endpoints derived from the test input and used
      * for active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; + * * @return Whether the endpointInfo field is set. */ public boolean hasEndpointInfo() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The source and destination endpoints derived from the test input and used
      * for active probing.
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; + * * @return The endpointInfo. */ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { if (endpointInfoBuilder_ == null) { - return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; + return endpointInfo_ == null + ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() + : endpointInfo_; } else { return endpointInfoBuilder_.getMessage(); } } /** + * + * *
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2448,6 +2809,8 @@ public Builder setEndpointInfo(com.google.cloud.networkmanagement.v1beta1.Endpoi
       return this;
     }
     /**
+     *
+     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2467,6 +2830,8 @@ public Builder setEndpointInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2474,11 +2839,13 @@ public Builder setEndpointInfo(
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
-    public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
+    public Builder mergeEndpointInfo(
+        com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
       if (endpointInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0) &&
-          endpointInfo_ != null &&
-          endpointInfo_ != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && endpointInfo_ != null
+            && endpointInfo_
+                != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
           getEndpointInfoBuilder().mergeFrom(value);
         } else {
           endpointInfo_ = value;
@@ -2491,6 +2858,8 @@ public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1beta1.Endp
       return this;
     }
     /**
+     *
+     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2509,6 +2878,8 @@ public Builder clearEndpointInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2516,12 +2887,15 @@ public Builder clearEndpointInfo() {
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpointInfoBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder
+        getEndpointInfoBuilder() {
       bitField0_ |= 0x00000040;
       onChanged();
       return getEndpointInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2529,15 +2903,19 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpoi
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
+        getEndpointInfoOrBuilder() {
       if (endpointInfoBuilder_ != null) {
         return endpointInfoBuilder_.getMessageOrBuilder();
       } else {
-        return endpointInfo_ == null ?
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
+        return endpointInfo_ == null
+            ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
+            : endpointInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * The source and destination endpoints derived from the test input and used
      * for active probing.
@@ -2546,14 +2924,17 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> 
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
         getEndpointInfoFieldBuilder() {
       if (endpointInfoBuilder_ == null) {
-        endpointInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
-                getEndpointInfo(),
-                getParentForChildren(),
-                isClean());
+        endpointInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
+                getEndpointInfo(), getParentForChildren(), isClean());
         endpointInfo_ = null;
       }
       return endpointInfoBuilder_;
@@ -2561,36 +2942,49 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
 
     private com.google.cloud.networkmanagement.v1beta1.LatencyDistribution probingLatency_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder> probingLatencyBuilder_;
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution,
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder,
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>
+        probingLatencyBuilder_;
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
      * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; + * * @return Whether the probingLatency field is set. */ public boolean hasProbingLatency() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
      * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; + * * @return The probingLatency. */ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbingLatency() { if (probingLatencyBuilder_ == null) { - return probingLatency_ == null ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_; + return probingLatency_ == null + ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() + : probingLatency_; } else { return probingLatencyBuilder_.getMessage(); } } /** + * + * *
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2598,7 +2992,8 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbing
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public Builder setProbingLatency(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
+    public Builder setProbingLatency(
+        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
       if (probingLatencyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2612,6 +3007,8 @@ public Builder setProbingLatency(com.google.cloud.networkmanagement.v1beta1.Late
       return this;
     }
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2631,6 +3028,8 @@ public Builder setProbingLatency(
       return this;
     }
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2638,11 +3037,14 @@ public Builder setProbingLatency(
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public Builder mergeProbingLatency(com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
+    public Builder mergeProbingLatency(
+        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution value) {
       if (probingLatencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0) &&
-          probingLatency_ != null &&
-          probingLatency_ != com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0)
+            && probingLatency_ != null
+            && probingLatency_
+                != com.google.cloud.networkmanagement.v1beta1.LatencyDistribution
+                    .getDefaultInstance()) {
           getProbingLatencyBuilder().mergeFrom(value);
         } else {
           probingLatency_ = value;
@@ -2655,6 +3057,8 @@ public Builder mergeProbingLatency(com.google.cloud.networkmanagement.v1beta1.La
       return this;
     }
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2673,6 +3077,8 @@ public Builder clearProbingLatency() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2680,12 +3086,15 @@ public Builder clearProbingLatency() {
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder getProbingLatencyBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder
+        getProbingLatencyBuilder() {
       bitField0_ |= 0x00000080;
       onChanged();
       return getProbingLatencyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2693,15 +3102,19 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder ge
      *
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
-    public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder getProbingLatencyOrBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
+        getProbingLatencyOrBuilder() {
       if (probingLatencyBuilder_ != null) {
         return probingLatencyBuilder_.getMessageOrBuilder();
       } else {
-        return probingLatency_ == null ?
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance() : probingLatency_;
+        return probingLatency_ == null
+            ? com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.getDefaultInstance()
+            : probingLatency_;
       }
     }
     /**
+     *
+     *
      * 
      * Latency as measured by active probing in one direction:
      * from the source to the destination endpoint.
@@ -2710,23 +3123,32 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder g
      * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.LatencyDistribution, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder> 
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution,
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder,
+            com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>
         getProbingLatencyFieldBuilder() {
       if (probingLatencyBuilder_ == null) {
-        probingLatencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.LatencyDistribution, com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder, com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>(
-                getProbingLatency(),
-                getParentForChildren(),
-                isClean());
+        probingLatencyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1beta1.LatencyDistribution,
+                com.google.cloud.networkmanagement.v1beta1.LatencyDistribution.Builder,
+                com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder>(
+                getProbingLatency(), getParentForChildren(), isClean());
         probingLatency_ = null;
       }
       return probingLatencyBuilder_;
     }
 
-    private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destinationEgressLocation_;
+    private com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation
+        destinationEgressLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder> destinationEgressLocationBuilder_;
+            com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation,
+            com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder,
+            com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>
+        destinationEgressLocationBuilder_;
     /**
+     *
+     *
      * 
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2736,13 +3158,18 @@ public com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder g
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * * @return Whether the destinationEgressLocation field is set. */ public boolean hasDestinationEgressLocation() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2752,17 +3179,26 @@ public boolean hasDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * * @return The destinationEgressLocation. */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDestinationEgressLocation() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + getDestinationEgressLocation() { if (destinationEgressLocationBuilder_ == null) { - return destinationEgressLocation_ == null ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; + return destinationEgressLocation_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + .getDefaultInstance() + : destinationEgressLocation_; } else { return destinationEgressLocationBuilder_.getMessage(); } } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2772,9 +3208,12 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation ge
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ - public Builder setDestinationEgressLocation(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { + public Builder setDestinationEgressLocation( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { if (destinationEgressLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2788,6 +3227,8 @@ public Builder setDestinationEgressLocation(com.google.cloud.networkmanagement.v return this; } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2797,10 +3238,13 @@ public Builder setDestinationEgressLocation(com.google.cloud.networkmanagement.v
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ public Builder setDestinationEgressLocation( - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder builderForValue) { + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder + builderForValue) { if (destinationEgressLocationBuilder_ == null) { destinationEgressLocation_ = builderForValue.build(); } else { @@ -2811,6 +3255,8 @@ public Builder setDestinationEgressLocation( return this; } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2820,13 +3266,18 @@ public Builder setDestinationEgressLocation(
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ - public Builder mergeDestinationEgressLocation(com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { + public Builder mergeDestinationEgressLocation( + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation value) { if (destinationEgressLocationBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - destinationEgressLocation_ != null && - destinationEgressLocation_ != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && destinationEgressLocation_ != null + && destinationEgressLocation_ + != com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + .getDefaultInstance()) { getDestinationEgressLocationBuilder().mergeFrom(value); } else { destinationEgressLocation_ = value; @@ -2839,6 +3290,8 @@ public Builder mergeDestinationEgressLocation(com.google.cloud.networkmanagement return this; } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2848,7 +3301,9 @@ public Builder mergeDestinationEgressLocation(com.google.cloud.networkmanagement
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ public Builder clearDestinationEgressLocation() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2861,6 +3316,8 @@ public Builder clearDestinationEgressLocation() { return this; } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2870,14 +3327,19 @@ public Builder clearDestinationEgressLocation() {
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder getDestinationEgressLocationBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder + getDestinationEgressLocationBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDestinationEgressLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2887,17 +3349,24 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Bu
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ - public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder + getDestinationEgressLocationOrBuilder() { if (destinationEgressLocationBuilder_ != null) { return destinationEgressLocationBuilder_.getMessageOrBuilder(); } else { - return destinationEgressLocation_ == null ? - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.getDefaultInstance() : destinationEgressLocation_; + return destinationEgressLocation_ == null + ? com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + .getDefaultInstance() + : destinationEgressLocation_; } } /** + * + * *
      * The EdgeLocation from which a packet destined for/originating from the
      * internet will egress/ingress the Google network.
@@ -2907,24 +3376,29 @@ public com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrB
      * destination/source is part of the Google network.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder> getDestinationEgressLocationFieldBuilder() { if (destinationEgressLocationBuilder_ == null) { - destinationEgressLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>( - getDestinationEgressLocation(), - getParentForChildren(), - isClean()); + destinationEgressLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation.Builder, + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder>( + getDestinationEgressLocation(), getParentForChildren(), isClean()); destinationEgressLocation_ = null; } return destinationEgressLocationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2934,12 +3408,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ProbingDetails) private static final com.google.cloud.networkmanagement.v1beta1.ProbingDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ProbingDetails(); } @@ -2948,27 +3422,27 @@ public static com.google.cloud.networkmanagement.v1beta1.ProbingDetails getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProbingDetails 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 ProbingDetails 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; @@ -2983,6 +3457,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.ProbingDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java similarity index 80% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java index 99dc6a72d471..22e6bc5bf563 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ProbingDetailsOrBuilder.java @@ -1,50 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; -public interface ProbingDetailsOrBuilder extends +public interface ProbingDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ProbingDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** + * + * *
    * The overall result of active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1; + * * @return The result. */ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult getResult(); /** + * + * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ boolean hasVerifyTime(); /** + * + * *
    * The time that reachability was assessed through active probing.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ com.google.protobuf.Timestamp getVerifyTime(); /** + * + * *
    * The time that reachability was assessed through active probing.
    * 
@@ -54,24 +84,32 @@ public interface ProbingDetailsOrBuilder extends com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder(); /** + * + * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Details about an internal failure or the cancellation of active probing.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Details about an internal failure or the cancellation of active probing.
    * 
@@ -81,65 +119,87 @@ public interface ProbingDetailsOrBuilder extends com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** + * + * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return The enum numeric value on the wire for abortCause. */ int getAbortCauseValue(); /** + * + * *
    * The reason probing was aborted.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4; + * + * * @return The abortCause. */ com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause getAbortCause(); /** + * + * *
    * Number of probes sent.
    * 
* * int32 sent_probe_count = 5; + * * @return The sentProbeCount. */ int getSentProbeCount(); /** + * + * *
    * Number of probes that reached the destination.
    * 
* * int32 successful_probe_count = 6; + * * @return The successfulProbeCount. */ int getSuccessfulProbeCount(); /** + * + * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; + * * @return Whether the endpointInfo field is set. */ boolean hasEndpointInfo(); /** + * + * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 7; + * * @return The endpointInfo. */ com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo(); /** + * + * *
    * The source and destination endpoints derived from the test input and used
    * for active probing.
@@ -150,26 +210,34 @@ public interface ProbingDetailsOrBuilder extends
   com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; + * * @return Whether the probingLatency field is set. */ boolean hasProbingLatency(); /** + * + * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
    * 
* * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8; + * * @return The probingLatency. */ com.google.cloud.networkmanagement.v1beta1.LatencyDistribution getProbingLatency(); /** + * + * *
    * Latency as measured by active probing in one direction:
    * from the source to the destination endpoint.
@@ -177,9 +245,12 @@ public interface ProbingDetailsOrBuilder extends
    *
    * .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 8;
    */
-  com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder getProbingLatencyOrBuilder();
+  com.google.cloud.networkmanagement.v1beta1.LatencyDistributionOrBuilder
+      getProbingLatencyOrBuilder();
 
   /**
+   *
+   *
    * 
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -189,11 +260,16 @@ public interface ProbingDetailsOrBuilder extends
    * destination/source is part of the Google network.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * * @return Whether the destinationEgressLocation field is set. */ boolean hasDestinationEgressLocation(); /** + * + * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -203,11 +279,17 @@ public interface ProbingDetailsOrBuilder extends
    * destination/source is part of the Google network.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * * @return The destinationEgressLocation. */ - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation getDestinationEgressLocation(); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation + getDestinationEgressLocation(); /** + * + * *
    * The EdgeLocation from which a packet destined for/originating from the
    * internet will egress/ingress the Google network.
@@ -217,7 +299,10 @@ public interface ProbingDetailsOrBuilder extends
    * destination/source is part of the Google network.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * + * .google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9; + * */ - com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocationOrBuilder + getDestinationEgressLocationOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java similarity index 74% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java index 077ad587d958..9070816b6769 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetails.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * Results of the configuration analysis from the last run of the test.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ReachabilityDetails} */ -public final class ReachabilityDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReachabilityDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.ReachabilityDetails) ReachabilityDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReachabilityDetails.newBuilder() to construct. private ReachabilityDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReachabilityDetails() { result_ = 0; traces_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private ReachabilityDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReachabilityDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); } /** + * + * *
    * The overall result of the test's configuration analysis.
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result} */ - public enum Result - implements com.google.protobuf.ProtocolMessageEnum { + public enum Result implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No result was specified.
      * 
@@ -67,6 +89,8 @@ public enum Result */ RESULT_UNSPECIFIED(0), /** + * + * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -80,6 +104,8 @@ public enum Result
      */
     REACHABLE(1),
     /**
+     *
+     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -89,6 +115,8 @@ public enum Result
      */
     UNREACHABLE(2),
     /**
+     *
+     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -100,6 +128,8 @@ public enum Result
      */
     AMBIGUOUS(4),
     /**
+     *
+     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -116,6 +146,8 @@ public enum Result
     ;
 
     /**
+     *
+     *
      * 
      * No result was specified.
      * 
@@ -124,6 +156,8 @@ public enum Result */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Possible scenarios are:
      * * The configuration analysis determined that a packet originating from
@@ -137,6 +171,8 @@ public enum Result
      */
     public static final int REACHABLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * A packet originating from the source is expected to be dropped before
      * reaching the destination.
@@ -146,6 +182,8 @@ public enum Result
      */
     public static final int UNREACHABLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * The source and destination endpoints do not uniquely identify
      * the test location in the network, and the reachability result contains
@@ -157,6 +195,8 @@ public enum Result
      */
     public static final int AMBIGUOUS_VALUE = 4;
     /**
+     *
+     *
      * 
      * The configuration analysis did not complete. Possible reasons are:
      * * A permissions error occurred--for example, the user might not have
@@ -170,7 +210,6 @@ public enum Result
      */
     public static final int UNDETERMINED_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -195,51 +234,55 @@ public static Result valueOf(int value) {
      */
     public static Result forNumber(int value) {
       switch (value) {
-        case 0: return RESULT_UNSPECIFIED;
-        case 1: return REACHABLE;
-        case 2: return UNREACHABLE;
-        case 4: return AMBIGUOUS;
-        case 5: return UNDETERMINED;
-        default: return null;
+        case 0:
+          return RESULT_UNSPECIFIED;
+        case 1:
+          return REACHABLE;
+        case 2:
+          return UNREACHABLE;
+        case 4:
+          return AMBIGUOUS;
+        case 5:
+          return UNDETERMINED;
+        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<
-        Result> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Result findValueByNumber(int number) {
-              return Result.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 Result findValueByNumber(int number) {
+            return Result.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.networkmanagement.v1beta1.ReachabilityDetails.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Result[] VALUES = values();
 
-    public static Result valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Result 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;
@@ -259,37 +302,51 @@ private Result(int value) {
   public static final int RESULT_FIELD_NUMBER = 1;
   private int result_ = 0;
   /**
+   *
+   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return The result. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult() { + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED + : result; } public static final int VERIFY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp verifyTime_; /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ @java.lang.Override @@ -297,11 +354,14 @@ public boolean hasVerifyTime() { return verifyTime_ != null; } /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ @java.lang.Override @@ -309,6 +369,8 @@ public com.google.protobuf.Timestamp getVerifyTime() { return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; } /** + * + * *
    * The time of the configuration analysis.
    * 
@@ -323,11 +385,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -335,11 +400,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -347,6 +415,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -359,9 +429,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } public static final int TRACES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List traces_; /** + * + * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -375,6 +448,8 @@ public java.util.List getTrace
     return traces_;
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -384,11 +459,13 @@ public java.util.List getTrace
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTracesOrBuilderList() {
     return traces_;
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -402,6 +479,8 @@ public int getTracesCount() {
     return traces_.size();
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -415,6 +494,8 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
     return traces_.get(index);
   }
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -424,12 +505,12 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(
-      int index) {
+  public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(int index) {
     return traces_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -441,9 +522,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (result_ != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (result_
+        != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, result_);
     }
     if (verifyTime_ != null) {
@@ -464,21 +546,19 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (result_ != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, result_);
+    if (result_
+        != com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.RESULT_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_);
     }
     if (verifyTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getVerifyTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError());
     }
     for (int i = 0; i < traces_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, traces_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, traces_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -488,26 +568,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.networkmanagement.v1beta1.ReachabilityDetails)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails other = (com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) obj;
+    com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails other =
+        (com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) obj;
 
     if (result_ != other.result_) return false;
     if (hasVerifyTime() != other.hasVerifyTime()) return false;
     if (hasVerifyTime()) {
-      if (!getVerifyTime()
-          .equals(other.getVerifyTime())) return false;
+      if (!getVerifyTime().equals(other.getVerifyTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
-    if (!getTracesList()
-        .equals(other.getTracesList())) return false;
+    if (!getTracesList().equals(other.getTracesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -539,129 +617,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails 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.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Results of the configuration analysis from the last run of the test.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.ReachabilityDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.ReachabilityDetails) com.google.cloud.networkmanagement.v1beta1.ReachabilityDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.class, + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.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(); @@ -688,13 +773,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TestOuterClass.internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TestOuterClass + .internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails + getDefaultInstanceForType() { return com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance(); } @@ -709,14 +795,18 @@ public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails buildPartial() { - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result = new com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails(this); + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result = + new com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { if (tracesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { traces_ = java.util.Collections.unmodifiableList(traces_); @@ -728,20 +818,17 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1bet } } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyTime_ = verifyTimeBuilder_ == null - ? verifyTime_ - : verifyTimeBuilder_.build(); + result.verifyTime_ = verifyTimeBuilder_ == null ? verifyTime_ : verifyTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.error_ = errorBuilder_ == null - ? error_ - : errorBuilder_.build(); + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); } } @@ -749,38 +836,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Reachabili public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails) other); } else { super.mergeFrom(other); return this; @@ -788,7 +876,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails other) { - if (other == com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance()) return this; + if (other + == com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.getDefaultInstance()) + return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -816,9 +906,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Reachability tracesBuilder_ = null; traces_ = other.traces_; bitField0_ = (bitField0_ & ~0x00000008); - tracesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracesFieldBuilder() : null; + tracesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracesFieldBuilder() + : null; } else { tracesBuilder_.addAllMessages(other.traces_); } @@ -850,44 +941,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getVerifyTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: { - com.google.cloud.networkmanagement.v1beta1.Trace m = - input.readMessage( - com.google.cloud.networkmanagement.v1beta1.Trace.parser(), - extensionRegistry); - if (tracesBuilder_ == null) { - ensureTracesIsMutable(); - traces_.add(m); - } else { - tracesBuilder_.addMessage(m); - } - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getVerifyTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: + { + com.google.cloud.networkmanagement.v1beta1.Trace m = + input.readMessage( + com.google.cloud.networkmanagement.v1beta1.Trace.parser(), + extensionRegistry); + if (tracesBuilder_ == null) { + ensureTracesIsMutable(); + traces_.add(m); + } else { + tracesBuilder_.addMessage(m); + } + 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) { @@ -897,26 +989,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int result_ = 0; /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -927,28 +1027,38 @@ public Builder setResultValue(int value) { return this; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return The result. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult() { - com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.forNumber(result_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result.UNRECOGNIZED + : result; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult(com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result value) { + public Builder setResult( + com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result value) { if (value == null) { throw new NullPointerException(); } @@ -958,11 +1068,14 @@ public Builder setResult(com.google.cloud.networkmanagement.v1beta1.Reachability return this; } /** + * + * *
      * The overall result of the test's configuration analysis.
      * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return This builder for chaining. */ public Builder clearResult() { @@ -974,34 +1087,47 @@ public Builder clearResult() { private com.google.protobuf.Timestamp verifyTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> verifyTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + verifyTimeBuilder_; /** + * + * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ public boolean hasVerifyTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ public com.google.protobuf.Timestamp getVerifyTime() { if (verifyTimeBuilder_ == null) { - return verifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; + return verifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : verifyTime_; } else { return verifyTimeBuilder_.getMessage(); } } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1022,14 +1148,15 @@ public Builder setVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
* * .google.protobuf.Timestamp verify_time = 2; */ - public Builder setVerifyTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (verifyTimeBuilder_ == null) { verifyTime_ = builderForValue.build(); } else { @@ -1040,6 +1167,8 @@ public Builder setVerifyTime( return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1048,9 +1177,9 @@ public Builder setVerifyTime( */ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { if (verifyTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - verifyTime_ != null && - verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && verifyTime_ != null + && verifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getVerifyTimeBuilder().mergeFrom(value); } else { verifyTime_ = value; @@ -1063,6 +1192,8 @@ public Builder mergeVerifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1080,6 +1211,8 @@ public Builder clearVerifyTime() { return this; } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1092,6 +1225,8 @@ public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder() { return getVerifyTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1102,11 +1237,14 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { if (verifyTimeBuilder_ != null) { return verifyTimeBuilder_.getMessageOrBuilder(); } else { - return verifyTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : verifyTime_; + return verifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : verifyTime_; } } /** + * + * *
      * The time of the configuration analysis.
      * 
@@ -1114,14 +1252,17 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { * .google.protobuf.Timestamp verify_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getVerifyTimeFieldBuilder() { if (verifyTimeBuilder_ == null) { - verifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getVerifyTime(), - getParentForChildren(), - isClean()); + verifyTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getVerifyTime(), getParentForChildren(), isClean()); verifyTime_ = null; } return verifyTimeBuilder_; @@ -1129,24 +1270,31 @@ public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1157,6 +1305,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1177,14 +1327,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -1195,6 +1346,8 @@ public Builder setError( return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1203,9 +1356,9 @@ public Builder setError( */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - error_ != null && - error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -1218,6 +1371,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1235,6 +1390,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1247,6 +1404,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1257,11 +1416,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * The details of a failure or a cancellation of reachability analysis.
      * 
@@ -1269,32 +1429,39 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } private java.util.List traces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTracesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - traces_ = new java.util.ArrayList(traces_); + traces_ = + new java.util.ArrayList(traces_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.Trace, com.google.cloud.networkmanagement.v1beta1.Trace.Builder, com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder> tracesBuilder_; + com.google.cloud.networkmanagement.v1beta1.Trace, + com.google.cloud.networkmanagement.v1beta1.Trace.Builder, + com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder> + tracesBuilder_; /** + * + * *
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1311,6 +1478,8 @@ public java.util.List getTrace
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1327,6 +1496,8 @@ public int getTracesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1343,6 +1514,8 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1351,8 +1524,7 @@ public com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public Builder setTraces(
-        int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
+    public Builder setTraces(int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1366,6 +1538,8 @@ public Builder setTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1386,6 +1560,8 @@ public Builder setTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1408,6 +1584,8 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1beta1.Trace value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1416,8 +1594,7 @@ public Builder addTraces(com.google.cloud.networkmanagement.v1beta1.Trace value)
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public Builder addTraces(
-        int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
+    public Builder addTraces(int index, com.google.cloud.networkmanagement.v1beta1.Trace value) {
       if (tracesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1431,6 +1608,8 @@ public Builder addTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1451,6 +1630,8 @@ public Builder addTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1471,6 +1652,8 @@ public Builder addTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1483,8 +1666,7 @@ public Builder addAllTraces(
         java.lang.Iterable values) {
       if (tracesBuilder_ == null) {
         ensureTracesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, traces_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, traces_);
         onChanged();
       } else {
         tracesBuilder_.addAllMessages(values);
@@ -1492,6 +1674,8 @@ public Builder addAllTraces(
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1511,6 +1695,8 @@ public Builder clearTraces() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1530,6 +1716,8 @@ public Builder removeTraces(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1538,11 +1726,12 @@ public Builder removeTraces(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder getTracesBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder getTracesBuilder(int index) {
       return getTracesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1551,14 +1740,16 @@ public com.google.cloud.networkmanagement.v1beta1.Trace.Builder getTracesBuilder
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(int index) {
       if (tracesBuilder_ == null) {
-        return traces_.get(index);  } else {
+        return traces_.get(index);
+      } else {
         return tracesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1567,8 +1758,8 @@ public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuil
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public java.util.List 
-         getTracesOrBuilderList() {
+    public java.util.List
+        getTracesOrBuilderList() {
       if (tracesBuilder_ != null) {
         return tracesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1576,6 +1767,8 @@ public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1585,10 +1778,12 @@ public com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuil
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
     public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder() {
-      return getTracesFieldBuilder().addBuilder(
-          com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
+      return getTracesFieldBuilder()
+          .addBuilder(com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1597,12 +1792,13 @@ public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder(
-        int index) {
-      return getTracesFieldBuilder().addBuilder(
-          index, com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder(int index) {
+      return getTracesFieldBuilder()
+          .addBuilder(index, com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Result may contain a list of traces if a test has multiple possible
      * paths in the network, such as when destination endpoint is a load balancer
@@ -1611,27 +1807,30 @@ public com.google.cloud.networkmanagement.v1beta1.Trace.Builder addTracesBuilder
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
      */
-    public java.util.List 
-         getTracesBuilderList() {
+    public java.util.List
+        getTracesBuilderList() {
       return getTracesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.Trace, com.google.cloud.networkmanagement.v1beta1.Trace.Builder, com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder> 
+            com.google.cloud.networkmanagement.v1beta1.Trace,
+            com.google.cloud.networkmanagement.v1beta1.Trace.Builder,
+            com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder>
         getTracesFieldBuilder() {
       if (tracesBuilder_ == null) {
-        tracesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.Trace, com.google.cloud.networkmanagement.v1beta1.Trace.Builder, com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder>(
-                traces_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        tracesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1beta1.Trace,
+                com.google.cloud.networkmanagement.v1beta1.Trace.Builder,
+                com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder>(
+                traces_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         traces_ = null;
       }
       return tracesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1641,41 +1840,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.ReachabilityDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.ReachabilityDetails)
-  private static final com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails DEFAULT_INSTANCE;
+  private static final com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails();
   }
 
-  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getDefaultInstance() {
+  public static com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReachabilityDetails 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 ReachabilityDetails 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;
@@ -1687,9 +1888,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails getDefaultInstanceForType() {
+  public com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
similarity index 82%
rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
index 9668fd57c0cb..e2c81b7c298a 100644
--- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityDetailsOrBuilder.java
@@ -1,50 +1,80 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
-public interface ReachabilityDetailsOrBuilder extends
+public interface ReachabilityDetailsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.ReachabilityDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** + * + * *
    * The overall result of the test's configuration analysis.
    * 
* * .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1; + * * @return The result. */ com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result getResult(); /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return Whether the verifyTime field is set. */ boolean hasVerifyTime(); /** + * + * *
    * The time of the configuration analysis.
    * 
* * .google.protobuf.Timestamp verify_time = 2; + * * @return The verifyTime. */ com.google.protobuf.Timestamp getVerifyTime(); /** + * + * *
    * The time of the configuration analysis.
    * 
@@ -54,24 +84,32 @@ public interface ReachabilityDetailsOrBuilder extends com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder(); /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The details of a failure or a cancellation of reachability analysis.
    * 
@@ -81,6 +119,8 @@ public interface ReachabilityDetailsOrBuilder extends com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** + * + * *
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -89,9 +129,10 @@ public interface ReachabilityDetailsOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
-  java.util.List 
-      getTracesList();
+  java.util.List getTracesList();
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -102,6 +143,8 @@ public interface ReachabilityDetailsOrBuilder extends
    */
   com.google.cloud.networkmanagement.v1beta1.Trace getTraces(int index);
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -112,6 +155,8 @@ public interface ReachabilityDetailsOrBuilder extends
    */
   int getTracesCount();
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -120,9 +165,11 @@ public interface ReachabilityDetailsOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
-  java.util.List 
+  java.util.List
       getTracesOrBuilderList();
   /**
+   *
+   *
    * 
    * Result may contain a list of traces if a test has multiple possible
    * paths in the network, such as when destination endpoint is a load balancer
@@ -131,6 +178,5 @@ public interface ReachabilityDetailsOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Trace traces = 5;
    */
-  com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(
-      int index);
+  com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder getTracesOrBuilder(int index);
 }
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
new file mode 100644
index 000000000000..629716269bad
--- /dev/null
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java
@@ -0,0 +1,257 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1beta1/reachability.proto
+
+package com.google.cloud.networkmanagement.v1beta1;
+
+public final class ReachabilityServiceProto {
+  private ReachabilityServiceProto() {}
+
+  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_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n9google/cloud/networkmanagement/v1beta1"
+          + "/reachability.proto\022&google.cloud.networ"
+          + "kmanagement.v1beta1\032\034google/api/annotati"
+          + "ons.proto\032\027google/api/client.proto\032\037goog"
+          + "le/api/field_behavior.proto\032>google/clou"
+          + "d/networkmanagement/v1beta1/connectivity"
+          + "_test.proto\032#google/longrunning/operatio"
+          + "ns.proto\032 google/protobuf/field_mask.pro"
+          + "to\032\037google/protobuf/timestamp.proto\"|\n\034L"
+          + "istConnectivityTestsRequest\022\023\n\006parent\030\001 "
+          + "\001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke"
+          + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001("
+          + "\t\"\232\001\n\035ListConnectivityTestsResponse\022K\n\tr"
+          + "esources\030\001 \003(\01328.google.cloud.networkman"
+          + "agement.v1beta1.ConnectivityTest\022\027\n\017next"
+          + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"/"
+          + "\n\032GetConnectivityTestRequest\022\021\n\004name\030\001 \001"
+          + "(\tB\003\340A\002\"\233\001\n\035CreateConnectivityTestReques"
+          + "t\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007test_id\030\002 \001(\tB"
+          + "\003\340A\002\022O\n\010resource\030\003 \001(\01328.google.cloud.ne"
+          + "tworkmanagement.v1beta1.ConnectivityTest"
+          + "B\003\340A\002\"\246\001\n\035UpdateConnectivityTestRequest\022"
+          + "4\n\013update_mask\030\001 \001(\0132\032.google.protobuf.F"
+          + "ieldMaskB\003\340A\002\022O\n\010resource\030\002 \001(\01328.google"
+          + ".cloud.networkmanagement.v1beta1.Connect"
+          + "ivityTestB\003\340A\002\"2\n\035DeleteConnectivityTest"
+          + "Request\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034RerunConne"
+          + "ctivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\326\001"
+          + "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013"
+          + "2\032.google.protobuf.Timestamp\022,\n\010end_time"
+          + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta"
+          + "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai"
+          + "l\030\005 \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013api"
+          + "_version\030\007 \001(\t2\243\r\n\023ReachabilityService\022\355"
+          + "\001\n\025ListConnectivityTests\022D.google.cloud."
+          + "networkmanagement.v1beta1.ListConnectivi"
+          + "tyTestsRequest\032E.google.cloud.networkman"
+          + "agement.v1beta1.ListConnectivityTestsRes"
+          + "ponse\"G\202\323\344\223\002A\022?/v1beta1/{parent=projects"
+          + "/*/locations/global}/connectivityTests\022\334"
+          + "\001\n\023GetConnectivityTest\022B.google.cloud.ne"
+          + "tworkmanagement.v1beta1.GetConnectivityT"
+          + "estRequest\0328.google.cloud.networkmanagem"
+          + "ent.v1beta1.ConnectivityTest\"G\202\323\344\223\002A\022?/v"
+          + "1beta1/{name=projects/*/locations/global"
+          + "/connectivityTests/*}\022\241\002\n\026CreateConnecti"
+          + "vityTest\022E.google.cloud.networkmanagemen"
+          + "t.v1beta1.CreateConnectivityTestRequest\032"
+          + "\035.google.longrunning.Operation\"\240\001\202\323\344\223\002K\""
+          + "?/v1beta1/{parent=projects/*/locations/g"
+          + "lobal}/connectivityTests:\010resource\312AL\n7g"
+          + "oogle.cloud.networkmanagement.v1beta1.Co"
+          + "nnectivityTest\022\021OperationMetadata\022\252\002\n\026Up"
+          + "dateConnectivityTest\022E.google.cloud.netw"
+          + "orkmanagement.v1beta1.UpdateConnectivity"
+          + "TestRequest\032\035.google.longrunning.Operati"
+          + "on\"\251\001\202\323\344\223\002T2H/v1beta1/{resource.name=pro"
+          + "jects/*/locations/global/connectivityTes"
+          + "ts/*}:\010resource\312AL\n7google.cloud.network"
+          + "management.v1beta1.ConnectivityTest\022\021Ope"
+          + "rationMetadata\022\236\002\n\025RerunConnectivityTest"
+          + "\022D.google.cloud.networkmanagement.v1beta"
+          + "1.RerunConnectivityTestRequest\032\035.google."
+          + "longrunning.Operation\"\237\001\202\323\344\223\002J\"E/v1beta1"
+          + "/{name=projects/*/locations/global/conne"
+          + "ctivityTests/*}:rerun:\001*\312AL\n7google.clou"
+          + "d.networkmanagement.v1beta1.Connectivity"
+          + "Test\022\021OperationMetadata\022\364\001\n\026DeleteConnec"
+          + "tivityTest\022E.google.cloud.networkmanagem"
+          + "ent.v1beta1.DeleteConnectivityTestReques"
+          + "t\032\035.google.longrunning.Operation\"t\202\323\344\223\002A"
+          + "*?/v1beta1/{name=projects/*/locations/gl"
+          + "obal/connectivityTests/*}\312A*\n\025google.pro"
+          + "tobuf.Empty\022\021OperationMetadata\032T\312A netwo"
+          + "rkmanagement.googleapis.com\322A.https://ww"
+          + "w.googleapis.com/auth/cloud-platformB\240\002\n"
+          + "*com.google.cloud.networkmanagement.v1be"
+          + "ta1B\030ReachabilityServiceProtoP\001ZXcloud.g"
+          + "oogle.com/go/networkmanagement/apiv1beta"
+          + "1/networkmanagementpb;networkmanagementp"
+          + "b\252\002&Google.Cloud.NetworkManagement.V1Bet"
+          + "a1\312\002&Google\\Cloud\\NetworkManagement\\V1be"
+          + "ta1\352\002)Google::Cloud::NetworkManagement::"
+          + "V1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter", "OrderBy",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor,
+            new java.lang.String[] {
+              "Resources", "NextPageToken", "Unreachable",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "TestId", "Resource",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "UpdateMask", "Resource",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor,
+            new java.lang.String[] {
+              "CreateTime",
+              "EndTime",
+              "Target",
+              "Verb",
+              "StatusDetail",
+              "CancelRequested",
+              "ApiVersion",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
similarity index 61%
rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
index ca953d98075e..d8c2048cdbb5 100644
--- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequest.java
@@ -1,63 +1,86 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request for the `RerunConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest} */ -public final class RerunConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RerunConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) RerunConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RerunConnectivityTestRequest.newBuilder() to construct. private RerunConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RerunConnectivityTestRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RerunConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * 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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,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_); } @@ -134,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.networkmanagement.v1beta1.RerunConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,139 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `RerunConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.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(); @@ -294,19 +327,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -315,13 +351,17 @@ public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest b @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +372,52 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.RerunConne public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +449,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) { @@ -423,23 +471,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; @@ -448,21 +499,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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 { @@ -470,30 +522,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +562,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Connectivity Test resource name using the form:
      *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
      * 
* * 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +596,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RerunConnectivityTestRequest 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 RerunConnectivityTestRequest 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; @@ -579,9 +645,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java index c8ecd33a056c..79fc4312f156 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RerunConnectivityTestRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface RerunConnectivityTestRequestOrBuilder extends +public interface RerunConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Connectivity Test resource name using the form:
    *     `projects/{project_id}/locations/global/connectivityTests/{test_id}`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java similarity index 73% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java index 4d7904975615..2415cabd35ee 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine route.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RouteInfo} */ -public final class RouteInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.RouteInfo) RouteInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteInfo.newBuilder() to construct. private RouteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RouteInfo() { routeType_ = 0; nextHopType_ = 0; @@ -32,39 +50,43 @@ private RouteInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, + com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); } /** + * + * *
    * Type of route:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType} */ - public enum RouteType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RouteType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -73,6 +95,8 @@ public enum RouteType */ ROUTE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -81,6 +105,8 @@ public enum RouteType */ SUBNET(1), /** + * + * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -90,6 +116,8 @@ public enum RouteType
      */
     STATIC(2),
     /**
+     *
+     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -98,6 +126,8 @@ public enum RouteType */ DYNAMIC(3), /** + * + * *
      * A subnet route received from peering network.
      * 
@@ -106,6 +136,8 @@ public enum RouteType */ PEERING_SUBNET(4), /** + * + * *
      * A static route received from peering network.
      * 
@@ -114,6 +146,8 @@ public enum RouteType */ PEERING_STATIC(5), /** + * + * *
      * A dynamic route received from peering network.
      * 
@@ -125,6 +159,8 @@ public enum RouteType ; /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -133,6 +169,8 @@ public enum RouteType */ public static final int ROUTE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Route is a subnet route automatically created by the system.
      * 
@@ -141,6 +179,8 @@ public enum RouteType */ public static final int SUBNET_VALUE = 1; /** + * + * *
      * Static route created by the user, including the default route to the
      * internet.
@@ -150,6 +190,8 @@ public enum RouteType
      */
     public static final int STATIC_VALUE = 2;
     /**
+     *
+     *
      * 
      * Dynamic route exchanged between BGP peers.
      * 
@@ -158,6 +200,8 @@ public enum RouteType */ public static final int DYNAMIC_VALUE = 3; /** + * + * *
      * A subnet route received from peering network.
      * 
@@ -166,6 +210,8 @@ public enum RouteType */ public static final int PEERING_SUBNET_VALUE = 4; /** + * + * *
      * A static route received from peering network.
      * 
@@ -174,6 +220,8 @@ public enum RouteType */ public static final int PEERING_STATIC_VALUE = 5; /** + * + * *
      * A dynamic route received from peering network.
      * 
@@ -182,7 +230,6 @@ public enum RouteType */ public static final int PEERING_DYNAMIC_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,59 @@ public static RouteType valueOf(int value) { */ public static RouteType forNumber(int value) { switch (value) { - case 0: return ROUTE_TYPE_UNSPECIFIED; - case 1: return SUBNET; - case 2: return STATIC; - case 3: return DYNAMIC; - case 4: return PEERING_SUBNET; - case 5: return PEERING_STATIC; - case 6: return PEERING_DYNAMIC; - default: return null; + case 0: + return ROUTE_TYPE_UNSPECIFIED; + case 1: + return SUBNET; + case 2: + return STATIC; + case 3: + return DYNAMIC; + case 4: + return PEERING_SUBNET; + case 5: + return PEERING_STATIC; + case 6: + return PEERING_DYNAMIC; + 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< - RouteType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RouteType findValueByNumber(int number) { - return RouteType.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 RouteType findValueByNumber(int number) { + return RouteType.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.networkmanagement.v1beta1.RouteInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final RouteType[] VALUES = values(); - public static RouteType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RouteType 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; @@ -271,15 +324,18 @@ private RouteType(int value) { } /** + * + * *
    * Type of next hop:
    * 
* * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType} */ - public enum NextHopType - implements com.google.protobuf.ProtocolMessageEnum { + public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -288,6 +344,8 @@ public enum NextHopType */ NEXT_HOP_TYPE_UNSPECIFIED(0), /** + * + * *
      * Next hop is an IP address.
      * 
@@ -296,6 +354,8 @@ public enum NextHopType */ NEXT_HOP_IP(1), /** + * + * *
      * Next hop is a Compute Engine instance.
      * 
@@ -304,6 +364,8 @@ public enum NextHopType */ NEXT_HOP_INSTANCE(2), /** + * + * *
      * Next hop is a VPC network gateway.
      * 
@@ -312,6 +374,8 @@ public enum NextHopType */ NEXT_HOP_NETWORK(3), /** + * + * *
      * Next hop is a peering VPC.
      * 
@@ -320,6 +384,8 @@ public enum NextHopType */ NEXT_HOP_PEERING(4), /** + * + * *
      * Next hop is an interconnect.
      * 
@@ -328,6 +394,8 @@ public enum NextHopType */ NEXT_HOP_INTERCONNECT(5), /** + * + * *
      * Next hop is a VPN tunnel.
      * 
@@ -336,6 +404,8 @@ public enum NextHopType */ NEXT_HOP_VPN_TUNNEL(6), /** + * + * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -347,6 +417,8 @@ public enum NextHopType
      */
     NEXT_HOP_VPN_GATEWAY(7),
     /**
+     *
+     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -355,6 +427,8 @@ public enum NextHopType */ NEXT_HOP_INTERNET_GATEWAY(8), /** + * + * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -364,6 +438,8 @@ public enum NextHopType
      */
     NEXT_HOP_BLACKHOLE(9),
     /**
+     *
+     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -372,6 +448,8 @@ public enum NextHopType */ NEXT_HOP_ILB(10), /** + * + * *
      * Next hop is a
      * [router appliance
@@ -385,6 +463,8 @@ public enum NextHopType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified type. Default value.
      * 
@@ -393,6 +473,8 @@ public enum NextHopType */ public static final int NEXT_HOP_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Next hop is an IP address.
      * 
@@ -401,6 +483,8 @@ public enum NextHopType */ public static final int NEXT_HOP_IP_VALUE = 1; /** + * + * *
      * Next hop is a Compute Engine instance.
      * 
@@ -409,6 +493,8 @@ public enum NextHopType */ public static final int NEXT_HOP_INSTANCE_VALUE = 2; /** + * + * *
      * Next hop is a VPC network gateway.
      * 
@@ -417,6 +503,8 @@ public enum NextHopType */ public static final int NEXT_HOP_NETWORK_VALUE = 3; /** + * + * *
      * Next hop is a peering VPC.
      * 
@@ -425,6 +513,8 @@ public enum NextHopType */ public static final int NEXT_HOP_PEERING_VALUE = 4; /** + * + * *
      * Next hop is an interconnect.
      * 
@@ -433,6 +523,8 @@ public enum NextHopType */ public static final int NEXT_HOP_INTERCONNECT_VALUE = 5; /** + * + * *
      * Next hop is a VPN tunnel.
      * 
@@ -441,6 +533,8 @@ public enum NextHopType */ public static final int NEXT_HOP_VPN_TUNNEL_VALUE = 6; /** + * + * *
      * Next hop is a VPN gateway. This scenario only happens when tracing
      * connectivity from an on-premises network to Google Cloud through a VPN.
@@ -452,6 +546,8 @@ public enum NextHopType
      */
     public static final int NEXT_HOP_VPN_GATEWAY_VALUE = 7;
     /**
+     *
+     *
      * 
      * Next hop is an internet gateway.
      * 
@@ -460,6 +556,8 @@ public enum NextHopType */ public static final int NEXT_HOP_INTERNET_GATEWAY_VALUE = 8; /** + * + * *
      * Next hop is blackhole; that is, the next hop either does not exist or is
      * not running.
@@ -469,6 +567,8 @@ public enum NextHopType
      */
     public static final int NEXT_HOP_BLACKHOLE_VALUE = 9;
     /**
+     *
+     *
      * 
      * Next hop is the forwarding rule of an Internal Load Balancer.
      * 
@@ -477,6 +577,8 @@ public enum NextHopType */ public static final int NEXT_HOP_ILB_VALUE = 10; /** + * + * *
      * Next hop is a
      * [router appliance
@@ -487,7 +589,6 @@ public enum NextHopType
      */
     public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -512,58 +613,69 @@ public static NextHopType valueOf(int value) {
      */
     public static NextHopType forNumber(int value) {
       switch (value) {
-        case 0: return NEXT_HOP_TYPE_UNSPECIFIED;
-        case 1: return NEXT_HOP_IP;
-        case 2: return NEXT_HOP_INSTANCE;
-        case 3: return NEXT_HOP_NETWORK;
-        case 4: return NEXT_HOP_PEERING;
-        case 5: return NEXT_HOP_INTERCONNECT;
-        case 6: return NEXT_HOP_VPN_TUNNEL;
-        case 7: return NEXT_HOP_VPN_GATEWAY;
-        case 8: return NEXT_HOP_INTERNET_GATEWAY;
-        case 9: return NEXT_HOP_BLACKHOLE;
-        case 10: return NEXT_HOP_ILB;
-        case 11: return NEXT_HOP_ROUTER_APPLIANCE;
-        default: return null;
+        case 0:
+          return NEXT_HOP_TYPE_UNSPECIFIED;
+        case 1:
+          return NEXT_HOP_IP;
+        case 2:
+          return NEXT_HOP_INSTANCE;
+        case 3:
+          return NEXT_HOP_NETWORK;
+        case 4:
+          return NEXT_HOP_PEERING;
+        case 5:
+          return NEXT_HOP_INTERCONNECT;
+        case 6:
+          return NEXT_HOP_VPN_TUNNEL;
+        case 7:
+          return NEXT_HOP_VPN_GATEWAY;
+        case 8:
+          return NEXT_HOP_INTERNET_GATEWAY;
+        case 9:
+          return NEXT_HOP_BLACKHOLE;
+        case 10:
+          return NEXT_HOP_ILB;
+        case 11:
+          return NEXT_HOP_ROUTER_APPLIANCE;
+        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<
-        NextHopType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NextHopType findValueByNumber(int number) {
-              return NextHopType.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 NextHopType findValueByNumber(int number) {
+            return NextHopType.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.networkmanagement.v1beta1.RouteInfo.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final NextHopType[] VALUES = values();
 
-    public static NextHopType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NextHopType 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;
@@ -583,64 +695,90 @@ private NextHopType(int value) {
   public static final int ROUTE_TYPE_FIELD_NUMBER = 8;
   private int routeType_ = 0;
   /**
+   *
+   *
    * 
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override public int getRouteTypeValue() { + @java.lang.Override + public int getRouteTypeValue() { return routeType_; } /** + * + * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return The routeType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType() { + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED + : result; } public static final int NEXT_HOP_TYPE_FIELD_NUMBER = 9; private int nextHopType_ = 0; /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override public int getNextHopTypeValue() { + @java.lang.Override + public int getNextHopTypeValue() { return nextHopType_; } /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The nextHopType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType() { + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED + : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -649,29 +787,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -680,9 +818,12 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -691,6 +832,7 @@ public java.lang.String getDisplayName() {
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -699,14 +841,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -715,16 +858,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -733,14 +875,18 @@ public java.lang.String getUri() { } public static final int DEST_IP_RANGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object destIpRange_ = ""; /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The destIpRange. */ @java.lang.Override @@ -749,29 +895,29 @@ public java.lang.String getDestIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; } } /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The bytes for destIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestIpRangeBytes() { + public com.google.protobuf.ByteString getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -780,14 +926,18 @@ public java.lang.String getDestIpRange() { } public static final int NEXT_HOP_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object nextHop_ = ""; /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The nextHop. */ @java.lang.Override @@ -796,29 +946,29 @@ public java.lang.String getNextHop() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; } } /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The bytes for nextHop. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextHopBytes() { + public com.google.protobuf.ByteString getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextHop_ = b; return b; } else { @@ -827,14 +977,18 @@ public java.lang.String getNextHop() { } public static final int NETWORK_URI_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The networkUri. */ @java.lang.Override @@ -843,29 +997,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -876,11 +1030,14 @@ public java.lang.String getNetworkUri() { public static final int PRIORITY_FIELD_NUMBER = 6; private int priority_ = 0; /** + * + * *
    * Priority of the route.
    * 
* * int32 priority = 6; + * * @return The priority. */ @java.lang.Override @@ -889,37 +1046,46 @@ public int getPriority() { } public static final int INSTANCE_TAGS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList instanceTags_; /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList - getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList getInstanceTagsList() { return instanceTags_; } /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -927,20 +1093,23 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString - getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -952,8 +1121,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -975,10 +1143,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < instanceTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, instanceTags_.getRaw(i)); } - if (routeType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { + if (routeType_ + != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(8, routeType_); } - if (nextHopType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { + if (nextHopType_ + != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType + .NEXT_HOP_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, nextHopType_); } getUnknownFields().writeTo(output); @@ -1006,8 +1179,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, networkUri_); } if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, priority_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, priority_); } { int dataSize = 0; @@ -1017,13 +1189,16 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTagsList().size(); } - if (routeType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, routeType_); + if (routeType_ + != com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.ROUTE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, routeType_); } - if (nextHopType_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.NEXT_HOP_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, nextHopType_); + if (nextHopType_ + != com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType + .NEXT_HOP_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, nextHopType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1033,29 +1208,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.networkmanagement.v1beta1.RouteInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.RouteInfo other = (com.google.cloud.networkmanagement.v1beta1.RouteInfo) obj; + com.google.cloud.networkmanagement.v1beta1.RouteInfo other = + (com.google.cloud.networkmanagement.v1beta1.RouteInfo) obj; if (routeType_ != other.routeType_) return false; if (nextHopType_ != other.nextHopType_) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDestIpRange() - .equals(other.getDestIpRange())) return false; - if (!getNextHop() - .equals(other.getNextHop())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (getPriority() - != other.getPriority()) return false; - if (!getInstanceTagsList() - .equals(other.getInstanceTagsList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDestIpRange().equals(other.getDestIpRange())) return false; + if (!getNextHop().equals(other.getNextHop())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (getPriority() != other.getPriority()) return false; + if (!getInstanceTagsList().equals(other.getInstanceTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1093,129 +1262,135 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo 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.networkmanagement.v1beta1.RouteInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.RouteInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.RouteInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine route.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.RouteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.RouteInfo) com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.RouteInfo.class, + com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.RouteInfo.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(); @@ -1234,9 +1409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor; } @java.lang.Override @@ -1255,14 +1430,18 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo result = new com.google.cloud.networkmanagement.v1beta1.RouteInfo(this); + com.google.cloud.networkmanagement.v1beta1.RouteInfo result = + new com.google.cloud.networkmanagement.v1beta1.RouteInfo(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.RouteInfo result) { + private void buildPartialRepeatedFields( + com.google.cloud.networkmanagement.v1beta1.RouteInfo result) { if (((bitField0_ & 0x00000100) != 0)) { instanceTags_ = instanceTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); @@ -1302,38 +1481,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.RouteInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.RouteInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.RouteInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.RouteInfo) other); } else { super.mergeFrom(other); return this; @@ -1341,7 +1521,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.RouteInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) + return this; if (other.routeType_ != 0) { setRouteTypeValue(other.getRouteTypeValue()); } @@ -1412,58 +1593,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: { - destIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: { - nextHop_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: { - priority_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceTagsIsMutable(); - instanceTags_.add(s); - break; - } // case 58 - case 64: { - routeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 64 - case 72: { - nextHopType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 72 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + destIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + nextHop_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: + { + priority_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceTagsIsMutable(); + instanceTags_.add(s); + break; + } // case 58 + case 64: + { + routeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 64 + case 72: + { + nextHopType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 72 + 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) { @@ -1473,26 +1664,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int routeType_ = 0; /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return The enum numeric value on the wire for routeType. */ - @java.lang.Override public int getRouteTypeValue() { + @java.lang.Override + public int getRouteTypeValue() { return routeType_; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @param value The enum numeric value on the wire for routeType to set. * @return This builder for chaining. */ @@ -1503,28 +1702,38 @@ public Builder setRouteTypeValue(int value) { return this; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return The routeType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType result = + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.forNumber(routeType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @param value The routeType to set. * @return This builder for chaining. */ - public Builder setRouteType(com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType value) { + public Builder setRouteType( + com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType value) { if (value == null) { throw new NullPointerException(); } @@ -1534,11 +1743,14 @@ public Builder setRouteType(com.google.cloud.networkmanagement.v1beta1.RouteInfo return this; } /** + * + * *
      * Type of route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return This builder for chaining. */ public Builder clearRouteType() { @@ -1550,22 +1762,29 @@ public Builder clearRouteType() { private int nextHopType_ = 0; /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The enum numeric value on the wire for nextHopType. */ - @java.lang.Override public int getNextHopTypeValue() { + @java.lang.Override + public int getNextHopTypeValue() { return nextHopType_; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @param value The enum numeric value on the wire for nextHopType to set. * @return This builder for chaining. */ @@ -1576,28 +1795,38 @@ public Builder setNextHopTypeValue(int value) { return this; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The nextHopType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType() { - com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType result = + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.forNumber(nextHopType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @param value The nextHopType to set. * @return This builder for chaining. */ - public Builder setNextHopType(com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType value) { + public Builder setNextHopType( + com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType value) { if (value == null) { throw new NullPointerException(); } @@ -1607,11 +1836,14 @@ public Builder setNextHopType(com.google.cloud.networkmanagement.v1beta1.RouteIn return this; } /** + * + * *
      * Type of next hop.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return This builder for chaining. */ public Builder clearNextHopType() { @@ -1623,18 +1855,20 @@ public Builder clearNextHopType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1643,20 +1877,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1664,28 +1899,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1695,17 +1937,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a Compute Engine route.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1715,6 +1961,8 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1723,13 +1971,13 @@ public Builder setDisplayNameBytes(
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1738,6 +1986,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1746,15 +1996,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1762,6 +2011,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1770,18 +2021,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1790,6 +2045,7 @@ public Builder setUri(
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1799,6 +2055,8 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a Compute Engine route.
      * Dynamic route from cloud router does not have a URI.
@@ -1807,12 +2065,14 @@ public Builder clearUri() {
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000008; @@ -1822,18 +2082,20 @@ public Builder setUriBytes( private java.lang.Object destIpRange_ = ""; /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @return The destIpRange. */ public java.lang.String getDestIpRange() { java.lang.Object ref = destIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destIpRange_ = s; return s; @@ -1842,20 +2104,21 @@ public java.lang.String getDestIpRange() { } } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @return The bytes for destIpRange. */ - public com.google.protobuf.ByteString - getDestIpRangeBytes() { + public com.google.protobuf.ByteString getDestIpRangeBytes() { java.lang.Object ref = destIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destIpRange_ = b; return b; } else { @@ -1863,28 +2126,35 @@ public java.lang.String getDestIpRange() { } } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @param value The destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destIpRange_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @return This builder for chaining. */ public Builder clearDestIpRange() { @@ -1894,17 +2164,21 @@ public Builder clearDestIpRange() { return this; } /** + * + * *
      * Destination IP range of the route.
      * 
* * string dest_ip_range = 3; + * * @param value The bytes for destIpRange to set. * @return This builder for chaining. */ - public Builder setDestIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destIpRange_ = value; bitField0_ |= 0x00000010; @@ -1914,18 +2188,20 @@ public Builder setDestIpRangeBytes( private java.lang.Object nextHop_ = ""; /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @return The nextHop. */ public java.lang.String getNextHop() { java.lang.Object ref = nextHop_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextHop_ = s; return s; @@ -1934,20 +2210,21 @@ public java.lang.String getNextHop() { } } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @return The bytes for nextHop. */ - public com.google.protobuf.ByteString - getNextHopBytes() { + public com.google.protobuf.ByteString getNextHopBytes() { java.lang.Object ref = nextHop_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextHop_ = b; return b; } else { @@ -1955,28 +2232,35 @@ public java.lang.String getNextHop() { } } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @param value The nextHop to set. * @return This builder for chaining. */ - public Builder setNextHop( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextHop(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextHop_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @return This builder for chaining. */ public Builder clearNextHop() { @@ -1986,17 +2270,21 @@ public Builder clearNextHop() { return this; } /** + * + * *
      * Next hop of the route.
      * 
* * string next_hop = 4; + * * @param value The bytes for nextHop to set. * @return This builder for chaining. */ - public Builder setNextHopBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextHopBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextHop_ = value; bitField0_ |= 0x00000020; @@ -2006,18 +2294,20 @@ public Builder setNextHopBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -2026,20 +2316,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -2047,28 +2338,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -2078,17 +2376,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network.
      * 
* * string network_uri = 5; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -2096,13 +2398,16 @@ public Builder setNetworkUriBytes( return this; } - private int priority_ ; + private int priority_; /** + * + * *
      * Priority of the route.
      * 
* * int32 priority = 6; + * * @return The priority. */ @java.lang.Override @@ -2110,27 +2415,33 @@ public int getPriority() { return priority_; } /** + * + * *
      * Priority of the route.
      * 
* * int32 priority = 6; + * * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { - + priority_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Priority of the route.
      * 
* * int32 priority = 6; + * * @return This builder for chaining. */ public Builder clearPriority() { @@ -2140,42 +2451,52 @@ public Builder clearPriority() { return this; } - private com.google.protobuf.LazyStringList instanceTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceTagsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { instanceTags_ = new com.google.protobuf.LazyStringArrayList(instanceTags_); bitField0_ |= 0x00000100; - } + } } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @return A list containing the instanceTags. */ - public com.google.protobuf.ProtocolStringList - getInstanceTagsList() { + public com.google.protobuf.ProtocolStringList getInstanceTagsList() { return instanceTags_.getUnmodifiableView(); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @return The count of instanceTags. */ public int getInstanceTagsCount() { return instanceTags_.size(); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param index The index of the element to return. * @return The instanceTags at the given index. */ @@ -2183,76 +2504,90 @@ public java.lang.String getInstanceTags(int index) { return instanceTags_.get(index); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - public com.google.protobuf.ByteString - getInstanceTagsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTagsBytes(int index) { return instanceTags_.getByteString(index); } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param index The index to set the value at. * @param value The instanceTags to set. * @return This builder for chaining. */ - public Builder setInstanceTags( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTagsIsMutable(); instanceTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param value The instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTags( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param values The instanceTags to add. * @return This builder for chaining. */ - public Builder addAllInstanceTags( - java.lang.Iterable values) { + public Builder addAllInstanceTags(java.lang.Iterable values) { ensureInstanceTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTags_); onChanged(); return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @return This builder for chaining. */ public Builder clearInstanceTags() { @@ -2262,26 +2597,30 @@ public Builder clearInstanceTags() { return this; } /** + * + * *
      * Instance tags of the route.
      * 
* * repeated string instance_tags = 7; + * * @param value The bytes of the instanceTags to add. * @return This builder for chaining. */ - public Builder addInstanceTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInstanceTagsIsMutable(); instanceTags_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2291,12 +2630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.RouteInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.RouteInfo) private static final com.google.cloud.networkmanagement.v1beta1.RouteInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.RouteInfo(); } @@ -2305,27 +2644,27 @@ public static com.google.cloud.networkmanagement.v1beta1.RouteInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteInfo 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 RouteInfo 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; @@ -2340,6 +2679,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.RouteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java similarity index 76% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java index 237714498072..2dfc1b9db8e0 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/RouteInfoOrBuilder.java @@ -1,71 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface RouteInfoOrBuilder extends +public interface RouteInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.RouteInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return The enum numeric value on the wire for routeType. */ int getRouteTypeValue(); /** + * + * *
    * Type of route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8; + * * @return The routeType. */ com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType getRouteType(); /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The enum numeric value on the wire for nextHopType. */ int getNextHopTypeValue(); /** + * + * *
    * Type of next hop.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9; + * * @return The nextHopType. */ com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType getNextHopType(); /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a Compute Engine route.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -74,10 +109,13 @@ public interface RouteInfoOrBuilder extends
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a Compute Engine route.
    * Dynamic route from cloud router does not have a URI.
@@ -86,119 +124,147 @@ public interface RouteInfoOrBuilder extends
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The destIpRange. */ java.lang.String getDestIpRange(); /** + * + * *
    * Destination IP range of the route.
    * 
* * string dest_ip_range = 3; + * * @return The bytes for destIpRange. */ - com.google.protobuf.ByteString - getDestIpRangeBytes(); + com.google.protobuf.ByteString getDestIpRangeBytes(); /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The nextHop. */ java.lang.String getNextHop(); /** + * + * *
    * Next hop of the route.
    * 
* * string next_hop = 4; + * * @return The bytes for nextHop. */ - com.google.protobuf.ByteString - getNextHopBytes(); + com.google.protobuf.ByteString getNextHopBytes(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network.
    * 
* * string network_uri = 5; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Priority of the route.
    * 
* * int32 priority = 6; + * * @return The priority. */ int getPriority(); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return A list containing the instanceTags. */ - java.util.List - getInstanceTagsList(); + java.util.List getInstanceTagsList(); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @return The count of instanceTags. */ int getInstanceTagsCount(); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the element to return. * @return The instanceTags at the given index. */ java.lang.String getInstanceTags(int index); /** + * + * *
    * Instance tags of the route.
    * 
* * repeated string instance_tags = 7; + * * @param index The index of the value to return. * @return The bytes of the instanceTags at the given index. */ - com.google.protobuf.ByteString - getInstanceTagsBytes(int index); + com.google.protobuf.ByteString getInstanceTagsBytes(int index); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java similarity index 74% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java index 4db7a9bec435..deb08eebf3b6 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/Step.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * A simulated forwarding path is composed of multiple steps.
  * Each step has a well-defined state and an associated configuration.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Step}
  */
-public final class Step extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Step extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Step)
     StepOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Step.newBuilder() to construct.
   private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Step() {
     description_ = "";
     state_ = 0;
@@ -28,30 +46,33 @@ private Step() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Step();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
+    return com.google.cloud.networkmanagement.v1beta1.TraceProto
+        .internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.networkmanagement.v1beta1.Step.class, com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
+            com.google.cloud.networkmanagement.v1beta1.Step.class,
+            com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Type of states that are defined in the network state machine.
    * Each step in the packet trace is in a specific state.
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.Step.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -70,6 +92,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -79,6 +103,8 @@ public enum State
      */
     START_FROM_INSTANCE(1),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -88,6 +114,8 @@ public enum State
      */
     START_FROM_INTERNET(2),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -99,6 +127,8 @@ public enum State
      */
     START_FROM_PRIVATE_NETWORK(3),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -108,6 +138,8 @@ public enum State
      */
     START_FROM_GKE_MASTER(21),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -117,6 +149,8 @@ public enum State
      */
     START_FROM_CLOUD_SQL_INSTANCE(22),
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Cloud function.
      * A CloudFunctionInfo is populated with starting function information.
@@ -126,6 +160,8 @@ public enum State
      */
     START_FROM_CLOUD_FUNCTION(23),
     /**
+     *
+     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -134,6 +170,8 @@ public enum State */ APPLY_INGRESS_FIREWALL_RULE(4), /** + * + * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -142,6 +180,8 @@ public enum State */ APPLY_EGRESS_FIREWALL_RULE(5), /** + * + * *
      * Config checking state: verify route.
      * 
@@ -150,6 +190,8 @@ public enum State */ APPLY_ROUTE(6), /** + * + * *
      * Config checking state: match forwarding rule.
      * 
@@ -158,6 +200,8 @@ public enum State */ APPLY_FORWARDING_RULE(7), /** + * + * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -167,6 +211,8 @@ public enum State
      */
     SPOOFING_APPROVED(8),
     /**
+     *
+     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -175,6 +221,8 @@ public enum State */ ARRIVE_AT_INSTANCE(9), /** + * + * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -183,6 +231,8 @@ public enum State */ ARRIVE_AT_INTERNAL_LOAD_BALANCER(10), /** + * + * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -191,6 +241,8 @@ public enum State */ ARRIVE_AT_EXTERNAL_LOAD_BALANCER(11), /** + * + * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -199,6 +251,8 @@ public enum State */ ARRIVE_AT_VPN_GATEWAY(12), /** + * + * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -207,6 +261,8 @@ public enum State */ ARRIVE_AT_VPN_TUNNEL(13), /** + * + * *
      * Forwarding state: arriving at a VPC connector.
      * 
@@ -215,6 +271,8 @@ public enum State */ ARRIVE_AT_VPC_CONNECTOR(24), /** + * + * *
      * Transition state: packet header translated.
      * 
@@ -223,6 +281,8 @@ public enum State */ NAT(14), /** + * + * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -232,6 +292,8 @@ public enum State
      */
     PROXY_CONNECTION(15),
     /**
+     *
+     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -240,6 +302,8 @@ public enum State */ DELIVER(16), /** + * + * *
      * Final state: packet could be dropped.
      * 
@@ -248,6 +312,8 @@ public enum State */ DROP(17), /** + * + * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -257,6 +323,8 @@ public enum State
      */
     FORWARD(18),
     /**
+     *
+     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -265,6 +333,8 @@ public enum State */ ABORT(19), /** + * + * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -277,6 +347,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -285,6 +357,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Initial state: packet originating from a Compute Engine instance.
      * An InstanceInfo is populated with starting instance information.
@@ -294,6 +368,8 @@ public enum State
      */
     public static final int START_FROM_INSTANCE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from the internet.
      * The endpoint information is populated.
@@ -303,6 +379,8 @@ public enum State
      */
     public static final int START_FROM_INTERNET_VALUE = 2;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a VPC or on-premises network
      * with internal source IP.
@@ -314,6 +392,8 @@ public enum State
      */
     public static final int START_FROM_PRIVATE_NETWORK_VALUE = 3;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Google Kubernetes Engine cluster
      * master. A GKEMasterInfo is populated with starting instance information.
@@ -323,6 +403,8 @@ public enum State
      */
     public static final int START_FROM_GKE_MASTER_VALUE = 21;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Cloud SQL instance.
      * A CloudSQLInstanceInfo is populated with starting instance information.
@@ -332,6 +414,8 @@ public enum State
      */
     public static final int START_FROM_CLOUD_SQL_INSTANCE_VALUE = 22;
     /**
+     *
+     *
      * 
      * Initial state: packet originating from a Cloud function.
      * A CloudFunctionInfo is populated with starting function information.
@@ -341,6 +425,8 @@ public enum State
      */
     public static final int START_FROM_CLOUD_FUNCTION_VALUE = 23;
     /**
+     *
+     *
      * 
      * Config checking state: verify ingress firewall rule.
      * 
@@ -349,6 +435,8 @@ public enum State */ public static final int APPLY_INGRESS_FIREWALL_RULE_VALUE = 4; /** + * + * *
      * Config checking state: verify egress firewall rule.
      * 
@@ -357,6 +445,8 @@ public enum State */ public static final int APPLY_EGRESS_FIREWALL_RULE_VALUE = 5; /** + * + * *
      * Config checking state: verify route.
      * 
@@ -365,6 +455,8 @@ public enum State */ public static final int APPLY_ROUTE_VALUE = 6; /** + * + * *
      * Config checking state: match forwarding rule.
      * 
@@ -373,6 +465,8 @@ public enum State */ public static final int APPLY_FORWARDING_RULE_VALUE = 7; /** + * + * *
      * Config checking state: packet sent or received under foreign IP
      * address and allowed.
@@ -382,6 +476,8 @@ public enum State
      */
     public static final int SPOOFING_APPROVED_VALUE = 8;
     /**
+     *
+     *
      * 
      * Forwarding state: arriving at a Compute Engine instance.
      * 
@@ -390,6 +486,8 @@ public enum State */ public static final int ARRIVE_AT_INSTANCE_VALUE = 9; /** + * + * *
      * Forwarding state: arriving at a Compute Engine internal load balancer.
      * 
@@ -398,6 +496,8 @@ public enum State */ public static final int ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE = 10; /** + * + * *
      * Forwarding state: arriving at a Compute Engine external load balancer.
      * 
@@ -406,6 +506,8 @@ public enum State */ public static final int ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE = 11; /** + * + * *
      * Forwarding state: arriving at a Cloud VPN gateway.
      * 
@@ -414,6 +516,8 @@ public enum State */ public static final int ARRIVE_AT_VPN_GATEWAY_VALUE = 12; /** + * + * *
      * Forwarding state: arriving at a Cloud VPN tunnel.
      * 
@@ -422,6 +526,8 @@ public enum State */ public static final int ARRIVE_AT_VPN_TUNNEL_VALUE = 13; /** + * + * *
      * Forwarding state: arriving at a VPC connector.
      * 
@@ -430,6 +536,8 @@ public enum State */ public static final int ARRIVE_AT_VPC_CONNECTOR_VALUE = 24; /** + * + * *
      * Transition state: packet header translated.
      * 
@@ -438,6 +546,8 @@ public enum State */ public static final int NAT_VALUE = 14; /** + * + * *
      * Transition state: original connection is terminated and a new proxied
      * connection is initiated.
@@ -447,6 +557,8 @@ public enum State
      */
     public static final int PROXY_CONNECTION_VALUE = 15;
     /**
+     *
+     *
      * 
      * Final state: packet could be delivered.
      * 
@@ -455,6 +567,8 @@ public enum State */ public static final int DELIVER_VALUE = 16; /** + * + * *
      * Final state: packet could be dropped.
      * 
@@ -463,6 +577,8 @@ public enum State */ public static final int DROP_VALUE = 17; /** + * + * *
      * Final state: packet could be forwarded to a network with an unknown
      * configuration.
@@ -472,6 +588,8 @@ public enum State
      */
     public static final int FORWARD_VALUE = 18;
     /**
+     *
+     *
      * 
      * Final state: analysis is aborted.
      * 
@@ -480,6 +598,8 @@ public enum State */ public static final int ABORT_VALUE = 19; /** + * + * *
      * Special state: viewer of the test result does not have permission to
      * see the configuration in this step.
@@ -489,7 +609,6 @@ public enum State
      */
     public static final int VIEWER_PERMISSION_MISSING_VALUE = 20;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -514,71 +633,93 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return START_FROM_INSTANCE;
-        case 2: return START_FROM_INTERNET;
-        case 3: return START_FROM_PRIVATE_NETWORK;
-        case 21: return START_FROM_GKE_MASTER;
-        case 22: return START_FROM_CLOUD_SQL_INSTANCE;
-        case 23: return START_FROM_CLOUD_FUNCTION;
-        case 4: return APPLY_INGRESS_FIREWALL_RULE;
-        case 5: return APPLY_EGRESS_FIREWALL_RULE;
-        case 6: return APPLY_ROUTE;
-        case 7: return APPLY_FORWARDING_RULE;
-        case 8: return SPOOFING_APPROVED;
-        case 9: return ARRIVE_AT_INSTANCE;
-        case 10: return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
-        case 11: return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
-        case 12: return ARRIVE_AT_VPN_GATEWAY;
-        case 13: return ARRIVE_AT_VPN_TUNNEL;
-        case 24: return ARRIVE_AT_VPC_CONNECTOR;
-        case 14: return NAT;
-        case 15: return PROXY_CONNECTION;
-        case 16: return DELIVER;
-        case 17: return DROP;
-        case 18: return FORWARD;
-        case 19: return ABORT;
-        case 20: return VIEWER_PERMISSION_MISSING;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return START_FROM_INSTANCE;
+        case 2:
+          return START_FROM_INTERNET;
+        case 3:
+          return START_FROM_PRIVATE_NETWORK;
+        case 21:
+          return START_FROM_GKE_MASTER;
+        case 22:
+          return START_FROM_CLOUD_SQL_INSTANCE;
+        case 23:
+          return START_FROM_CLOUD_FUNCTION;
+        case 4:
+          return APPLY_INGRESS_FIREWALL_RULE;
+        case 5:
+          return APPLY_EGRESS_FIREWALL_RULE;
+        case 6:
+          return APPLY_ROUTE;
+        case 7:
+          return APPLY_FORWARDING_RULE;
+        case 8:
+          return SPOOFING_APPROVED;
+        case 9:
+          return ARRIVE_AT_INSTANCE;
+        case 10:
+          return ARRIVE_AT_INTERNAL_LOAD_BALANCER;
+        case 11:
+          return ARRIVE_AT_EXTERNAL_LOAD_BALANCER;
+        case 12:
+          return ARRIVE_AT_VPN_GATEWAY;
+        case 13:
+          return ARRIVE_AT_VPN_TUNNEL;
+        case 24:
+          return ARRIVE_AT_VPC_CONNECTOR;
+        case 14:
+          return NAT;
+        case 15:
+          return PROXY_CONNECTION;
+        case 16:
+          return DELIVER;
+        case 17:
+          return DROP;
+        case 18:
+          return FORWARD;
+        case 19:
+          return ABORT;
+        case 20:
+          return VIEWER_PERMISSION_MISSING;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.networkmanagement.v1beta1.Step.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;
@@ -597,8 +738,10 @@ private State(int value) {
 
   private int stepInfoCase_ = 0;
   private java.lang.Object stepInfo_;
+
   public enum StepInfoCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INSTANCE(5),
     FIREWALL(6),
@@ -619,6 +762,7 @@ public enum StepInfoCase
     CLOUD_FUNCTION(20),
     STEPINFO_NOT_SET(0);
     private final int value;
+
     private StepInfoCase(int value) {
       this.value = value;
     }
@@ -634,47 +778,69 @@ public static StepInfoCase valueOf(int value) {
 
     public static StepInfoCase forNumber(int value) {
       switch (value) {
-        case 5: return INSTANCE;
-        case 6: return FIREWALL;
-        case 7: return ROUTE;
-        case 8: return ENDPOINT;
-        case 9: return FORWARDING_RULE;
-        case 10: return VPN_GATEWAY;
-        case 11: return VPN_TUNNEL;
-        case 21: return VPC_CONNECTOR;
-        case 12: return DELIVER;
-        case 13: return FORWARD;
-        case 14: return ABORT;
-        case 15: return DROP;
-        case 16: return LOAD_BALANCER;
-        case 17: return NETWORK;
-        case 18: return GKE_MASTER;
-        case 19: return CLOUD_SQL_INSTANCE;
-        case 20: return CLOUD_FUNCTION;
-        case 0: return STEPINFO_NOT_SET;
-        default: return null;
+        case 5:
+          return INSTANCE;
+        case 6:
+          return FIREWALL;
+        case 7:
+          return ROUTE;
+        case 8:
+          return ENDPOINT;
+        case 9:
+          return FORWARDING_RULE;
+        case 10:
+          return VPN_GATEWAY;
+        case 11:
+          return VPN_TUNNEL;
+        case 21:
+          return VPC_CONNECTOR;
+        case 12:
+          return DELIVER;
+        case 13:
+          return FORWARD;
+        case 14:
+          return ABORT;
+        case 15:
+          return DROP;
+        case 16:
+          return LOAD_BALANCER;
+        case 17:
+          return NETWORK;
+        case 18:
+          return GKE_MASTER;
+        case 19:
+          return CLOUD_SQL_INSTANCE;
+        case 20:
+          return CLOUD_FUNCTION;
+        case 0:
+          return STEPINFO_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StepInfoCase
-  getStepInfoCase() {
-    return StepInfoCase.forNumber(
-        stepInfoCase_);
+  public StepInfoCase getStepInfoCase() {
+    return StepInfoCase.forNumber(stepInfoCase_);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
+   *
+   *
    * 
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -683,29 +849,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @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 { @@ -716,37 +882,51 @@ public java.lang.String getDescription() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return The state. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Step.State getState() { - com.google.cloud.networkmanagement.v1beta1.Step.State result = com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.Step.State getState() { + com.google.cloud.networkmanagement.v1beta1.Step.State result = + com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED + : result; } public static final int CAUSES_DROP_FIELD_NUMBER = 3; private boolean causesDrop_ = false; /** + * + * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; + * * @return The causesDrop. */ @java.lang.Override @@ -755,14 +935,18 @@ public boolean getCausesDrop() { } public static final int PROJECT_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The projectId. */ @java.lang.Override @@ -771,29 +955,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -803,11 +987,14 @@ public java.lang.String getProjectId() { public static final int INSTANCE_FIELD_NUMBER = 5; /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -815,21 +1002,26 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; + * * @return The instance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine instance.
    * 
@@ -839,18 +1031,21 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInstanceOrBuilder() { if (stepInfoCase_ == 5) { - return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance(); } public static final int FIREWALL_FIELD_NUMBER = 6; /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; + * * @return Whether the firewall field is set. */ @java.lang.Override @@ -858,21 +1053,26 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; + * * @return The firewall. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -882,18 +1082,21 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirewallOrBuilder() { if (stepInfoCase_ == 6) { - return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance(); } public static final int ROUTE_FIELD_NUMBER = 7; /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; + * * @return Whether the route field is set. */ @java.lang.Override @@ -901,21 +1104,26 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; + * * @return The route. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine route.
    * 
@@ -925,13 +1133,15 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrBuilder() { if (stepInfoCase_ == 7) { - return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance(); } public static final int ENDPOINT_FIELD_NUMBER = 8; /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -940,6 +1150,7 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; + * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -947,6 +1158,8 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -955,16 +1168,19 @@ public boolean hasEndpoint() {
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; + * * @return The endpoint. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint() { if (stepInfoCase_ == 8) { - return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -977,18 +1193,21 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint() {
   @java.lang.Override
   public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointOrBuilder() {
     if (stepInfoCase_ == 8) {
-       return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_;
+      return (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_;
     }
     return com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance();
   }
 
   public static final int FORWARDING_RULE_FIELD_NUMBER = 9;
   /**
+   *
+   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; + * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -996,21 +1215,26 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; + * * @return The forwardingRule. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardingRule() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
@@ -1018,20 +1242,24 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardi * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder + getForwardingRuleOrBuilder() { if (stepInfoCase_ == 9) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); } public static final int VPN_GATEWAY_FIELD_NUMBER = 10; /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; + * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -1039,21 +1267,26 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; + * * @return The vpnGateway. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -1061,20 +1294,24 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway() * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder + getVpnGatewayOrBuilder() { if (stepInfoCase_ == 10) { - return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); } public static final int VPN_TUNNEL_FIELD_NUMBER = 11; /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; + * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -1082,21 +1319,26 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; + * * @return The vpnTunnel. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -1106,18 +1348,21 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder() { if (stepInfoCase_ == 11) { - return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance(); } public static final int VPC_CONNECTOR_FIELD_NUMBER = 21; /** + * + * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; + * * @return Whether the vpcConnector field is set. */ @java.lang.Override @@ -1125,21 +1370,26 @@ public boolean hasVpcConnector() { return stepInfoCase_ == 21; } /** + * + * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; + * * @return The vpcConnector. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector() { if (stepInfoCase_ == 21) { - return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a VPC connector.
    * 
@@ -1147,20 +1397,24 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnect * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder + getVpcConnectorOrBuilder() { if (stepInfoCase_ == 21) { - return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); } public static final int DELIVER_FIELD_NUMBER = 12; /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; + * * @return Whether the deliver field is set. */ @java.lang.Override @@ -1168,21 +1422,26 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; + * * @return The deliver. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -1192,18 +1451,21 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDeliverOrBuilder() { if (stepInfoCase_ == 12) { - return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance(); } public static final int FORWARD_FIELD_NUMBER = 13; /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; + * * @return Whether the forward field is set. */ @java.lang.Override @@ -1211,21 +1473,26 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; + * * @return The forward. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
@@ -1235,18 +1502,21 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwardOrBuilder() { if (stepInfoCase_ == 13) { - return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance(); } public static final int ABORT_FIELD_NUMBER = 14; /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; + * * @return Whether the abort field is set. */ @java.lang.Override @@ -1254,21 +1524,26 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; + * * @return The abort. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
@@ -1278,18 +1553,21 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrBuilder() { if (stepInfoCase_ == 14) { - return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance(); } public static final int DROP_FIELD_NUMBER = 15; /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; + * * @return Whether the drop field is set. */ @java.lang.Override @@ -1297,21 +1575,26 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; + * * @return The drop. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
@@ -1321,18 +1604,21 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBuilder() { if (stepInfoCase_ == 15) { - return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance(); } public static final int LOAD_BALANCER_FIELD_NUMBER = 16; /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; + * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -1340,21 +1626,26 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; + * * @return The loadBalancer. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalancer() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); } /** + * + * *
    * Display information of the load balancers.
    * 
@@ -1362,20 +1653,24 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalanc * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder + getLoadBalancerOrBuilder() { if (stepInfoCase_ == 16) { - return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); } public static final int NETWORK_FIELD_NUMBER = 17; /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; + * * @return Whether the network field is set. */ @java.lang.Override @@ -1383,21 +1678,26 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; + * * @return The network. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Google Cloud network.
    * 
@@ -1407,18 +1707,21 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetworkOrBuilder() { if (stepInfoCase_ == 17) { - return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance(); } public static final int GKE_MASTER_FIELD_NUMBER = 18; /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; + * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -1426,21 +1729,26 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; + * * @return The gkeMaster. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -1450,18 +1758,22 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder() { if (stepInfoCase_ == 18) { - return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance(); } public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 19; /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * + * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -1469,42 +1781,53 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * + * * @return The cloudSqlInstance. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudSqlInstance() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder + getCloudSqlInstanceOrBuilder() { if (stepInfoCase_ == 19) { - return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); } public static final int CLOUD_FUNCTION_FIELD_NUMBER = 20; /** + * + * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; + * * @return Whether the cloudFunction field is set. */ @java.lang.Override @@ -1512,21 +1835,26 @@ public boolean hasCloudFunction() { return stepInfoCase_ == 20; } /** + * + * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; + * * @return The cloudFunction. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction() { if (stepInfoCase_ == 20) { - return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); } /** + * + * *
    * Display information of a Cloud function.
    * 
@@ -1534,14 +1862,16 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunc * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder getCloudFunctionOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder + getCloudFunctionOrBuilder() { if (stepInfoCase_ == 20) { - return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; + return (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_; } return com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1553,12 +1883,12 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } - if (state_ != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (causesDrop_ != false) { @@ -1580,10 +1910,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(8, (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_); } if (stepInfoCase_ == 9) { - output.writeMessage(9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); + output.writeMessage( + 9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); } if (stepInfoCase_ == 10) { - output.writeMessage(10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); + output.writeMessage( + 10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); } if (stepInfoCase_ == 11) { output.writeMessage(11, (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_); @@ -1601,7 +1933,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(15, (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_); } if (stepInfoCase_ == 16) { - output.writeMessage(16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); + output.writeMessage( + 16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); } if (stepInfoCase_ == 17) { output.writeMessage(17, (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_); @@ -1610,13 +1943,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(18, (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - output.writeMessage(19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); + output.writeMessage( + 19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); } if (stepInfoCase_ == 20) { - output.writeMessage(20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); + output.writeMessage( + 20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); } if (stepInfoCase_ == 21) { - output.writeMessage(21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); + output.writeMessage( + 21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); } getUnknownFields().writeTo(output); } @@ -1630,84 +1966,100 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } - if (state_ != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + if (state_ + != com.google.cloud.networkmanagement.v1beta1.Step.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } if (causesDrop_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, causesDrop_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, causesDrop_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, projectId_); } if (stepInfoCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_); } if (stepInfoCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_); } if (stepInfoCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_); } if (stepInfoCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_); } if (stepInfoCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_); } if (stepInfoCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_); } if (stepInfoCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_); } if (stepInfoCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_); } if (stepInfoCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_); } if (stepInfoCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_); } if (stepInfoCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_); } if (stepInfoCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_); } if (stepInfoCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_); } if (stepInfoCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_); } if (stepInfoCase_ == 19) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 19, (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_); } if (stepInfoCase_ == 20) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 20, (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_); } if (stepInfoCase_ == 21) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1717,89 +2069,70 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.Step)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.Step other = (com.google.cloud.networkmanagement.v1beta1.Step) obj; + com.google.cloud.networkmanagement.v1beta1.Step other = + (com.google.cloud.networkmanagement.v1beta1.Step) obj; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (getCausesDrop() - != other.getCausesDrop()) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (getCausesDrop() != other.getCausesDrop()) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!getStepInfoCase().equals(other.getStepInfoCase())) return false; switch (stepInfoCase_) { case 5: - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) return false; break; case 6: - if (!getFirewall() - .equals(other.getFirewall())) return false; + if (!getFirewall().equals(other.getFirewall())) return false; break; case 7: - if (!getRoute() - .equals(other.getRoute())) return false; + if (!getRoute().equals(other.getRoute())) return false; break; case 8: - if (!getEndpoint() - .equals(other.getEndpoint())) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; break; case 9: - if (!getForwardingRule() - .equals(other.getForwardingRule())) return false; + if (!getForwardingRule().equals(other.getForwardingRule())) return false; break; case 10: - if (!getVpnGateway() - .equals(other.getVpnGateway())) return false; + if (!getVpnGateway().equals(other.getVpnGateway())) return false; break; case 11: - if (!getVpnTunnel() - .equals(other.getVpnTunnel())) return false; + if (!getVpnTunnel().equals(other.getVpnTunnel())) return false; break; case 21: - if (!getVpcConnector() - .equals(other.getVpcConnector())) return false; + if (!getVpcConnector().equals(other.getVpcConnector())) return false; break; case 12: - if (!getDeliver() - .equals(other.getDeliver())) return false; + if (!getDeliver().equals(other.getDeliver())) return false; break; case 13: - if (!getForward() - .equals(other.getForward())) return false; + if (!getForward().equals(other.getForward())) return false; break; case 14: - if (!getAbort() - .equals(other.getAbort())) return false; + if (!getAbort().equals(other.getAbort())) return false; break; case 15: - if (!getDrop() - .equals(other.getDrop())) return false; + if (!getDrop().equals(other.getDrop())) return false; break; case 16: - if (!getLoadBalancer() - .equals(other.getLoadBalancer())) return false; + if (!getLoadBalancer().equals(other.getLoadBalancer())) return false; break; case 17: - if (!getNetwork() - .equals(other.getNetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; break; case 18: - if (!getGkeMaster() - .equals(other.getGkeMaster())) return false; + if (!getGkeMaster().equals(other.getGkeMaster())) return false; break; case 19: - if (!getCloudSqlInstance() - .equals(other.getCloudSqlInstance())) return false; + if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false; break; case 20: - if (!getCloudFunction() - .equals(other.getCloudFunction())) return false; + if (!getCloudFunction().equals(other.getCloudFunction())) return false; break; case 0: default: @@ -1820,8 +2153,7 @@ public int hashCode() { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + CAUSES_DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCausesDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCausesDrop()); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + getProjectId().hashCode(); switch (stepInfoCase_) { @@ -1901,97 +2233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.Step 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.networkmanagement.v1beta1.Step parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.Step parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.Step parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.Step 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.networkmanagement.v1beta1.Step parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 simulated forwarding path is composed of multiple steps.
    * Each step has a well-defined state and an associated configuration.
@@ -1999,33 +2338,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Step}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Step)
       com.google.cloud.networkmanagement.v1beta1.StepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.Step.class, com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.Step.class,
+              com.google.cloud.networkmanagement.v1beta1.Step.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.Step.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();
@@ -2091,9 +2429,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
     }
 
     @java.lang.Override
@@ -2112,8 +2450,11 @@ public com.google.cloud.networkmanagement.v1beta1.Step build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.Step buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.Step result = new com.google.cloud.networkmanagement.v1beta1.Step(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.networkmanagement.v1beta1.Step result =
+          new com.google.cloud.networkmanagement.v1beta1.Step(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2138,72 +2479,55 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Step resul
     private void buildPartialOneofs(com.google.cloud.networkmanagement.v1beta1.Step result) {
       result.stepInfoCase_ = stepInfoCase_;
       result.stepInfo_ = this.stepInfo_;
-      if (stepInfoCase_ == 5 &&
-          instanceBuilder_ != null) {
+      if (stepInfoCase_ == 5 && instanceBuilder_ != null) {
         result.stepInfo_ = instanceBuilder_.build();
       }
-      if (stepInfoCase_ == 6 &&
-          firewallBuilder_ != null) {
+      if (stepInfoCase_ == 6 && firewallBuilder_ != null) {
         result.stepInfo_ = firewallBuilder_.build();
       }
-      if (stepInfoCase_ == 7 &&
-          routeBuilder_ != null) {
+      if (stepInfoCase_ == 7 && routeBuilder_ != null) {
         result.stepInfo_ = routeBuilder_.build();
       }
-      if (stepInfoCase_ == 8 &&
-          endpointBuilder_ != null) {
+      if (stepInfoCase_ == 8 && endpointBuilder_ != null) {
         result.stepInfo_ = endpointBuilder_.build();
       }
-      if (stepInfoCase_ == 9 &&
-          forwardingRuleBuilder_ != null) {
+      if (stepInfoCase_ == 9 && forwardingRuleBuilder_ != null) {
         result.stepInfo_ = forwardingRuleBuilder_.build();
       }
-      if (stepInfoCase_ == 10 &&
-          vpnGatewayBuilder_ != null) {
+      if (stepInfoCase_ == 10 && vpnGatewayBuilder_ != null) {
         result.stepInfo_ = vpnGatewayBuilder_.build();
       }
-      if (stepInfoCase_ == 11 &&
-          vpnTunnelBuilder_ != null) {
+      if (stepInfoCase_ == 11 && vpnTunnelBuilder_ != null) {
         result.stepInfo_ = vpnTunnelBuilder_.build();
       }
-      if (stepInfoCase_ == 21 &&
-          vpcConnectorBuilder_ != null) {
+      if (stepInfoCase_ == 21 && vpcConnectorBuilder_ != null) {
         result.stepInfo_ = vpcConnectorBuilder_.build();
       }
-      if (stepInfoCase_ == 12 &&
-          deliverBuilder_ != null) {
+      if (stepInfoCase_ == 12 && deliverBuilder_ != null) {
         result.stepInfo_ = deliverBuilder_.build();
       }
-      if (stepInfoCase_ == 13 &&
-          forwardBuilder_ != null) {
+      if (stepInfoCase_ == 13 && forwardBuilder_ != null) {
         result.stepInfo_ = forwardBuilder_.build();
       }
-      if (stepInfoCase_ == 14 &&
-          abortBuilder_ != null) {
+      if (stepInfoCase_ == 14 && abortBuilder_ != null) {
         result.stepInfo_ = abortBuilder_.build();
       }
-      if (stepInfoCase_ == 15 &&
-          dropBuilder_ != null) {
+      if (stepInfoCase_ == 15 && dropBuilder_ != null) {
         result.stepInfo_ = dropBuilder_.build();
       }
-      if (stepInfoCase_ == 16 &&
-          loadBalancerBuilder_ != null) {
+      if (stepInfoCase_ == 16 && loadBalancerBuilder_ != null) {
         result.stepInfo_ = loadBalancerBuilder_.build();
       }
-      if (stepInfoCase_ == 17 &&
-          networkBuilder_ != null) {
+      if (stepInfoCase_ == 17 && networkBuilder_ != null) {
         result.stepInfo_ = networkBuilder_.build();
       }
-      if (stepInfoCase_ == 18 &&
-          gkeMasterBuilder_ != null) {
+      if (stepInfoCase_ == 18 && gkeMasterBuilder_ != null) {
         result.stepInfo_ = gkeMasterBuilder_.build();
       }
-      if (stepInfoCase_ == 19 &&
-          cloudSqlInstanceBuilder_ != null) {
+      if (stepInfoCase_ == 19 && cloudSqlInstanceBuilder_ != null) {
         result.stepInfo_ = cloudSqlInstanceBuilder_.build();
       }
-      if (stepInfoCase_ == 20 &&
-          cloudFunctionBuilder_ != null) {
+      if (stepInfoCase_ == 20 && cloudFunctionBuilder_ != null) {
         result.stepInfo_ = cloudFunctionBuilder_.build();
       }
     }
@@ -2212,38 +2536,39 @@ private void buildPartialOneofs(com.google.cloud.networkmanagement.v1beta1.Step
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.networkmanagement.v1beta1.Step) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Step)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Step) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2251,7 +2576,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Step other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance())
+        return this;
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
         bitField0_ |= 0x00000001;
@@ -2269,77 +2595,95 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Step other)
         onChanged();
       }
       switch (other.getStepInfoCase()) {
-        case INSTANCE: {
-          mergeInstance(other.getInstance());
-          break;
-        }
-        case FIREWALL: {
-          mergeFirewall(other.getFirewall());
-          break;
-        }
-        case ROUTE: {
-          mergeRoute(other.getRoute());
-          break;
-        }
-        case ENDPOINT: {
-          mergeEndpoint(other.getEndpoint());
-          break;
-        }
-        case FORWARDING_RULE: {
-          mergeForwardingRule(other.getForwardingRule());
-          break;
-        }
-        case VPN_GATEWAY: {
-          mergeVpnGateway(other.getVpnGateway());
-          break;
-        }
-        case VPN_TUNNEL: {
-          mergeVpnTunnel(other.getVpnTunnel());
-          break;
-        }
-        case VPC_CONNECTOR: {
-          mergeVpcConnector(other.getVpcConnector());
-          break;
-        }
-        case DELIVER: {
-          mergeDeliver(other.getDeliver());
-          break;
-        }
-        case FORWARD: {
-          mergeForward(other.getForward());
-          break;
-        }
-        case ABORT: {
-          mergeAbort(other.getAbort());
-          break;
-        }
-        case DROP: {
-          mergeDrop(other.getDrop());
-          break;
-        }
-        case LOAD_BALANCER: {
-          mergeLoadBalancer(other.getLoadBalancer());
-          break;
-        }
-        case NETWORK: {
-          mergeNetwork(other.getNetwork());
-          break;
-        }
-        case GKE_MASTER: {
-          mergeGkeMaster(other.getGkeMaster());
-          break;
-        }
-        case CLOUD_SQL_INSTANCE: {
-          mergeCloudSqlInstance(other.getCloudSqlInstance());
-          break;
-        }
-        case CLOUD_FUNCTION: {
-          mergeCloudFunction(other.getCloudFunction());
-          break;
-        }
-        case STEPINFO_NOT_SET: {
-          break;
-        }
+        case INSTANCE:
+          {
+            mergeInstance(other.getInstance());
+            break;
+          }
+        case FIREWALL:
+          {
+            mergeFirewall(other.getFirewall());
+            break;
+          }
+        case ROUTE:
+          {
+            mergeRoute(other.getRoute());
+            break;
+          }
+        case ENDPOINT:
+          {
+            mergeEndpoint(other.getEndpoint());
+            break;
+          }
+        case FORWARDING_RULE:
+          {
+            mergeForwardingRule(other.getForwardingRule());
+            break;
+          }
+        case VPN_GATEWAY:
+          {
+            mergeVpnGateway(other.getVpnGateway());
+            break;
+          }
+        case VPN_TUNNEL:
+          {
+            mergeVpnTunnel(other.getVpnTunnel());
+            break;
+          }
+        case VPC_CONNECTOR:
+          {
+            mergeVpcConnector(other.getVpcConnector());
+            break;
+          }
+        case DELIVER:
+          {
+            mergeDeliver(other.getDeliver());
+            break;
+          }
+        case FORWARD:
+          {
+            mergeForward(other.getForward());
+            break;
+          }
+        case ABORT:
+          {
+            mergeAbort(other.getAbort());
+            break;
+          }
+        case DROP:
+          {
+            mergeDrop(other.getDrop());
+            break;
+          }
+        case LOAD_BALANCER:
+          {
+            mergeLoadBalancer(other.getLoadBalancer());
+            break;
+          }
+        case NETWORK:
+          {
+            mergeNetwork(other.getNetwork());
+            break;
+          }
+        case GKE_MASTER:
+          {
+            mergeGkeMaster(other.getGkeMaster());
+            break;
+          }
+        case CLOUD_SQL_INSTANCE:
+          {
+            mergeCloudSqlInstance(other.getCloudSqlInstance());
+            break;
+          }
+        case CLOUD_FUNCTION:
+          {
+            mergeCloudFunction(other.getCloudFunction());
+            break;
+          }
+        case STEPINFO_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2367,151 +2711,140 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              causesDrop_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getFirewallFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getRouteFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndpointFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 8;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getForwardingRuleFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 9;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getVpnGatewayFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 10;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getVpnTunnelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 11;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDeliverFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 12;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getForwardFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 13;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getAbortFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 14;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getDropFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getLoadBalancerFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 16;
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getNetworkFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 17;
-              break;
-            } // case 138
-            case 146: {
-              input.readMessage(
-                  getGkeMasterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 18;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getCloudSqlInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 19;
-              break;
-            } // case 154
-            case 162: {
-              input.readMessage(
-                  getCloudFunctionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 20;
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getVpcConnectorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepInfoCase_ = 21;
-              break;
-            } // case 170
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                causesDrop_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getFirewallFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getRouteFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndpointFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 8;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getForwardingRuleFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 9;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(getVpnGatewayFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 10;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getVpnTunnelFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 11;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDeliverFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 12;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getForwardFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 13;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getAbortFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 14;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getDropFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(getLoadBalancerFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 16;
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(getNetworkFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 17;
+                break;
+              } // case 138
+            case 146:
+              {
+                input.readMessage(getGkeMasterFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 18;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getCloudSqlInstanceFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 19;
+                break;
+              } // case 154
+            case 162:
+              {
+                input.readMessage(getCloudFunctionFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 20;
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(getVpcConnectorFieldBuilder().getBuilder(), extensionRegistry);
+                stepInfoCase_ = 21;
+                break;
+              } // case 170
+            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) {
@@ -2521,12 +2854,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int stepInfoCase_ = 0;
     private java.lang.Object stepInfo_;
-    public StepInfoCase
-        getStepInfoCase() {
-      return StepInfoCase.forNumber(
-          stepInfoCase_);
+
+    public StepInfoCase getStepInfoCase() {
+      return StepInfoCase.forNumber(stepInfoCase_);
     }
 
     public Builder clearStepInfo() {
@@ -2540,18 +2873,20 @@ public Builder clearStepInfo() {
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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; @@ -2560,20 +2895,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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 { @@ -2581,28 +2917,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2612,17 +2955,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * A description of the step. Usually this is a summary of the state.
      * 
* * string description = 1; + * * @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_ |= 0x00000001; @@ -2632,22 +2979,29 @@ public Builder setDescriptionBytes( private int state_ = 0; /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2658,24 +3012,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return The state. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.Step.State getState() { - com.google.cloud.networkmanagement.v1beta1.Step.State result = com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.Step.State result = + com.google.cloud.networkmanagement.v1beta1.Step.State.forNumber(state_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.Step.State.UNRECOGNIZED + : result; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2689,11 +3052,14 @@ public Builder setState(com.google.cloud.networkmanagement.v1beta1.Step.State va return this; } /** + * + * *
      * Each step is in one of the pre-defined states.
      * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return This builder for chaining. */ public Builder clearState() { @@ -2703,13 +3069,16 @@ public Builder clearState() { return this; } - private boolean causesDrop_ ; + private boolean causesDrop_; /** + * + * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; + * * @return The causesDrop. */ @java.lang.Override @@ -2717,27 +3086,33 @@ public boolean getCausesDrop() { return causesDrop_; } /** + * + * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; + * * @param value The causesDrop to set. * @return This builder for chaining. */ public Builder setCausesDrop(boolean value) { - + causesDrop_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * This is a step that leads to the final state Drop.
      * 
* * bool causes_drop = 3; + * * @return This builder for chaining. */ public Builder clearCausesDrop() { @@ -2749,18 +3124,20 @@ public Builder clearCausesDrop() { private java.lang.Object projectId_ = ""; /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2769,20 +3146,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -2790,28 +3168,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2821,17 +3206,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID that contains the configuration this step is validating.
      * 
* * string project_id = 4; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000008; @@ -2840,13 +3229,19 @@ public Builder setProjectIdBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.InstanceInfo, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> instanceBuilder_; + com.google.cloud.networkmanagement.v1beta1.InstanceInfo, + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> + instanceBuilder_; /** + * + * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -2854,11 +3249,14 @@ public boolean hasInstance() { return stepInfoCase_ == 5; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; + * * @return The instance. */ @java.lang.Override @@ -2876,6 +3274,8 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance() { } } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2896,6 +3296,8 @@ public Builder setInstance(com.google.cloud.networkmanagement.v1beta1.InstanceIn return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2914,6 +3316,8 @@ public Builder setInstance( return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2922,10 +3326,14 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.cloud.networkmanagement.v1beta1.InstanceInfo value) { if (instanceBuilder_ == null) { - if (stepInfoCase_ == 5 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.InstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 5 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -2941,6 +3349,8 @@ public Builder mergeInstance(com.google.cloud.networkmanagement.v1beta1.Instance return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2964,6 +3374,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2974,6 +3386,8 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder getInstan return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2992,6 +3406,8 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInsta } } /** + * + * *
      * Display information of a Compute Engine instance.
      * 
@@ -2999,14 +3415,19 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInsta * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.InstanceInfo, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.InstanceInfo, + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { if (!(stepInfoCase_ == 5)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.InstanceInfo.getDefaultInstance(); } - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.InstanceInfo, com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder>( + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.InstanceInfo, + com.google.cloud.networkmanagement.v1beta1.InstanceInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.InstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3018,13 +3439,19 @@ public com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInsta } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.FirewallInfo, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> firewallBuilder_; + com.google.cloud.networkmanagement.v1beta1.FirewallInfo, + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> + firewallBuilder_; /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; + * * @return Whether the firewall field is set. */ @java.lang.Override @@ -3032,11 +3459,14 @@ public boolean hasFirewall() { return stepInfoCase_ == 6; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; + * * @return The firewall. */ @java.lang.Override @@ -3054,6 +3484,8 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall() { } } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3074,6 +3506,8 @@ public Builder setFirewall(com.google.cloud.networkmanagement.v1beta1.FirewallIn return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3092,6 +3526,8 @@ public Builder setFirewall( return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3100,10 +3536,14 @@ public Builder setFirewall( */ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1beta1.FirewallInfo value) { if (firewallBuilder_ == null) { - if (stepInfoCase_ == 6 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 6 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3119,6 +3559,8 @@ public Builder mergeFirewall(com.google.cloud.networkmanagement.v1beta1.Firewall return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3142,6 +3584,8 @@ public Builder clearFirewall() { return this; } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3152,6 +3596,8 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder getFirewa return getFirewallFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3170,6 +3616,8 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirew } } /** + * + * *
      * Display information of a Compute Engine firewall rule.
      * 
@@ -3177,14 +3625,19 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirew * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.FirewallInfo, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.FirewallInfo, + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder> getFirewallFieldBuilder() { if (firewallBuilder_ == null) { if (!(stepInfoCase_ == 6)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.FirewallInfo.getDefaultInstance(); } - firewallBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.FirewallInfo, com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder>( + firewallBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.FirewallInfo, + com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.FirewallInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3196,13 +3649,19 @@ public com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirew } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.RouteInfo, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> routeBuilder_; + com.google.cloud.networkmanagement.v1beta1.RouteInfo, + com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> + routeBuilder_; /** + * + * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; + * * @return Whether the route field is set. */ @java.lang.Override @@ -3210,11 +3669,14 @@ public boolean hasRoute() { return stepInfoCase_ == 7; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; + * * @return The route. */ @java.lang.Override @@ -3232,6 +3694,8 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute() { } } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3252,6 +3716,8 @@ public Builder setRoute(com.google.cloud.networkmanagement.v1beta1.RouteInfo val return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3270,6 +3736,8 @@ public Builder setRoute( return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3278,10 +3746,14 @@ public Builder setRoute( */ public Builder mergeRoute(com.google.cloud.networkmanagement.v1beta1.RouteInfo value) { if (routeBuilder_ == null) { - if (stepInfoCase_ == 7 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.RouteInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 7 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.RouteInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3297,6 +3769,8 @@ public Builder mergeRoute(com.google.cloud.networkmanagement.v1beta1.RouteInfo v return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3320,6 +3794,8 @@ public Builder clearRoute() { return this; } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3330,6 +3806,8 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder getRouteBuil return getRouteFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3348,6 +3826,8 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB } } /** + * + * *
      * Display information of a Compute Engine route.
      * 
@@ -3355,14 +3835,19 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.RouteInfo, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.RouteInfo, + com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder> getRouteFieldBuilder() { if (routeBuilder_ == null) { if (!(stepInfoCase_ == 7)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.RouteInfo.getDefaultInstance(); } - routeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.RouteInfo, com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder>( + routeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.RouteInfo, + com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.RouteInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3374,8 +3859,13 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> endpointBuilder_; + com.google.cloud.networkmanagement.v1beta1.EndpointInfo, + com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> + endpointBuilder_; /** + * + * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3384,6 +3874,7 @@ public com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrB
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; + * * @return Whether the endpoint field is set. */ @java.lang.Override @@ -3391,6 +3882,8 @@ public boolean hasEndpoint() { return stepInfoCase_ == 8; } /** + * + * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3399,6 +3892,7 @@ public boolean hasEndpoint() {
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; + * * @return The endpoint. */ @java.lang.Override @@ -3416,6 +3910,8 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint() { } } /** + * + * *
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3439,6 +3935,8 @@ public Builder setEndpoint(com.google.cloud.networkmanagement.v1beta1.EndpointIn
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3460,6 +3958,8 @@ public Builder setEndpoint(
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3471,10 +3971,14 @@ public Builder setEndpoint(
      */
     public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
       if (endpointBuilder_ == null) {
-        if (stepInfoCase_ == 8 &&
-            stepInfo_ != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
-          stepInfo_ = com.google.cloud.networkmanagement.v1beta1.EndpointInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_)
-              .mergeFrom(value).buildPartial();
+        if (stepInfoCase_ == 8
+            && stepInfo_
+                != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
+          stepInfo_ =
+              com.google.cloud.networkmanagement.v1beta1.EndpointInfo.newBuilder(
+                      (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stepInfo_ = value;
         }
@@ -3490,6 +3994,8 @@ public Builder mergeEndpoint(com.google.cloud.networkmanagement.v1beta1.Endpoint
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3516,6 +4022,8 @@ public Builder clearEndpoint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3529,6 +4037,8 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpoi
       return getEndpointFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3550,6 +4060,8 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
       }
     }
     /**
+     *
+     *
      * 
      * Display information of the source and destination under analysis.
      * The endpoint information in an intermediate state may differ with the
@@ -3560,14 +4072,19 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> 
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
         getEndpointFieldBuilder() {
       if (endpointBuilder_ == null) {
         if (!(stepInfoCase_ == 8)) {
           stepInfo_ = com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance();
         }
-        endpointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
+        endpointBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
                 (com.google.cloud.networkmanagement.v1beta1.EndpointInfo) stepInfo_,
                 getParentForChildren(),
                 isClean());
@@ -3579,13 +4096,19 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder> forwardingRuleBuilder_;
+            com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo,
+            com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder,
+            com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder>
+        forwardingRuleBuilder_;
     /**
+     *
+     *
      * 
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; + * * @return Whether the forwardingRule field is set. */ @java.lang.Override @@ -3593,11 +4116,14 @@ public boolean hasForwardingRule() { return stepInfoCase_ == 9; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; + * * @return The forwardingRule. */ @java.lang.Override @@ -3615,13 +4141,16 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardi } } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder setForwardingRule(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { + public Builder setForwardingRule( + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3635,6 +4164,8 @@ public Builder setForwardingRule(com.google.cloud.networkmanagement.v1beta1.Forw return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3653,18 +4184,26 @@ public Builder setForwardingRule( return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - public Builder mergeForwardingRule(com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { + public Builder mergeForwardingRule( + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo value) { if (forwardingRuleBuilder_ == null) { - if (stepInfoCase_ == 9 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 9 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo + .getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3680,6 +4219,8 @@ public Builder mergeForwardingRule(com.google.cloud.networkmanagement.v1beta1.Fo return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3703,16 +4244,21 @@ public Builder clearForwardingRule() { return this; } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder getForwardingRuleBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder + getForwardingRuleBuilder() { return getForwardingRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3720,7 +4266,8 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder get * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder + getForwardingRuleOrBuilder() { if ((stepInfoCase_ == 9) && (forwardingRuleBuilder_ != null)) { return forwardingRuleBuilder_.getMessageOrBuilder(); } else { @@ -3731,6 +4278,8 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder ge } } /** + * + * *
      * Display information of a Compute Engine forwarding rule.
      * 
@@ -3738,14 +4287,20 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder ge * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder> getForwardingRuleFieldBuilder() { if (forwardingRuleBuilder_ == null) { if (!(stepInfoCase_ == 9)) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); - } - forwardingRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.getDefaultInstance(); + } + forwardingRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo, + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3757,13 +4312,19 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> vpnGatewayBuilder_; + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> + vpnGatewayBuilder_; /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; + * * @return Whether the vpnGateway field is set. */ @java.lang.Override @@ -3771,11 +4332,14 @@ public boolean hasVpnGateway() { return stepInfoCase_ == 10; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; + * * @return The vpnGateway. */ @java.lang.Override @@ -3793,6 +4357,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway() } } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3813,6 +4379,8 @@ public Builder setVpnGateway(com.google.cloud.networkmanagement.v1beta1.VpnGatew return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3831,18 +4399,25 @@ public Builder setVpnGateway( return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ - public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo value) { + public Builder mergeVpnGateway( + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo value) { if (vpnGatewayBuilder_ == null) { - if (stepInfoCase_ == 10 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 10 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -3858,6 +4433,8 @@ public Builder mergeVpnGateway(com.google.cloud.networkmanagement.v1beta1.VpnGat return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3881,16 +4458,21 @@ public Builder clearVpnGateway() { return this; } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ - public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder getVpnGatewayBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder + getVpnGatewayBuilder() { return getVpnGatewayFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3898,7 +4480,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder getVpnG * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder + getVpnGatewayOrBuilder() { if ((stepInfoCase_ == 10) && (vpnGatewayBuilder_ != null)) { return vpnGatewayBuilder_.getMessageOrBuilder(); } else { @@ -3909,6 +4492,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpn } } /** + * + * *
      * Display information of a Compute Engine VPN gateway.
      * 
@@ -3916,14 +4501,20 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpn * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder> getVpnGatewayFieldBuilder() { if (vpnGatewayBuilder_ == null) { if (!(stepInfoCase_ == 10)) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); - } - vpnGatewayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance(); + } + vpnGatewayBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) stepInfo_, getParentForChildren(), isClean()); @@ -3935,13 +4526,19 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpn } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> vpnTunnelBuilder_; + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> + vpnTunnelBuilder_; /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; + * * @return Whether the vpnTunnel field is set. */ @java.lang.Override @@ -3949,11 +4546,14 @@ public boolean hasVpnTunnel() { return stepInfoCase_ == 11; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; + * * @return The vpnTunnel. */ @java.lang.Override @@ -3971,6 +4571,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel() { } } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -3991,6 +4593,8 @@ public Builder setVpnTunnel(com.google.cloud.networkmanagement.v1beta1.VpnTunnel return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4009,6 +4613,8 @@ public Builder setVpnTunnel( return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4017,10 +4623,14 @@ public Builder setVpnTunnel( */ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo value) { if (vpnTunnelBuilder_ == null) { - if (stepInfoCase_ == 11 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 11 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4036,6 +4646,8 @@ public Builder mergeVpnTunnel(com.google.cloud.networkmanagement.v1beta1.VpnTunn return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4059,6 +4671,8 @@ public Builder clearVpnTunnel() { return this; } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4069,6 +4683,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu return getVpnTunnelFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4076,7 +4692,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder getVpnTu * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder + getVpnTunnelOrBuilder() { if ((stepInfoCase_ == 11) && (vpnTunnelBuilder_ != null)) { return vpnTunnelBuilder_.getMessageOrBuilder(); } else { @@ -4087,6 +4704,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnT } } /** + * + * *
      * Display information of a Compute Engine VPN tunnel.
      * 
@@ -4094,14 +4713,19 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnT * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder> getVpnTunnelFieldBuilder() { if (vpnTunnelBuilder_ == null) { if (!(stepInfoCase_ == 11)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance(); } - vpnTunnelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder>( + vpnTunnelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4113,13 +4737,19 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnT } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> vpcConnectorBuilder_; + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> + vpcConnectorBuilder_; /** + * + * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; + * * @return Whether the vpcConnector field is set. */ @java.lang.Override @@ -4127,11 +4757,14 @@ public boolean hasVpcConnector() { return stepInfoCase_ == 21; } /** + * + * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; + * * @return The vpcConnector. */ @java.lang.Override @@ -4149,13 +4782,16 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnect } } /** + * + * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ - public Builder setVpcConnector(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { + public Builder setVpcConnector( + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { if (vpcConnectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4169,6 +4805,8 @@ public Builder setVpcConnector(com.google.cloud.networkmanagement.v1beta1.VpcCon return this; } /** + * + * *
      * Display information of a VPC connector.
      * 
@@ -4187,18 +4825,26 @@ public Builder setVpcConnector( return this; } /** + * + * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ - public Builder mergeVpcConnector(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { + public Builder mergeVpcConnector( + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo value) { if (vpcConnectorBuilder_ == null) { - if (stepInfoCase_ == 21 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 21 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo + .getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4214,6 +4860,8 @@ public Builder mergeVpcConnector(com.google.cloud.networkmanagement.v1beta1.VpcC return this; } /** + * + * *
      * Display information of a VPC connector.
      * 
@@ -4237,16 +4885,21 @@ public Builder clearVpcConnector() { return this; } /** + * + * *
      * Display information of a VPC connector.
      * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ - public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder getVpcConnectorBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder + getVpcConnectorBuilder() { return getVpcConnectorFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a VPC connector.
      * 
@@ -4254,7 +4907,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder getVp * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder + getVpcConnectorOrBuilder() { if ((stepInfoCase_ == 21) && (vpcConnectorBuilder_ != null)) { return vpcConnectorBuilder_.getMessageOrBuilder(); } else { @@ -4265,6 +4919,8 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getV } } /** + * + * *
      * Display information of a VPC connector.
      * 
@@ -4272,14 +4928,20 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getV * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder> getVpcConnectorFieldBuilder() { if (vpcConnectorBuilder_ == null) { if (!(stepInfoCase_ == 21)) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); - } - vpcConnectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance(); + } + vpcConnectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4291,13 +4953,19 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getV } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DeliverInfo, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> deliverBuilder_; + com.google.cloud.networkmanagement.v1beta1.DeliverInfo, + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> + deliverBuilder_; /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; + * * @return Whether the deliver field is set. */ @java.lang.Override @@ -4305,11 +4973,14 @@ public boolean hasDeliver() { return stepInfoCase_ == 12; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; + * * @return The deliver. */ @java.lang.Override @@ -4327,6 +4998,8 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver() { } } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4347,6 +5020,8 @@ public Builder setDeliver(com.google.cloud.networkmanagement.v1beta1.DeliverInfo return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4365,6 +5040,8 @@ public Builder setDeliver( return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4373,10 +5050,14 @@ public Builder setDeliver( */ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1beta1.DeliverInfo value) { if (deliverBuilder_ == null) { - if (stepInfoCase_ == 12 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 12 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4392,6 +5073,8 @@ public Builder mergeDeliver(com.google.cloud.networkmanagement.v1beta1.DeliverIn return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4415,6 +5098,8 @@ public Builder clearDeliver() { return this; } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4425,6 +5110,8 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder getDeliver return getDeliverFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4443,6 +5130,8 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDelive } } /** + * + * *
      * Display information of the final state "deliver" and reason.
      * 
@@ -4450,14 +5139,19 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDelive * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DeliverInfo, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.DeliverInfo, + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder> getDeliverFieldBuilder() { if (deliverBuilder_ == null) { if (!(stepInfoCase_ == 12)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DeliverInfo.getDefaultInstance(); } - deliverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DeliverInfo, com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder>( + deliverBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.DeliverInfo, + com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.DeliverInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4469,13 +5163,19 @@ public com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDelive } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardInfo, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> forwardBuilder_; + com.google.cloud.networkmanagement.v1beta1.ForwardInfo, + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> + forwardBuilder_; /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; + * * @return Whether the forward field is set. */ @java.lang.Override @@ -4483,11 +5183,14 @@ public boolean hasForward() { return stepInfoCase_ == 13; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; + * * @return The forward. */ @java.lang.Override @@ -4505,6 +5208,8 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward() { } } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4525,6 +5230,8 @@ public Builder setForward(com.google.cloud.networkmanagement.v1beta1.ForwardInfo return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4543,6 +5250,8 @@ public Builder setForward( return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4551,10 +5260,14 @@ public Builder setForward( */ public Builder mergeForward(com.google.cloud.networkmanagement.v1beta1.ForwardInfo value) { if (forwardBuilder_ == null) { - if (stepInfoCase_ == 13 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 13 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4570,6 +5283,8 @@ public Builder mergeForward(com.google.cloud.networkmanagement.v1beta1.ForwardIn return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4593,6 +5308,8 @@ public Builder clearForward() { return this; } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4603,6 +5320,8 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder getForward return getForwardFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4621,6 +5340,8 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwar } } /** + * + * *
      * Display information of the final state "forward" and reason.
      * 
@@ -4628,14 +5349,19 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwar * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardInfo, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ForwardInfo, + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder> getForwardFieldBuilder() { if (forwardBuilder_ == null) { if (!(stepInfoCase_ == 13)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.ForwardInfo.getDefaultInstance(); } - forwardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ForwardInfo, com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder>( + forwardBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ForwardInfo, + com.google.cloud.networkmanagement.v1beta1.ForwardInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.ForwardInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4647,13 +5373,19 @@ public com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwar } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.AbortInfo, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> abortBuilder_; + com.google.cloud.networkmanagement.v1beta1.AbortInfo, + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> + abortBuilder_; /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; + * * @return Whether the abort field is set. */ @java.lang.Override @@ -4661,11 +5393,14 @@ public boolean hasAbort() { return stepInfoCase_ == 14; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; + * * @return The abort. */ @java.lang.Override @@ -4683,6 +5418,8 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort() { } } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4703,6 +5440,8 @@ public Builder setAbort(com.google.cloud.networkmanagement.v1beta1.AbortInfo val return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4721,6 +5460,8 @@ public Builder setAbort( return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4729,10 +5470,14 @@ public Builder setAbort( */ public Builder mergeAbort(com.google.cloud.networkmanagement.v1beta1.AbortInfo value) { if (abortBuilder_ == null) { - if (stepInfoCase_ == 14 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.AbortInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 14 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.AbortInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4748,6 +5493,8 @@ public Builder mergeAbort(com.google.cloud.networkmanagement.v1beta1.AbortInfo v return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4771,6 +5518,8 @@ public Builder clearAbort() { return this; } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4781,6 +5530,8 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder getAbortBuil return getAbortFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4799,6 +5550,8 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrB } } /** + * + * *
      * Display information of the final state "abort" and reason.
      * 
@@ -4806,14 +5559,19 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrB * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.AbortInfo, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.AbortInfo, + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder> getAbortFieldBuilder() { if (abortBuilder_ == null) { if (!(stepInfoCase_ == 14)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.AbortInfo.getDefaultInstance(); } - abortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.AbortInfo, com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder>( + abortBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.AbortInfo, + com.google.cloud.networkmanagement.v1beta1.AbortInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.AbortInfo) stepInfo_, getParentForChildren(), isClean()); @@ -4825,13 +5583,19 @@ public com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DropInfo, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> dropBuilder_; + com.google.cloud.networkmanagement.v1beta1.DropInfo, + com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> + dropBuilder_; /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; + * * @return Whether the drop field is set. */ @java.lang.Override @@ -4839,11 +5603,14 @@ public boolean hasDrop() { return stepInfoCase_ == 15; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; + * * @return The drop. */ @java.lang.Override @@ -4861,6 +5628,8 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() { } } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4881,6 +5650,8 @@ public Builder setDrop(com.google.cloud.networkmanagement.v1beta1.DropInfo value return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4899,6 +5670,8 @@ public Builder setDrop( return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4907,10 +5680,14 @@ public Builder setDrop( */ public Builder mergeDrop(com.google.cloud.networkmanagement.v1beta1.DropInfo value) { if (dropBuilder_ == null) { - if (stepInfoCase_ == 15 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DropInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 15 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.DropInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -4926,6 +5703,8 @@ public Builder mergeDrop(com.google.cloud.networkmanagement.v1beta1.DropInfo val return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4949,6 +5728,8 @@ public Builder clearDrop() { return this; } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4959,6 +5740,8 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder getDropBuilde return getDropFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4977,6 +5760,8 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBui } } /** + * + * *
      * Display information of the final state "drop" and reason.
      * 
@@ -4984,14 +5769,19 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBui * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DropInfo, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.DropInfo, + com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder> getDropFieldBuilder() { if (dropBuilder_ == null) { if (!(stepInfoCase_ == 15)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance(); } - dropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.DropInfo, com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder>( + dropBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.DropInfo, + com.google.cloud.networkmanagement.v1beta1.DropInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5003,13 +5793,19 @@ public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> loadBalancerBuilder_; + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> + loadBalancerBuilder_; /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; + * * @return Whether the loadBalancer field is set. */ @java.lang.Override @@ -5017,11 +5813,14 @@ public boolean hasLoadBalancer() { return stepInfoCase_ == 16; } /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; + * * @return The loadBalancer. */ @java.lang.Override @@ -5039,13 +5838,16 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalanc } } /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ - public Builder setLoadBalancer(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { + public Builder setLoadBalancer( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { if (loadBalancerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5059,6 +5861,8 @@ public Builder setLoadBalancer(com.google.cloud.networkmanagement.v1beta1.LoadBa return this; } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -5077,18 +5881,26 @@ public Builder setLoadBalancer( return this; } /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ - public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { + public Builder mergeLoadBalancer( + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo value) { if (loadBalancerBuilder_ == null) { - if (stepInfoCase_ == 16 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 16 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo + .getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5104,6 +5916,8 @@ public Builder mergeLoadBalancer(com.google.cloud.networkmanagement.v1beta1.Load return this; } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -5127,16 +5941,21 @@ public Builder clearLoadBalancer() { return this; } /** + * + * *
      * Display information of the load balancers.
      * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder getLoadBalancerBuilder() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder + getLoadBalancerBuilder() { return getLoadBalancerFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -5144,7 +5963,8 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder getLo * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder + getLoadBalancerOrBuilder() { if ((stepInfoCase_ == 16) && (loadBalancerBuilder_ != null)) { return loadBalancerBuilder_.getMessageOrBuilder(); } else { @@ -5155,6 +5975,8 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getL } } /** + * + * *
      * Display information of the load balancers.
      * 
@@ -5162,14 +5984,20 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getL * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder> getLoadBalancerFieldBuilder() { if (loadBalancerBuilder_ == null) { if (!(stepInfoCase_ == 16)) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); - } - loadBalancerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.getDefaultInstance(); + } + loadBalancerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5181,13 +6009,19 @@ public com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getL } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.NetworkInfo, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> networkBuilder_; + com.google.cloud.networkmanagement.v1beta1.NetworkInfo, + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> + networkBuilder_; /** + * + * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; + * * @return Whether the network field is set. */ @java.lang.Override @@ -5195,11 +6029,14 @@ public boolean hasNetwork() { return stepInfoCase_ == 17; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; + * * @return The network. */ @java.lang.Override @@ -5217,6 +6054,8 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork() { } } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5237,6 +6076,8 @@ public Builder setNetwork(com.google.cloud.networkmanagement.v1beta1.NetworkInfo return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5255,6 +6096,8 @@ public Builder setNetwork( return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5263,10 +6106,14 @@ public Builder setNetwork( */ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1beta1.NetworkInfo value) { if (networkBuilder_ == null) { - if (stepInfoCase_ == 17 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.NetworkInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 17 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5282,6 +6129,8 @@ public Builder mergeNetwork(com.google.cloud.networkmanagement.v1beta1.NetworkIn return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5305,6 +6154,8 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5315,6 +6166,8 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder getNetwork return getNetworkFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5333,6 +6186,8 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetwor } } /** + * + * *
      * Display information of a Google Cloud network.
      * 
@@ -5340,14 +6195,19 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetwor * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.NetworkInfo, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.NetworkInfo, + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder> getNetworkFieldBuilder() { if (networkBuilder_ == null) { if (!(stepInfoCase_ == 17)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.NetworkInfo.getDefaultInstance(); } - networkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.NetworkInfo, com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder>( + networkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.NetworkInfo, + com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.NetworkInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5359,13 +6219,19 @@ public com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetwor } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> gkeMasterBuilder_; + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> + gkeMasterBuilder_; /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; + * * @return Whether the gkeMaster field is set. */ @java.lang.Override @@ -5373,11 +6239,14 @@ public boolean hasGkeMaster() { return stepInfoCase_ == 18; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; + * * @return The gkeMaster. */ @java.lang.Override @@ -5395,6 +6264,8 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster() { } } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5415,6 +6286,8 @@ public Builder setGkeMaster(com.google.cloud.networkmanagement.v1beta1.GKEMaster return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5433,6 +6306,8 @@ public Builder setGkeMaster( return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5441,10 +6316,14 @@ public Builder setGkeMaster( */ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo value) { if (gkeMasterBuilder_ == null) { - if (stepInfoCase_ == 18 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 18 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5460,6 +6339,8 @@ public Builder mergeGkeMaster(com.google.cloud.networkmanagement.v1beta1.GKEMast return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5483,6 +6364,8 @@ public Builder clearGkeMaster() { return this; } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5493,6 +6376,8 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa return getGkeMasterFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5500,7 +6385,8 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder getGkeMa * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder + getGkeMasterOrBuilder() { if ((stepInfoCase_ == 18) && (gkeMasterBuilder_ != null)) { return gkeMasterBuilder_.getMessageOrBuilder(); } else { @@ -5511,6 +6397,8 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeM } } /** + * + * *
      * Display information of a Google Kubernetes Engine cluster master.
      * 
@@ -5518,14 +6406,19 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeM * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder> getGkeMasterFieldBuilder() { if (gkeMasterBuilder_ == null) { if (!(stepInfoCase_ == 18)) { stepInfo_ = com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.getDefaultInstance(); } - gkeMasterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder>( + gkeMasterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo, + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5537,13 +6430,20 @@ public com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeM } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> cloudSqlInstanceBuilder_; + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> + cloudSqlInstanceBuilder_; /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * + * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -5551,11 +6451,15 @@ public boolean hasCloudSqlInstance() { return stepInfoCase_ == 19; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * + * * @return The cloudSqlInstance. */ @java.lang.Override @@ -5573,13 +6477,17 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudS } } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ - public Builder setCloudSqlInstance(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { + public Builder setCloudSqlInstance( + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5593,11 +6501,14 @@ public Builder setCloudSqlInstance(com.google.cloud.networkmanagement.v1beta1.Cl return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ public Builder setCloudSqlInstance( com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder builderForValue) { @@ -5611,18 +6522,27 @@ public Builder setCloudSqlInstance( return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ - public Builder mergeCloudSqlInstance(com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { + public Builder mergeCloudSqlInstance( + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo value) { if (cloudSqlInstanceBuilder_ == null) { - if (stepInfoCase_ == 19 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 19 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo + .getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5638,11 +6558,14 @@ public Builder mergeCloudSqlInstance(com.google.cloud.networkmanagement.v1beta1. return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ public Builder clearCloudSqlInstance() { if (cloudSqlInstanceBuilder_ == null) { @@ -5661,24 +6584,32 @@ public Builder clearCloudSqlInstance() { return this; } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder getCloudSqlInstanceBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder + getCloudSqlInstanceBuilder() { return getCloudSqlInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder + getCloudSqlInstanceOrBuilder() { if ((stepInfoCase_ == 19) && (cloudSqlInstanceBuilder_ != null)) { return cloudSqlInstanceBuilder_.getMessageOrBuilder(); } else { @@ -5689,21 +6620,30 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder } } /** + * + * *
      * Display information of a Cloud SQL instance.
      * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder> getCloudSqlInstanceFieldBuilder() { if (cloudSqlInstanceBuilder_ == null) { if (!(stepInfoCase_ == 19)) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); - } - cloudSqlInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.getDefaultInstance(); + } + cloudSqlInstanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5715,13 +6655,19 @@ public com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> cloudFunctionBuilder_; + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> + cloudFunctionBuilder_; /** + * + * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; + * * @return Whether the cloudFunction field is set. */ @java.lang.Override @@ -5729,11 +6675,14 @@ public boolean hasCloudFunction() { return stepInfoCase_ == 20; } /** + * + * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; + * * @return The cloudFunction. */ @java.lang.Override @@ -5751,13 +6700,16 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunc } } /** + * + * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ - public Builder setCloudFunction(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { + public Builder setCloudFunction( + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { if (cloudFunctionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5771,6 +6723,8 @@ public Builder setCloudFunction(com.google.cloud.networkmanagement.v1beta1.Cloud return this; } /** + * + * *
      * Display information of a Cloud function.
      * 
@@ -5789,18 +6743,26 @@ public Builder setCloudFunction( return this; } /** + * + * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ - public Builder mergeCloudFunction(com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { + public Builder mergeCloudFunction( + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo value) { if (cloudFunctionBuilder_ == null) { - if (stepInfoCase_ == 20 && - stepInfo_ != com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance()) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.newBuilder((com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_) - .mergeFrom(value).buildPartial(); + if (stepInfoCase_ == 20 + && stepInfo_ + != com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo + .getDefaultInstance()) { + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.newBuilder( + (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_) + .mergeFrom(value) + .buildPartial(); } else { stepInfo_ = value; } @@ -5816,6 +6778,8 @@ public Builder mergeCloudFunction(com.google.cloud.networkmanagement.v1beta1.Clo return this; } /** + * + * *
      * Display information of a Cloud function.
      * 
@@ -5839,16 +6803,21 @@ public Builder clearCloudFunction() { return this; } /** + * + * *
      * Display information of a Cloud function.
      * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder getCloudFunctionBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder + getCloudFunctionBuilder() { return getCloudFunctionFieldBuilder().getBuilder(); } /** + * + * *
      * Display information of a Cloud function.
      * 
@@ -5856,7 +6825,8 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder getC * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder getCloudFunctionOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder + getCloudFunctionOrBuilder() { if ((stepInfoCase_ == 20) && (cloudFunctionBuilder_ != null)) { return cloudFunctionBuilder_.getMessageOrBuilder(); } else { @@ -5867,6 +6837,8 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder get } } /** + * + * *
      * Display information of a Cloud function.
      * 
@@ -5874,14 +6846,20 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder get * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder> getCloudFunctionFieldBuilder() { if (cloudFunctionBuilder_ == null) { if (!(stepInfoCase_ == 20)) { - stepInfo_ = com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); - } - cloudFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>( + stepInfo_ = + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.getDefaultInstance(); + } + cloudFunctionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder, + com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder>( (com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo) stepInfo_, getParentForChildren(), isClean()); @@ -5891,9 +6869,9 @@ public com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfoOrBuilder get onChanged(); return cloudFunctionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5903,12 +6881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Step) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Step) private static final com.google.cloud.networkmanagement.v1beta1.Step DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Step(); } @@ -5917,27 +6895,27 @@ public static com.google.cloud.networkmanagement.v1beta1.Step getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step 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 Step 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; @@ -5952,6 +6930,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.Step getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java similarity index 90% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java index 0a2a8b72e018..baf3ad92004f 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/StepOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface StepOrBuilder extends +public interface StepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Step) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of the step. Usually this is a summary of the state.
    * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Each step is in one of the pre-defined states.
    * 
* * .google.cloud.networkmanagement.v1beta1.Step.State state = 2; + * * @return The state. */ com.google.cloud.networkmanagement.v1beta1.Step.State getState(); /** + * + * *
    * This is a step that leads to the final state Drop.
    * 
* * bool causes_drop = 3; + * * @return The causesDrop. */ boolean getCausesDrop(); /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID that contains the configuration this step is validating.
    * 
* * string project_id = 4; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Display information of a Compute Engine instance.
    * 
* * .google.cloud.networkmanagement.v1beta1.InstanceInfo instance = 5; + * * @return The instance. */ com.google.cloud.networkmanagement.v1beta1.InstanceInfo getInstance(); /** + * + * *
    * Display information of a Compute Engine instance.
    * 
@@ -104,24 +147,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.InstanceInfoOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; + * * @return Whether the firewall field is set. */ boolean hasFirewall(); /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.FirewallInfo firewall = 6; + * * @return The firewall. */ com.google.cloud.networkmanagement.v1beta1.FirewallInfo getFirewall(); /** + * + * *
    * Display information of a Compute Engine firewall rule.
    * 
@@ -131,24 +182,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.FirewallInfoOrBuilder getFirewallOrBuilder(); /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; + * * @return Whether the route field is set. */ boolean hasRoute(); /** + * + * *
    * Display information of a Compute Engine route.
    * 
* * .google.cloud.networkmanagement.v1beta1.RouteInfo route = 7; + * * @return The route. */ com.google.cloud.networkmanagement.v1beta1.RouteInfo getRoute(); /** + * + * *
    * Display information of a Compute Engine route.
    * 
@@ -158,6 +217,8 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.RouteInfoOrBuilder getRouteOrBuilder(); /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -166,10 +227,13 @@ public interface StepOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; + * * @return Whether the endpoint field is set. */ boolean hasEndpoint(); /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -178,10 +242,13 @@ public interface StepOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint = 8; + * * @return The endpoint. */ com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpoint(); /** + * + * *
    * Display information of the source and destination under analysis.
    * The endpoint information in an intermediate state may differ with the
@@ -194,51 +261,68 @@ public interface StepOrBuilder extends
   com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointOrBuilder();
 
   /**
+   *
+   *
    * 
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; + * * @return Whether the forwardingRule field is set. */ boolean hasForwardingRule(); /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; + * * @return The forwardingRule. */ com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo getForwardingRule(); /** + * + * *
    * Display information of a Compute Engine forwarding rule.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo forwarding_rule = 9; */ - com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder getForwardingRuleOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfoOrBuilder + getForwardingRuleOrBuilder(); /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; + * * @return Whether the vpnGateway field is set. */ boolean hasVpnGateway(); /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnGatewayInfo vpn_gateway = 10; + * * @return The vpnGateway. */ com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getVpnGateway(); /** + * + * *
    * Display information of a Compute Engine VPN gateway.
    * 
@@ -248,24 +332,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder getVpnGatewayOrBuilder(); /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; + * * @return Whether the vpnTunnel field is set. */ boolean hasVpnTunnel(); /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo vpn_tunnel = 11; + * * @return The vpnTunnel. */ com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getVpnTunnel(); /** + * + * *
    * Display information of a Compute Engine VPN tunnel.
    * 
@@ -275,24 +367,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder getVpnTunnelOrBuilder(); /** + * + * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; + * * @return Whether the vpcConnector field is set. */ boolean hasVpcConnector(); /** + * + * *
    * Display information of a VPC connector.
    * 
* * .google.cloud.networkmanagement.v1beta1.VpcConnectorInfo vpc_connector = 21; + * * @return The vpcConnector. */ com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getVpcConnector(); /** + * + * *
    * Display information of a VPC connector.
    * 
@@ -302,24 +402,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder getVpcConnectorOrBuilder(); /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; + * * @return Whether the deliver field is set. */ boolean hasDeliver(); /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DeliverInfo deliver = 12; + * * @return The deliver. */ com.google.cloud.networkmanagement.v1beta1.DeliverInfo getDeliver(); /** + * + * *
    * Display information of the final state "deliver" and reason.
    * 
@@ -329,24 +437,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.DeliverInfoOrBuilder getDeliverOrBuilder(); /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; + * * @return Whether the forward field is set. */ boolean hasForward(); /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.ForwardInfo forward = 13; + * * @return The forward. */ com.google.cloud.networkmanagement.v1beta1.ForwardInfo getForward(); /** + * + * *
    * Display information of the final state "forward" and reason.
    * 
@@ -356,24 +472,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.ForwardInfoOrBuilder getForwardOrBuilder(); /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; + * * @return Whether the abort field is set. */ boolean hasAbort(); /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.AbortInfo abort = 14; + * * @return The abort. */ com.google.cloud.networkmanagement.v1beta1.AbortInfo getAbort(); /** + * + * *
    * Display information of the final state "abort" and reason.
    * 
@@ -383,24 +507,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.AbortInfoOrBuilder getAbortOrBuilder(); /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; + * * @return Whether the drop field is set. */ boolean hasDrop(); /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
* * .google.cloud.networkmanagement.v1beta1.DropInfo drop = 15; + * * @return The drop. */ com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop(); /** + * + * *
    * Display information of the final state "drop" and reason.
    * 
@@ -410,24 +542,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBuilder(); /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; + * * @return Whether the loadBalancer field is set. */ boolean hasLoadBalancer(); /** + * + * *
    * Display information of the load balancers.
    * 
* * .google.cloud.networkmanagement.v1beta1.LoadBalancerInfo load_balancer = 16; + * * @return The loadBalancer. */ com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo getLoadBalancer(); /** + * + * *
    * Display information of the load balancers.
    * 
@@ -437,24 +577,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfoOrBuilder getLoadBalancerOrBuilder(); /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; + * * @return Whether the network field is set. */ boolean hasNetwork(); /** + * + * *
    * Display information of a Google Cloud network.
    * 
* * .google.cloud.networkmanagement.v1beta1.NetworkInfo network = 17; + * * @return The network. */ com.google.cloud.networkmanagement.v1beta1.NetworkInfo getNetwork(); /** + * + * *
    * Display information of a Google Cloud network.
    * 
@@ -464,24 +612,32 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.NetworkInfoOrBuilder getNetworkOrBuilder(); /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; + * * @return Whether the gkeMaster field is set. */ boolean hasGkeMaster(); /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
* * .google.cloud.networkmanagement.v1beta1.GKEMasterInfo gke_master = 18; + * * @return The gkeMaster. */ com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo getGkeMaster(); /** + * + * *
    * Display information of a Google Kubernetes Engine cluster master.
    * 
@@ -491,51 +647,71 @@ public interface StepOrBuilder extends com.google.cloud.networkmanagement.v1beta1.GKEMasterInfoOrBuilder getGkeMasterOrBuilder(); /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * + * * @return Whether the cloudSqlInstance field is set. */ boolean hasCloudSqlInstance(); /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * + * * @return The cloudSqlInstance. */ com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo getCloudSqlInstance(); /** + * + * *
    * Display information of a Cloud SQL instance.
    * 
* - * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * .google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfo cloud_sql_instance = 19; + * */ - com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder getCloudSqlInstanceOrBuilder(); + com.google.cloud.networkmanagement.v1beta1.CloudSQLInstanceInfoOrBuilder + getCloudSqlInstanceOrBuilder(); /** + * + * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; + * * @return Whether the cloudFunction field is set. */ boolean hasCloudFunction(); /** + * + * *
    * Display information of a Cloud function.
    * 
* * .google.cloud.networkmanagement.v1beta1.CloudFunctionInfo cloud_function = 20; + * * @return The cloudFunction. */ com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo getCloudFunction(); /** + * + * *
    * Display information of a Cloud function.
    * 
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java new file mode 100644 index 000000000000..f3ae0762d4b8 --- /dev/null +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java @@ -0,0 +1,287 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto + +package com.google.cloud.networkmanagement.v1beta1; + +public final class TestOuterClass { + private TestOuterClass() {} + + 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_networkmanagement_v1beta1_ConnectivityTest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_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/networkmanagement/v1beta1" + + "/connectivity_test.proto\022&google.cloud.n" + + "etworkmanagement.v1beta1\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\0322google/cloud/networkmanagement/v1b" + + "eta1/trace.proto\032\037google/protobuf/timest" + + "amp.proto\032\027google/rpc/status.proto\"\261\006\n\020C" + + "onnectivityTest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013de" + + "scription\030\002 \001(\t\022E\n\006source\030\003 \001(\01320.google" + + ".cloud.networkmanagement.v1beta1.Endpoin" + + "tB\003\340A\002\022J\n\013destination\030\004 \001(\01320.google.clo" + + "ud.networkmanagement.v1beta1.EndpointB\003\340" + + "A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020related_projects" + + "\030\006 \003(\t\022\031\n\014display_name\030\007 \001(\tB\003\340A\003\022T\n\006lab" + + "els\030\010 \003(\0132D.google.cloud.networkmanageme" + + "nt.v1beta1.ConnectivityTest.LabelsEntry\022" + + "4\n\013create_time\030\n \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022^\n\024reachabil" + + "ity_details\030\014 \001(\0132;.google.cloud.network" + + "management.v1beta1.ReachabilityDetailsB\003" + + "\340A\003\022T\n\017probing_details\030\016 \001(\01326.google.cl" + + "oud.networkmanagement.v1beta1.ProbingDet" + + "ailsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement" + + ".googleapis.com/ConnectivityTest\022 * Trace represents one simulated packet forwarding path. * * Each trace contains multiple ordered steps. @@ -19,47 +36,51 @@ * * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Trace} */ -public final class Trace extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Trace extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.Trace) TraceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Trace.newBuilder() to construct. private Trace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Trace() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Trace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.Trace.class, com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class); + com.google.cloud.networkmanagement.v1beta1.Trace.class, + com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class); } public static final int ENDPOINT_INFO_FIELD_NUMBER = 1; private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_; /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -68,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; + * * @return Whether the endpointInfo field is set. */ @java.lang.Override @@ -75,6 +97,8 @@ public boolean hasEndpointInfo() { return endpointInfo_ != null; } /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -83,13 +107,18 @@ public boolean hasEndpointInfo() {
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; + * * @return The endpointInfo. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { - return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; + return endpointInfo_ == null + ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() + : endpointInfo_; } /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -100,14 +129,20 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo()
    * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
-    return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
+  public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
+      getEndpointInfoOrBuilder() {
+    return endpointInfo_ == null
+        ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
+        : endpointInfo_;
   }
 
   public static final int STEPS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List steps_;
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -123,6 +158,8 @@ public java.util.List getStepsL
     return steps_;
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -134,11 +171,13 @@ public java.util.List getStepsL
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -154,6 +193,8 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -169,6 +210,8 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
     return steps_.get(index);
   }
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -180,12 +223,12 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
   @java.lang.Override
-  public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(
-      int index) {
+  public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(int index) {
     return steps_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -197,8 +240,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 (endpointInfo_ != null) {
       output.writeMessage(1, getEndpointInfo());
     }
@@ -215,12 +257,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (endpointInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEndpointInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndpointInfo());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, steps_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -230,20 +270,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.networkmanagement.v1beta1.Trace)) {
       return super.equals(obj);
     }
-    com.google.cloud.networkmanagement.v1beta1.Trace other = (com.google.cloud.networkmanagement.v1beta1.Trace) obj;
+    com.google.cloud.networkmanagement.v1beta1.Trace other =
+        (com.google.cloud.networkmanagement.v1beta1.Trace) obj;
 
     if (hasEndpointInfo() != other.hasEndpointInfo()) return false;
     if (hasEndpointInfo()) {
-      if (!getEndpointInfo()
-          .equals(other.getEndpointInfo())) return false;
+      if (!getEndpointInfo().equals(other.getEndpointInfo())) return false;
     }
-    if (!getStepsList()
-        .equals(other.getStepsList())) return false;
+    if (!getStepsList().equals(other.getStepsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -268,97 +307,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.networkmanagement.v1beta1.Trace parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.networkmanagement.v1beta1.Trace parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace 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.networkmanagement.v1beta1.Trace parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.networkmanagement.v1beta1.Trace parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.Trace prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Trace represents one simulated packet forwarding path.
    *   * Each trace contains multiple ordered steps.
@@ -374,33 +420,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.networkmanagement.v1beta1.Trace}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.Trace)
       com.google.cloud.networkmanagement.v1beta1.TraceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.networkmanagement.v1beta1.Trace.class, com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class);
+              com.google.cloud.networkmanagement.v1beta1.Trace.class,
+              com.google.cloud.networkmanagement.v1beta1.Trace.Builder.class);
     }
 
     // Construct using com.google.cloud.networkmanagement.v1beta1.Trace.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();
@@ -421,9 +466,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.networkmanagement.v1beta1.TraceProto
+          .internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor;
     }
 
     @java.lang.Override
@@ -442,14 +487,18 @@ public com.google.cloud.networkmanagement.v1beta1.Trace build() {
 
     @java.lang.Override
     public com.google.cloud.networkmanagement.v1beta1.Trace buildPartial() {
-      com.google.cloud.networkmanagement.v1beta1.Trace result = new com.google.cloud.networkmanagement.v1beta1.Trace(this);
+      com.google.cloud.networkmanagement.v1beta1.Trace result =
+          new com.google.cloud.networkmanagement.v1beta1.Trace(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1beta1.Trace result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.networkmanagement.v1beta1.Trace result) {
       if (stepsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           steps_ = java.util.Collections.unmodifiableList(steps_);
@@ -464,9 +513,8 @@ private void buildPartialRepeatedFields(com.google.cloud.networkmanagement.v1bet
     private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Trace result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.endpointInfo_ = endpointInfoBuilder_ == null
-            ? endpointInfo_
-            : endpointInfoBuilder_.build();
+        result.endpointInfo_ =
+            endpointInfoBuilder_ == null ? endpointInfo_ : endpointInfoBuilder_.build();
       }
     }
 
@@ -474,38 +522,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.Trace 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.networkmanagement.v1beta1.Trace) {
-        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Trace)other);
+        return mergeFrom((com.google.cloud.networkmanagement.v1beta1.Trace) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -513,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Trace other) {
-      if (other == com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance()) return this;
+      if (other == com.google.cloud.networkmanagement.v1beta1.Trace.getDefaultInstance())
+        return this;
       if (other.hasEndpointInfo()) {
         mergeEndpointInfo(other.getEndpointInfo());
       }
@@ -535,9 +585,10 @@ public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.Trace other)
             stepsBuilder_ = null;
             steps_ = other.steps_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            stepsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getStepsFieldBuilder() : null;
+            stepsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getStepsFieldBuilder()
+                    : null;
           } else {
             stepsBuilder_.addAllMessages(other.steps_);
           }
@@ -569,32 +620,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEndpointInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.networkmanagement.v1beta1.Step m =
-                  input.readMessage(
-                      com.google.cloud.networkmanagement.v1beta1.Step.parser(),
-                      extensionRegistry);
-              if (stepsBuilder_ == null) {
-                ensureStepsIsMutable();
-                steps_.add(m);
-              } else {
-                stepsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getEndpointInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.networkmanagement.v1beta1.Step m =
+                    input.readMessage(
+                        com.google.cloud.networkmanagement.v1beta1.Step.parser(),
+                        extensionRegistry);
+                if (stepsBuilder_ == null) {
+                  ensureStepsIsMutable();
+                  steps_.add(m);
+                } else {
+                  stepsBuilder_.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) {
@@ -604,12 +656,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.networkmanagement.v1beta1.EndpointInfo endpointInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> endpointInfoBuilder_;
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
+        endpointInfoBuilder_;
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -618,12 +676,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; + * * @return Whether the endpointInfo field is set. */ public boolean hasEndpointInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -632,16 +693,21 @@ public boolean hasEndpointInfo() {
      * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; + * * @return The endpointInfo. */ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo() { if (endpointInfoBuilder_ == null) { - return endpointInfo_ == null ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_; + return endpointInfo_ == null + ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() + : endpointInfo_; } else { return endpointInfoBuilder_.getMessage(); } } /** + * + * *
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -665,6 +731,8 @@ public Builder setEndpointInfo(com.google.cloud.networkmanagement.v1beta1.Endpoi
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -686,6 +754,8 @@ public Builder setEndpointInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -695,11 +765,13 @@ public Builder setEndpointInfo(
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
-    public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
+    public Builder mergeEndpointInfo(
+        com.google.cloud.networkmanagement.v1beta1.EndpointInfo value) {
       if (endpointInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          endpointInfo_ != null &&
-          endpointInfo_ != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && endpointInfo_ != null
+            && endpointInfo_
+                != com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()) {
           getEndpointInfoBuilder().mergeFrom(value);
         } else {
           endpointInfo_ = value;
@@ -712,6 +784,8 @@ public Builder mergeEndpointInfo(com.google.cloud.networkmanagement.v1beta1.Endp
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -732,6 +806,8 @@ public Builder clearEndpointInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -741,12 +817,15 @@ public Builder clearEndpointInfo() {
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpointInfoBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder
+        getEndpointInfoBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getEndpointInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -756,15 +835,19 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder getEndpoi
      *
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
-    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder() {
+    public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder
+        getEndpointInfoOrBuilder() {
       if (endpointInfoBuilder_ != null) {
         return endpointInfoBuilder_.getMessageOrBuilder();
       } else {
-        return endpointInfo_ == null ?
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance() : endpointInfo_;
+        return endpointInfo_ == null
+            ? com.google.cloud.networkmanagement.v1beta1.EndpointInfo.getDefaultInstance()
+            : endpointInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Derived from the source and destination endpoints definition specified by
      * user request, and validated by the data plane model.
@@ -775,32 +858,41 @@ public com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpo
      * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder> 
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+            com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>
         getEndpointInfoFieldBuilder() {
       if (endpointInfoBuilder_ == null) {
-        endpointInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.EndpointInfo, com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder, com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
-                getEndpointInfo(),
-                getParentForChildren(),
-                isClean());
+        endpointInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfo,
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfo.Builder,
+                com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder>(
+                getEndpointInfo(), getParentForChildren(), isClean());
         endpointInfo_ = null;
       }
       return endpointInfoBuilder_;
     }
 
     private java.util.List steps_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.Step, com.google.cloud.networkmanagement.v1beta1.Step.Builder, com.google.cloud.networkmanagement.v1beta1.StepOrBuilder> stepsBuilder_;
+            com.google.cloud.networkmanagement.v1beta1.Step,
+            com.google.cloud.networkmanagement.v1beta1.Step.Builder,
+            com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>
+        stepsBuilder_;
 
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -819,6 +911,8 @@ public java.util.List getStepsL
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -837,6 +931,8 @@ public int getStepsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -855,6 +951,8 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -865,8 +963,7 @@ public com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public Builder setSteps(
-        int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
+    public Builder setSteps(int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -880,6 +977,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -902,6 +1001,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -926,6 +1027,8 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1beta1.Step value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -936,8 +1039,7 @@ public Builder addSteps(com.google.cloud.networkmanagement.v1beta1.Step value) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public Builder addSteps(
-        int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
+    public Builder addSteps(int index, com.google.cloud.networkmanagement.v1beta1.Step value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -951,6 +1053,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -973,6 +1077,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -995,6 +1101,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1009,8 +1117,7 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -1018,6 +1125,8 @@ public Builder addAllSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1039,6 +1148,8 @@ public Builder clearSteps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1060,6 +1171,8 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1070,11 +1183,12 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Step.Builder getStepsBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1beta1.Step.Builder getStepsBuilder(int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1085,14 +1199,16 @@ public com.google.cloud.networkmanagement.v1beta1.Step.Builder getStepsBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(
-        int index) {
+    public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);  } else {
+        return steps_.get(index);
+      } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1103,8 +1219,8 @@ public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilde
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public java.util.List 
-         getStepsOrBuilderList() {
+    public java.util.List
+        getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1112,6 +1228,8 @@ public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1123,10 +1241,12 @@ public com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilde
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
     public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder() {
-      return getStepsFieldBuilder().addBuilder(
-          com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
+      return getStepsFieldBuilder()
+          .addBuilder(com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1137,12 +1257,13 @@ public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder()
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder(
-        int index) {
-      return getStepsFieldBuilder().addBuilder(
-          index, com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
+    public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder(int index) {
+      return getStepsFieldBuilder()
+          .addBuilder(index, com.google.cloud.networkmanagement.v1beta1.Step.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A trace of a test contains multiple steps from the initial state to the
      * final state (delivered, dropped, forwarded, or aborted).
@@ -1153,27 +1274,30 @@ public com.google.cloud.networkmanagement.v1beta1.Step.Builder addStepsBuilder(
      *
      * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
      */
-    public java.util.List 
-         getStepsBuilderList() {
+    public java.util.List
+        getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.networkmanagement.v1beta1.Step, com.google.cloud.networkmanagement.v1beta1.Step.Builder, com.google.cloud.networkmanagement.v1beta1.StepOrBuilder> 
+            com.google.cloud.networkmanagement.v1beta1.Step,
+            com.google.cloud.networkmanagement.v1beta1.Step.Builder,
+            com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.networkmanagement.v1beta1.Step, com.google.cloud.networkmanagement.v1beta1.Step.Builder, com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>(
-                steps_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        stepsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.networkmanagement.v1beta1.Step,
+                com.google.cloud.networkmanagement.v1beta1.Step.Builder,
+                com.google.cloud.networkmanagement.v1beta1.StepOrBuilder>(
+                steps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         steps_ = null;
       }
       return stepsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1183,12 +1307,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.Trace)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.Trace)
   private static final com.google.cloud.networkmanagement.v1beta1.Trace DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.Trace();
   }
@@ -1197,27 +1321,27 @@ public static com.google.cloud.networkmanagement.v1beta1.Trace getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Trace 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 Trace 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;
@@ -1232,6 +1356,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.networkmanagement.v1beta1.Trace getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
similarity index 84%
rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
index 230782b1f1e9..951668906a27 100644
--- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/trace.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
-public interface TraceOrBuilder extends
+public interface TraceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.Trace)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -16,10 +34,13 @@ public interface TraceOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; + * * @return Whether the endpointInfo field is set. */ boolean hasEndpointInfo(); /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -28,10 +49,13 @@ public interface TraceOrBuilder extends
    * 
* * .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1; + * * @return The endpointInfo. */ com.google.cloud.networkmanagement.v1beta1.EndpointInfo getEndpointInfo(); /** + * + * *
    * Derived from the source and destination endpoints definition specified by
    * user request, and validated by the data plane model.
@@ -44,6 +68,8 @@ public interface TraceOrBuilder extends
   com.google.cloud.networkmanagement.v1beta1.EndpointInfoOrBuilder getEndpointInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -54,9 +80,10 @@ public interface TraceOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
-  java.util.List 
-      getStepsList();
+  java.util.List getStepsList();
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -69,6 +96,8 @@ public interface TraceOrBuilder extends
    */
   com.google.cloud.networkmanagement.v1beta1.Step getSteps(int index);
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -81,6 +110,8 @@ public interface TraceOrBuilder extends
    */
   int getStepsCount();
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -91,9 +122,11 @@ public interface TraceOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
-  java.util.List 
+  java.util.List
       getStepsOrBuilderList();
   /**
+   *
+   *
    * 
    * A trace of a test contains multiple steps from the initial state to the
    * final state (delivered, dropped, forwarded, or aborted).
@@ -104,6 +137,5 @@ public interface TraceOrBuilder extends
    *
    * repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    */
-  com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(
-      int index);
+  com.google.cloud.networkmanagement.v1beta1.StepOrBuilder getStepsOrBuilder(int index);
 }
diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java
new file mode 100644
index 000000000000..7f96562dd89f
--- /dev/null
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java
@@ -0,0 +1,568 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/networkmanagement/v1beta1/trace.proto
+
+package com.google.cloud.networkmanagement.v1beta1;
+
+public final class TraceProto {
+  private TraceProto() {}
+
+  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_networkmanagement_v1beta1_Trace_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n2google/cloud/networkmanagement/v1beta1"
+          + "/trace.proto\022&google.cloud.networkmanage"
+          + "ment.v1beta1\"\221\001\n\005Trace\022K\n\rendpoint_info\030"
+          + "\001 \001(\01324.google.cloud.networkmanagement.v"
+          + "1beta1.EndpointInfo\022;\n\005steps\030\002 \003(\0132,.goo"
+          + "gle.cloud.networkmanagement.v1beta1.Step"
+          + "\"\242\020\n\004Step\022\023\n\013description\030\001 \001(\t\022A\n\005state\030"
+          + "\002 \001(\01622.google.cloud.networkmanagement.v"
+          + "1beta1.Step.State\022\023\n\013causes_drop\030\003 \001(\010\022\022"
+          + "\n\nproject_id\030\004 \001(\t\022H\n\010instance\030\005 \001(\01324.g"
+          + "oogle.cloud.networkmanagement.v1beta1.In"
+          + "stanceInfoH\000\022H\n\010firewall\030\006 \001(\01324.google."
+          + "cloud.networkmanagement.v1beta1.Firewall"
+          + "InfoH\000\022B\n\005route\030\007 \001(\01321.google.cloud.net"
+          + "workmanagement.v1beta1.RouteInfoH\000\022H\n\010en"
+          + "dpoint\030\010 \001(\01324.google.cloud.networkmanag"
+          + "ement.v1beta1.EndpointInfoH\000\022U\n\017forwardi"
+          + "ng_rule\030\t \001(\0132:.google.cloud.networkmana"
+          + "gement.v1beta1.ForwardingRuleInfoH\000\022M\n\013v"
+          + "pn_gateway\030\n \001(\01326.google.cloud.networkm"
+          + "anagement.v1beta1.VpnGatewayInfoH\000\022K\n\nvp"
+          + "n_tunnel\030\013 \001(\01325.google.cloud.networkman"
+          + "agement.v1beta1.VpnTunnelInfoH\000\022Q\n\rvpc_c"
+          + "onnector\030\025 \001(\01328.google.cloud.networkman"
+          + "agement.v1beta1.VpcConnectorInfoH\000\022F\n\007de"
+          + "liver\030\014 \001(\01323.google.cloud.networkmanage"
+          + "ment.v1beta1.DeliverInfoH\000\022F\n\007forward\030\r "
+          + "\001(\01323.google.cloud.networkmanagement.v1b"
+          + "eta1.ForwardInfoH\000\022B\n\005abort\030\016 \001(\01321.goog"
+          + "le.cloud.networkmanagement.v1beta1.Abort"
+          + "InfoH\000\022@\n\004drop\030\017 \001(\01320.google.cloud.netw"
+          + "orkmanagement.v1beta1.DropInfoH\000\022Q\n\rload"
+          + "_balancer\030\020 \001(\01328.google.cloud.networkma"
+          + "nagement.v1beta1.LoadBalancerInfoH\000\022F\n\007n"
+          + "etwork\030\021 \001(\01323.google.cloud.networkmanag"
+          + "ement.v1beta1.NetworkInfoH\000\022K\n\ngke_maste"
+          + "r\030\022 \001(\01325.google.cloud.networkmanagement"
+          + ".v1beta1.GKEMasterInfoH\000\022Z\n\022cloud_sql_in"
+          + "stance\030\023 \001(\0132<.google.cloud.networkmanag"
+          + "ement.v1beta1.CloudSQLInstanceInfoH\000\022S\n\016"
+          + "cloud_function\030\024 \001(\01329.google.cloud.netw"
+          + "orkmanagement.v1beta1.CloudFunctionInfoH"
+          + "\000\"\364\004\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\027\n\023ST"
+          + "ART_FROM_INSTANCE\020\001\022\027\n\023START_FROM_INTERN"
+          + "ET\020\002\022\036\n\032START_FROM_PRIVATE_NETWORK\020\003\022\031\n\025"
+          + "START_FROM_GKE_MASTER\020\025\022!\n\035START_FROM_CL"
+          + "OUD_SQL_INSTANCE\020\026\022\035\n\031START_FROM_CLOUD_F"
+          + "UNCTION\020\027\022\037\n\033APPLY_INGRESS_FIREWALL_RULE"
+          + "\020\004\022\036\n\032APPLY_EGRESS_FIREWALL_RULE\020\005\022\017\n\013AP"
+          + "PLY_ROUTE\020\006\022\031\n\025APPLY_FORWARDING_RULE\020\007\022\025"
+          + "\n\021SPOOFING_APPROVED\020\010\022\026\n\022ARRIVE_AT_INSTA"
+          + "NCE\020\t\022$\n ARRIVE_AT_INTERNAL_LOAD_BALANCE"
+          + "R\020\n\022$\n ARRIVE_AT_EXTERNAL_LOAD_BALANCER\020"
+          + "\013\022\031\n\025ARRIVE_AT_VPN_GATEWAY\020\014\022\030\n\024ARRIVE_A"
+          + "T_VPN_TUNNEL\020\r\022\033\n\027ARRIVE_AT_VPC_CONNECTO"
+          + "R\020\030\022\007\n\003NAT\020\016\022\024\n\020PROXY_CONNECTION\020\017\022\013\n\007DE"
+          + "LIVER\020\020\022\010\n\004DROP\020\021\022\013\n\007FORWARD\020\022\022\t\n\005ABORT\020"
+          + "\023\022\035\n\031VIEWER_PERMISSION_MISSING\020\024B\013\n\tstep"
+          + "_info\"\266\001\n\014InstanceInfo\022\024\n\014display_name\030\001"
+          + " \001(\t\022\013\n\003uri\030\002 \001(\t\022\021\n\tinterface\030\003 \001(\t\022\023\n\013"
+          + "network_uri\030\004 \001(\t\022\023\n\013internal_ip\030\005 \001(\t\022\023"
+          + "\n\013external_ip\030\006 \001(\t\022\024\n\014network_tags\030\007 \003("
+          + "\t\022\033\n\017service_account\030\010 \001(\tB\002\030\001\"J\n\013Networ"
+          + "kInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t"
+          + "\022\030\n\020matched_ip_range\030\004 \001(\t\"\353\003\n\014FirewallI"
+          + "nfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\021"
+          + "\n\tdirection\030\003 \001(\t\022\016\n\006action\030\004 \001(\t\022\020\n\010pri"
+          + "ority\030\005 \001(\005\022\023\n\013network_uri\030\006 \001(\t\022\023\n\013targ"
+          + "et_tags\030\007 \003(\t\022\037\n\027target_service_accounts"
+          + "\030\010 \003(\t\022\016\n\006policy\030\t \001(\t\022a\n\022firewall_rule_"
+          + "type\030\n \001(\0162E.google.cloud.networkmanagem"
+          + "ent.v1beta1.FirewallInfo.FirewallRuleTyp"
+          + "e\"\304\001\n\020FirewallRuleType\022\"\n\036FIREWALL_RULE_"
+          + "TYPE_UNSPECIFIED\020\000\022%\n!HIERARCHICAL_FIREW"
+          + "ALL_POLICY_RULE\020\001\022\025\n\021VPC_FIREWALL_RULE\020\002"
+          + "\022\035\n\031IMPLIED_VPC_FIREWALL_RULE\020\003\022/\n+SERVE"
+          + "RLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE\020\004"
+          + "\"\201\006\n\tRouteInfo\022O\n\nroute_type\030\010 \001(\0162;.goo"
+          + "gle.cloud.networkmanagement.v1beta1.Rout"
+          + "eInfo.RouteType\022T\n\rnext_hop_type\030\t \001(\0162="
+          + ".google.cloud.networkmanagement.v1beta1."
+          + "RouteInfo.NextHopType\022\024\n\014display_name\030\001 "
+          + "\001(\t\022\013\n\003uri\030\002 \001(\t\022\025\n\rdest_ip_range\030\003 \001(\t\022"
+          + "\020\n\010next_hop\030\004 \001(\t\022\023\n\013network_uri\030\005 \001(\t\022\020"
+          + "\n\010priority\030\006 \001(\005\022\025\n\rinstance_tags\030\007 \003(\t\""
+          + "\211\001\n\tRouteType\022\032\n\026ROUTE_TYPE_UNSPECIFIED\020"
+          + "\000\022\n\n\006SUBNET\020\001\022\n\n\006STATIC\020\002\022\013\n\007DYNAMIC\020\003\022\022"
+          + "\n\016PEERING_SUBNET\020\004\022\022\n\016PEERING_STATIC\020\005\022\023"
+          + "\n\017PEERING_DYNAMIC\020\006\"\266\002\n\013NextHopType\022\035\n\031N"
+          + "EXT_HOP_TYPE_UNSPECIFIED\020\000\022\017\n\013NEXT_HOP_I"
+          + "P\020\001\022\025\n\021NEXT_HOP_INSTANCE\020\002\022\024\n\020NEXT_HOP_N"
+          + "ETWORK\020\003\022\024\n\020NEXT_HOP_PEERING\020\004\022\031\n\025NEXT_H"
+          + "OP_INTERCONNECT\020\005\022\027\n\023NEXT_HOP_VPN_TUNNEL"
+          + "\020\006\022\030\n\024NEXT_HOP_VPN_GATEWAY\020\007\022\035\n\031NEXT_HOP"
+          + "_INTERNET_GATEWAY\020\010\022\026\n\022NEXT_HOP_BLACKHOL"
+          + "E\020\t\022\020\n\014NEXT_HOP_ILB\020\n\022\035\n\031NEXT_HOP_ROUTER"
+          + "_APPLIANCE\020\013\"\237\001\n\022ForwardingRuleInfo\022\024\n\014d"
+          + "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020matche"
+          + "d_protocol\030\003 \001(\t\022\032\n\022matched_port_range\030\006"
+          + " \001(\t\022\013\n\003vip\030\004 \001(\t\022\016\n\006target\030\005 \001(\t\022\023\n\013net"
+          + "work_uri\030\007 \001(\t\"\270\004\n\020LoadBalancerInfo\022e\n\022l"
+          + "oad_balancer_type\030\001 \001(\0162I.google.cloud.n"
+          + "etworkmanagement.v1beta1.LoadBalancerInf"
+          + "o.LoadBalancerType\022\030\n\020health_check_uri\030\002"
+          + " \001(\t\022M\n\010backends\030\003 \003(\0132;.google.cloud.ne"
+          + "tworkmanagement.v1beta1.LoadBalancerBack"
+          + "end\022Z\n\014backend_type\030\004 \001(\0162D.google.cloud"
+          + ".networkmanagement.v1beta1.LoadBalancerI"
+          + "nfo.BackendType\022\023\n\013backend_uri\030\005 \001(\t\"\217\001\n"
+          + "\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYPE_"
+          + "UNSPECIFIED\020\000\022\024\n\020INTERNAL_TCP_UDP\020\001\022\023\n\017N"
+          + "ETWORK_TCP_UDP\020\002\022\016\n\nHTTP_PROXY\020\003\022\r\n\tTCP_"
+          + "PROXY\020\004\022\r\n\tSSL_PROXY\020\005\"Q\n\013BackendType\022\034\n"
+          + "\030BACKEND_TYPE_UNSPECIFIED\020\000\022\023\n\017BACKEND_S"
+          + "ERVICE\020\001\022\017\n\013TARGET_POOL\020\002\"\373\002\n\023LoadBalanc"
+          + "erBackend\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002"
+          + " \001(\t\022y\n\033health_check_firewall_state\030\003 \001("
+          + "\0162T.google.cloud.networkmanagement.v1bet"
+          + "a1.LoadBalancerBackend.HealthCheckFirewa"
+          + "llState\022,\n$health_check_allowing_firewal"
+          + "l_rules\030\004 \003(\t\022,\n$health_check_blocking_f"
+          + "irewall_rules\030\005 \003(\t\"j\n\030HealthCheckFirewa"
+          + "llState\022+\n\'HEALTH_CHECK_FIREWALL_STATE_U"
+          + "NSPECIFIED\020\000\022\016\n\nCONFIGURED\020\001\022\021\n\rMISCONFI"
+          + "GURED\020\002\"\204\001\n\016VpnGatewayInfo\022\024\n\014display_na"
+          + "me\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\023\n\013network_uri\030\003 \001"
+          + "(\t\022\022\n\nip_address\030\004 \001(\t\022\026\n\016vpn_tunnel_uri"
+          + "\030\005 \001(\t\022\016\n\006region\030\006 \001(\t\"\363\002\n\rVpnTunnelInfo"
+          + "\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\026\n\016s"
+          + "ource_gateway\030\003 \001(\t\022\026\n\016remote_gateway\030\004 "
+          + "\001(\t\022\031\n\021remote_gateway_ip\030\005 \001(\t\022\031\n\021source"
+          + "_gateway_ip\030\006 \001(\t\022\023\n\013network_uri\030\007 \001(\t\022\016"
+          + "\n\006region\030\010 \001(\t\022W\n\014routing_type\030\t \001(\0162A.g"
+          + "oogle.cloud.networkmanagement.v1beta1.Vp"
+          + "nTunnelInfo.RoutingType\"[\n\013RoutingType\022\034"
+          + "\n\030ROUTING_TYPE_UNSPECIFIED\020\000\022\017\n\013ROUTE_BA"
+          + "SED\020\001\022\020\n\014POLICY_BASED\020\002\022\013\n\007DYNAMIC\020\003\"\321\001\n"
+          + "\014EndpointInfo\022\021\n\tsource_ip\030\001 \001(\t\022\026\n\016dest"
+          + "ination_ip\030\002 \001(\t\022\020\n\010protocol\030\003 \001(\t\022\023\n\013so"
+          + "urce_port\030\004 \001(\005\022\030\n\020destination_port\030\005 \001("
+          + "\005\022\032\n\022source_network_uri\030\006 \001(\t\022\037\n\027destina"
+          + "tion_network_uri\030\007 \001(\t\022\030\n\020source_agent_u"
+          + "ri\030\010 \001(\t\"\245\002\n\013DeliverInfo\022J\n\006target\030\001 \001(\016"
+          + "2:.google.cloud.networkmanagement.v1beta"
+          + "1.DeliverInfo.Target\022\024\n\014resource_uri\030\002 \001"
+          + "(\t\"\263\001\n\006Target\022\026\n\022TARGET_UNSPECIFIED\020\000\022\014\n"
+          + "\010INSTANCE\020\001\022\014\n\010INTERNET\020\002\022\016\n\nGOOGLE_API\020"
+          + "\003\022\016\n\nGKE_MASTER\020\004\022\026\n\022CLOUD_SQL_INSTANCE\020"
+          + "\005\022\031\n\025PSC_PUBLISHED_SERVICE\020\006\022\022\n\016PSC_GOOG"
+          + "LE_API\020\007\022\016\n\nPSC_VPC_SC\020\010\"\222\002\n\013ForwardInfo"
+          + "\022J\n\006target\030\001 \001(\0162:.google.cloud.networkm"
+          + "anagement.v1beta1.ForwardInfo.Target\022\024\n\014"
+          + "resource_uri\030\002 \001(\t\"\240\001\n\006Target\022\026\n\022TARGET_"
+          + "UNSPECIFIED\020\000\022\017\n\013PEERING_VPC\020\001\022\017\n\013VPN_GA"
+          + "TEWAY\020\002\022\020\n\014INTERCONNECT\020\003\022\016\n\nGKE_MASTER\020"
+          + "\004\022\"\n\036IMPORTED_CUSTOM_ROUTE_NEXT_HOP\020\005\022\026\n"
+          + "\022CLOUD_SQL_INSTANCE\020\006\"\235\004\n\tAbortInfo\022F\n\005c"
+          + "ause\030\001 \001(\01627.google.cloud.networkmanagem"
+          + "ent.v1beta1.AbortInfo.Cause\022\024\n\014resource_"
+          + "uri\030\002 \001(\t\022#\n\033projects_missing_permission"
+          + "\030\003 \003(\t\"\214\003\n\005Cause\022\025\n\021CAUSE_UNSPECIFIED\020\000\022"
+          + "\023\n\017UNKNOWN_NETWORK\020\001\022\016\n\nUNKNOWN_IP\020\002\022\023\n\017"
+          + "UNKNOWN_PROJECT\020\003\022\025\n\021PERMISSION_DENIED\020\004"
+          + "\022\026\n\022NO_SOURCE_LOCATION\020\005\022\024\n\020INVALID_ARGU"
+          + "MENT\020\006\022\022\n\016NO_EXTERNAL_IP\020\007\022\032\n\026UNINTENDED"
+          + "_DESTINATION\020\010\022\022\n\016TRACE_TOO_LONG\020\t\022\022\n\016IN"
+          + "TERNAL_ERROR\020\n\022\035\n\031SOURCE_ENDPOINT_NOT_FO"
+          + "UND\020\013\022\035\n\031MISMATCHED_SOURCE_NETWORK\020\014\022\"\n\036"
+          + "DESTINATION_ENDPOINT_NOT_FOUND\020\r\022\"\n\036MISM"
+          + "ATCHED_DESTINATION_NETWORK\020\016\022\017\n\013UNSUPPOR"
+          + "TED\020\017\"\276\007\n\010DropInfo\022E\n\005cause\030\001 \001(\01626.goog"
+          + "le.cloud.networkmanagement.v1beta1.DropI"
+          + "nfo.Cause\022\024\n\014resource_uri\030\002 \001(\t\"\324\006\n\005Caus"
+          + "e\022\025\n\021CAUSE_UNSPECIFIED\020\000\022\034\n\030UNKNOWN_EXTE"
+          + "RNAL_ADDRESS\020\001\022\031\n\025FOREIGN_IP_DISALLOWED\020"
+          + "\002\022\021\n\rFIREWALL_RULE\020\003\022\014\n\010NO_ROUTE\020\004\022\023\n\017RO"
+          + "UTE_BLACKHOLE\020\005\022\027\n\023ROUTE_WRONG_NETWORK\020\006"
+          + "\022\037\n\033PRIVATE_TRAFFIC_TO_INTERNET\020\007\022$\n PRI"
+          + "VATE_GOOGLE_ACCESS_DISALLOWED\020\010\022\027\n\023NO_EX"
+          + "TERNAL_ADDRESS\020\t\022\034\n\030UNKNOWN_INTERNAL_ADD"
+          + "RESS\020\n\022\034\n\030FORWARDING_RULE_MISMATCH\020\013\022 \n\034"
+          + "FORWARDING_RULE_NO_INSTANCES\020\014\0228\n4FIREWA"
+          + "LL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH"
+          + "_CHECK\020\r\022\030\n\024INSTANCE_NOT_RUNNING\020\016\022\030\n\024TR"
+          + "AFFIC_TYPE_BLOCKED\020\017\022\"\n\036GKE_MASTER_UNAUT"
+          + "HORIZED_ACCESS\020\020\022*\n&CLOUD_SQL_INSTANCE_U"
+          + "NAUTHORIZED_ACCESS\020\021\022\036\n\032DROPPED_INSIDE_G"
+          + "KE_SERVICE\020\022\022$\n DROPPED_INSIDE_CLOUD_SQL"
+          + "_SERVICE\020\023\022%\n!GOOGLE_MANAGED_SERVICE_NO_"
+          + "PEERING\020\024\022$\n CLOUD_SQL_INSTANCE_NO_IP_AD"
+          + "DRESS\020\025\022\035\n\031CLOUD_FUNCTION_NOT_ACTIVE\020\026\022\031"
+          + "\n\025VPC_CONNECTOR_NOT_SET\020\027\022\035\n\031VPC_CONNECT"
+          + "OR_NOT_RUNNING\020\030\022#\n\037FORWARDING_RULE_REGI"
+          + "ON_MISMATCH\020\031\022\037\n\033PSC_CONNECTION_NOT_ACCE"
+          + "PTED\020\032\"k\n\rGKEMasterInfo\022\023\n\013cluster_uri\030\002"
+          + " \001(\t\022\033\n\023cluster_network_uri\030\004 \001(\t\022\023\n\013int"
+          + "ernal_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\"\210\001\n\024"
+          + "CloudSQLInstanceInfo\022\024\n\014display_name\030\001 \001"
+          + "(\t\022\013\n\003uri\030\002 \001(\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013"
+          + "internal_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016"
+          + "\n\006region\030\007 \001(\t\"\\\n\021CloudFunctionInfo\022\024\n\014d"
+          + "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\020\n\010locati"
+          + "on\030\003 \001(\t\022\022\n\nversion_id\030\004 \001(\003\"G\n\020VpcConne"
+          + "ctorInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 "
+          + "\001(\t\022\020\n\010location\030\003 \001(\tB\222\002\n*com.google.clo"
+          + "ud.networkmanagement.v1beta1B\nTraceProto"
+          + "P\001ZXcloud.google.com/go/networkmanagemen"
+          + "t/apiv1beta1/networkmanagementpb;network"
+          + "managementpb\252\002&Google.Cloud.NetworkManag"
+          + "ement.V1Beta1\312\002&Google\\Cloud\\NetworkMana"
+          + "gement\\V1beta1\352\002)Google::Cloud::NetworkM"
+          + "anagement::V1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+    internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_networkmanagement_v1beta1_Trace_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_Trace_descriptor,
+            new java.lang.String[] {
+              "EndpointInfo", "Steps",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_networkmanagement_v1beta1_Step_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_Step_descriptor,
+            new java.lang.String[] {
+              "Description",
+              "State",
+              "CausesDrop",
+              "ProjectId",
+              "Instance",
+              "Firewall",
+              "Route",
+              "Endpoint",
+              "ForwardingRule",
+              "VpnGateway",
+              "VpnTunnel",
+              "VpcConnector",
+              "Deliver",
+              "Forward",
+              "Abort",
+              "Drop",
+              "LoadBalancer",
+              "Network",
+              "GkeMaster",
+              "CloudSqlInstance",
+              "CloudFunction",
+              "StepInfo",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_InstanceInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "Interface",
+              "NetworkUri",
+              "InternalIp",
+              "ExternalIp",
+              "NetworkTags",
+              "ServiceAccount",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_NetworkInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "MatchedIpRange",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_FirewallInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "Direction",
+              "Action",
+              "Priority",
+              "NetworkUri",
+              "TargetTags",
+              "TargetServiceAccounts",
+              "Policy",
+              "FirewallRuleType",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_RouteInfo_descriptor,
+            new java.lang.String[] {
+              "RouteType",
+              "NextHopType",
+              "DisplayName",
+              "Uri",
+              "DestIpRange",
+              "NextHop",
+              "NetworkUri",
+              "Priority",
+              "InstanceTags",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_ForwardingRuleInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "MatchedProtocol",
+              "MatchedPortRange",
+              "Vip",
+              "Target",
+              "NetworkUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerInfo_descriptor,
+            new java.lang.String[] {
+              "LoadBalancerType", "HealthCheckUri", "Backends", "BackendType", "BackendUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_LoadBalancerBackend_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "HealthCheckFirewallState",
+              "HealthCheckAllowingFirewallRules",
+              "HealthCheckBlockingFirewallRules",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "NetworkUri", "IpAddress", "VpnTunnelUri", "Region",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName",
+              "Uri",
+              "SourceGateway",
+              "RemoteGateway",
+              "RemoteGatewayIp",
+              "SourceGatewayIp",
+              "NetworkUri",
+              "Region",
+              "RoutingType",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_EndpointInfo_descriptor,
+            new java.lang.String[] {
+              "SourceIp",
+              "DestinationIp",
+              "Protocol",
+              "SourcePort",
+              "DestinationPort",
+              "SourceNetworkUri",
+              "DestinationNetworkUri",
+              "SourceAgentUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_DeliverInfo_descriptor,
+            new java.lang.String[] {
+              "Target", "ResourceUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_ForwardInfo_descriptor,
+            new java.lang.String[] {
+              "Target", "ResourceUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_AbortInfo_descriptor,
+            new java.lang.String[] {
+              "Cause", "ResourceUri", "ProjectsMissingPermission",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_DropInfo_descriptor,
+            new java.lang.String[] {
+              "Cause", "ResourceUri",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_GKEMasterInfo_descriptor,
+            new java.lang.String[] {
+              "ClusterUri", "ClusterNetworkUri", "InternalIp", "ExternalIp",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_CloudSQLInstanceInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "NetworkUri", "InternalIp", "ExternalIp", "Region",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor =
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_CloudFunctionInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "Location", "VersionId",
+            });
+    internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor =
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor,
+            new java.lang.String[] {
+              "DisplayName", "Uri", "Location",
+            });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
similarity index 59%
rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
index 07efd60310ca..344f5833b4e0 100644
--- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
+++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequest.java
@@ -1,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/networkmanagement/v1beta1/reachability.proto
 
 package com.google.cloud.networkmanagement.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request for the `UpdateConnectivityTest` method.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest} */ -public final class UpdateConnectivityTestRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateConnectivityTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) UpdateConnectivityTestRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateConnectivityTestRequest.newBuilder() to construct. private UpdateConnectivityTestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConnectivityTestRequest() { - } + + private UpdateConnectivityTestRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateConnectivityTestRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -63,12 +85,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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 @@ -76,12 +102,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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() { @@ -91,11 +120,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int RESOURCE_FIELD_NUMBER = 2; private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ @java.lang.Override @@ -103,30 +137,45 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { - return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder + getResourceOrBuilder() { + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +187,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -156,12 +204,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,22 +217,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.networkmanagement.v1beta1.UpdateConnectivityTestRequest)) { + if (!(obj + instanceof com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other = (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) obj; + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other = + (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,129 +259,139 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the `UpdateConnectivityTest` method.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder.class); + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.class, + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.Builder + .class); } - // Construct using com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.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(); @@ -354,19 +410,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto.internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceProto + .internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest getDefaultInstanceForType() { - return com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.getDefaultInstance(); + public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + getDefaultInstanceForType() { + return com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest build() { - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = buildPartial(); + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -375,23 +434,23 @@ public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest buildPartial() { - com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result = + new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result) { + private void buildPartial0( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.resource_ = resourceBuilder_ == null - ? resource_ - : resourceBuilder_.build(); + result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); } } @@ -399,46 +458,52 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.UpdateConn public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest)other); + if (other + instanceof com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) { + return mergeFrom( + (com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other) { - if (other == com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest other) { + if (other + == com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + .getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -471,26 +536,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getResourceFieldBuilder().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(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getResourceFieldBuilder().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) { @@ -500,46 +564,63 @@ 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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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) { @@ -555,15 +636,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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 { @@ -574,18 +657,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -598,12 +684,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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); @@ -616,12 +705,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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; @@ -629,38 +721,48 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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. Mask of fields to update. At least one path must be supplied in
      * this field.
      * 
* - * .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_; @@ -668,39 +770,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.networkmanagement.v1beta1.ConnectivityTest resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> resourceBuilder_; + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + resourceBuilder_; /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { @@ -716,11 +837,15 @@ public Builder setResource(com.google.cloud.networkmanagement.v1beta1.Connectivi return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResource( com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder builderForValue) { @@ -734,17 +859,24 @@ public Builder setResource( return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeResource(com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { + public Builder mergeResource( + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - resource_ != null && - resource_ != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && resource_ != null + && resource_ + != com.google.cloud.networkmanagement.v1beta1.ConnectivityTest + .getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -757,11 +889,15 @@ public Builder mergeResource(com.google.cloud.networkmanagement.v1beta1.Connecti return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000002); @@ -774,55 +910,73 @@ public Builder clearResource() { return this; } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder getResourceBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder + getResourceBuilder() { bitField0_ |= 0x00000002; onChanged(); return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder() { + public com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder + getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.getDefaultInstance() + : resource_; } } /** + * + * *
      * Required. Only fields specified in update_mask are updated.
      * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder, + com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -832,41 +986,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) - private static final com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest(); } - public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest getDefaultInstance() { + public static com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConnectivityTestRequest 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 UpdateConnectivityTestRequest 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; @@ -878,9 +1035,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest getDefaultInstanceForType() { + public com.google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java index d64ac69c0f03..2cdc9d853220 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/UpdateConnectivityTestRequestOrBuilder.java @@ -1,66 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/reachability.proto package com.google.cloud.networkmanagement.v1beta1; -public interface UpdateConnectivityTestRequestOrBuilder extends +public interface UpdateConnectivityTestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.UpdateConnectivityTestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Mask of fields to update. At least one path must be supplied in
    * this field.
    * 
* - * .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. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The resource. */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTest getResource(); /** + * + * *
    * Required. Only fields specified in update_mask are updated.
    * 
* - * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.networkmanagement.v1beta1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder getResourceOrBuilder(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java similarity index 68% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java index b47b5dc1a870..25c4a56ff796 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a VPC connector.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpcConnectorInfo} */ -public final class VpcConnectorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VpcConnectorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) VpcConnectorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpcConnectorInfo.newBuilder() to construct. private VpcConnectorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VpcConnectorInfo() { displayName_ = ""; uri_ = ""; @@ -27,38 +45,43 @@ private VpcConnectorInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VpcConnectorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -67,29 +90,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -98,14 +121,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a VPC connector.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a VPC connector.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -145,14 +172,18 @@ public java.lang.String getUri() { } public static final int LOCATION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; + * * @return The location. */ @java.lang.Override @@ -161,29 +192,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -192,6 +223,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +235,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -240,19 +271,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other = (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) obj; + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other = + (com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,129 +305,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo 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.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a VPC connector.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpcConnectorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.class, + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.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(); @@ -410,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpcConnectorInfo_descriptor; } @java.lang.Override @@ -431,8 +467,11 @@ public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo result = new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo result = + new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -454,38 +493,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.VpcConnect public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) other); } else { super.mergeFrom(other); return this; @@ -493,7 +533,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -535,27 +576,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + location_ = 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) { @@ -565,22 +610,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -589,20 +637,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -610,28 +659,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -641,17 +697,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a VPC connector.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -661,18 +721,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a VPC connector.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -681,20 +743,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPC connector.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -702,28 +765,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPC connector.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a VPC connector.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -733,17 +803,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a VPC connector.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -753,18 +827,20 @@ public Builder setUriBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -773,20 +849,21 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -794,28 +871,35 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -825,26 +909,30 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Location in which the VPC connector is deployed.
      * 
* * string location = 3; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = 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); } @@ -854,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) private static final com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo(); } @@ -868,27 +956,27 @@ public static com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcConnectorInfo 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 VpcConnectorInfo 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; @@ -903,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java similarity index 59% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java index 022271a1b268..1ee4e2952aeb 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpcConnectorInfoOrBuilder.java @@ -1,69 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface VpcConnectorInfoOrBuilder extends +public interface VpcConnectorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpcConnectorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a VPC connector.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a VPC connector.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a VPC connector.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Location in which the VPC connector is deployed.
    * 
* * string location = 3; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java index 247e1252b1e4..cd714efe8ddf 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine VPN gateway.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnGatewayInfo} */ -public final class VpnGatewayInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VpnGatewayInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) VpnGatewayInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpnGatewayInfo.newBuilder() to construct. private VpnGatewayInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VpnGatewayInfo() { displayName_ = ""; uri_ = ""; @@ -30,38 +48,43 @@ private VpnGatewayInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VpnGatewayInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -70,29 +93,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -101,14 +124,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -117,29 +144,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -148,14 +175,18 @@ public java.lang.String getUri() { } public static final int NETWORK_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The networkUri. */ @java.lang.Override @@ -164,29 +195,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -195,14 +226,18 @@ public java.lang.String getNetworkUri() { } public static final int IP_ADDRESS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; + * * @return The ipAddress. */ @java.lang.Override @@ -211,29 +246,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 VPN gateway.
    * 
* * string ip_address = 4; + * * @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 { @@ -242,9 +277,12 @@ public java.lang.String getIpAddress() { } public static final int VPN_TUNNEL_URI_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object vpnTunnelUri_ = ""; /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -252,6 +290,7 @@ public java.lang.String getIpAddress() {
    * 
* * string vpn_tunnel_uri = 5; + * * @return The vpnTunnelUri. */ @java.lang.Override @@ -260,14 +299,15 @@ public java.lang.String getVpnTunnelUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; } } /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -275,16 +315,15 @@ public java.lang.String getVpnTunnelUri() {
    * 
* * string vpn_tunnel_uri = 5; + * * @return The bytes for vpnTunnelUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -293,14 +332,18 @@ public java.lang.String getVpnTunnelUri() { } public static final int REGION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The region. */ @java.lang.Override @@ -309,29 +352,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -340,6 +383,7 @@ public java.lang.String getRegion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,8 +395,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -406,25 +449,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.networkmanagement.v1beta1.VpnGatewayInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo other = (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getVpnTunnelUri() - .equals(other.getVpnTunnelUri())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo other = + (com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getVpnTunnelUri().equals(other.getVpnTunnelUri())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -454,129 +492,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo 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.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine VPN gateway.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnGatewayInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.class, + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.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(); @@ -591,9 +636,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnGatewayInfo_descriptor; } @java.lang.Override @@ -612,8 +657,11 @@ public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo result = new com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo result = + new com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -644,38 +692,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.VpnGateway public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) other); } else { super.mergeFrom(other); return this; @@ -683,7 +732,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -740,42 +790,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - vpnTunnelUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + vpnTunnelUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + region_ = 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) { @@ -785,22 +842,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -809,20 +869,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -830,28 +891,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -861,17 +929,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a VPN gateway.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -881,18 +953,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -901,20 +975,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -922,28 +997,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -953,17 +1035,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a VPN gateway.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -973,18 +1059,20 @@ public Builder setUriBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -993,20 +1081,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1014,28 +1103,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1045,17 +1141,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN gateway is configured.
      * 
* * string network_uri = 3; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000004; @@ -1065,18 +1165,20 @@ public Builder setNetworkUriBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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; @@ -1085,20 +1187,21 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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 { @@ -1106,28 +1209,35 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1137,17 +1247,21 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * IP address of the VPN gateway.
      * 
* * string ip_address = 4; + * * @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_ |= 0x00000008; @@ -1157,6 +1271,8 @@ public Builder setIpAddressBytes( private java.lang.Object vpnTunnelUri_ = ""; /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1164,13 +1280,13 @@ public Builder setIpAddressBytes(
      * 
* * string vpn_tunnel_uri = 5; + * * @return The vpnTunnelUri. */ public java.lang.String getVpnTunnelUri() { java.lang.Object ref = vpnTunnelUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpnTunnelUri_ = s; return s; @@ -1179,6 +1295,8 @@ public java.lang.String getVpnTunnelUri() { } } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1186,15 +1304,14 @@ public java.lang.String getVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; + * * @return The bytes for vpnTunnelUri. */ - public com.google.protobuf.ByteString - getVpnTunnelUriBytes() { + public com.google.protobuf.ByteString getVpnTunnelUriBytes() { java.lang.Object ref = vpnTunnelUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vpnTunnelUri_ = b; return b; } else { @@ -1202,6 +1319,8 @@ public java.lang.String getVpnTunnelUri() { } } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1209,18 +1328,22 @@ public java.lang.String getVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; + * * @param value The vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVpnTunnelUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vpnTunnelUri_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1228,6 +1351,7 @@ public Builder setVpnTunnelUri(
      * 
* * string vpn_tunnel_uri = 5; + * * @return This builder for chaining. */ public Builder clearVpnTunnelUri() { @@ -1237,6 +1361,8 @@ public Builder clearVpnTunnelUri() { return this; } /** + * + * *
      * A VPN tunnel that is associated with this VPN gateway.
      * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -1244,12 +1370,14 @@ public Builder clearVpnTunnelUri() {
      * 
* * string vpn_tunnel_uri = 5; + * * @param value The bytes for vpnTunnelUri to set. * @return This builder for chaining. */ - public Builder setVpnTunnelUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVpnTunnelUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vpnTunnelUri_ = value; bitField0_ |= 0x00000010; @@ -1259,18 +1387,20 @@ public Builder setVpnTunnelUriBytes( private java.lang.Object region_ = ""; /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1279,20 +1409,21 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1300,28 +1431,35 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1331,26 +1469,30 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN gateway is configured.
      * 
* * string region = 6; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1360,12 +1502,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) private static final com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo(); } @@ -1374,27 +1516,27 @@ public static com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnGatewayInfo 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 VpnGatewayInfo 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; @@ -1409,6 +1551,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java similarity index 70% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java index 721177b49ad6..cc59fc0904d7 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnGatewayInfoOrBuilder.java @@ -1,93 +1,131 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface VpnGatewayInfoOrBuilder extends +public interface VpnGatewayInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpnGatewayInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a VPN gateway.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a VPN gateway.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network where the VPN gateway is configured.
    * 
* * string network_uri = 3; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * IP address of the VPN gateway.
    * 
* * string ip_address = 4; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -95,10 +133,13 @@ public interface VpnGatewayInfoOrBuilder extends
    * 
* * string vpn_tunnel_uri = 5; + * * @return The vpnTunnelUri. */ java.lang.String getVpnTunnelUri(); /** + * + * *
    * A VPN tunnel that is associated with this VPN gateway.
    * There may be multiple VPN tunnels configured on a VPN gateway, and only
@@ -106,28 +147,33 @@ public interface VpnGatewayInfoOrBuilder extends
    * 
* * string vpn_tunnel_uri = 5; + * * @return The bytes for vpnTunnelUri. */ - com.google.protobuf.ByteString - getVpnTunnelUriBytes(); + com.google.protobuf.ByteString getVpnTunnelUriBytes(); /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Name of a Google Cloud region where this VPN gateway is configured.
    * 
* * string region = 6; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); } diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java similarity index 71% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java index 679b05ecb678..d66a2717c7b1 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; /** + * + * *
  * For display only. Metadata associated with a Compute Engine VPN tunnel.
  * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnTunnelInfo} */ -public final class VpnTunnelInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VpnTunnelInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) VpnTunnelInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VpnTunnelInfo.newBuilder() to construct. private VpnTunnelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VpnTunnelInfo() { displayName_ = ""; uri_ = ""; @@ -33,30 +51,33 @@ private VpnTunnelInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VpnTunnelInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); } /** + * + * *
    * Types of VPN routing policy. For details, refer to [Networks and Tunnel
    * routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
@@ -64,9 +85,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType}
    */
-  public enum RoutingType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RoutingType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified type. Default value.
      * 
@@ -75,6 +97,8 @@ public enum RoutingType */ ROUTING_TYPE_UNSPECIFIED(0), /** + * + * *
      * Route based VPN.
      * 
@@ -83,6 +107,8 @@ public enum RoutingType */ ROUTE_BASED(1), /** + * + * *
      * Policy based routing.
      * 
@@ -91,6 +117,8 @@ public enum RoutingType */ POLICY_BASED(2), /** + * + * *
      * Dynamic (BGP) routing.
      * 
@@ -102,6 +130,8 @@ public enum RoutingType ; /** + * + * *
      * Unspecified type. Default value.
      * 
@@ -110,6 +140,8 @@ public enum RoutingType */ public static final int ROUTING_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Route based VPN.
      * 
@@ -118,6 +150,8 @@ public enum RoutingType */ public static final int ROUTE_BASED_VALUE = 1; /** + * + * *
      * Policy based routing.
      * 
@@ -126,6 +160,8 @@ public enum RoutingType */ public static final int POLICY_BASED_VALUE = 2; /** + * + * *
      * Dynamic (BGP) routing.
      * 
@@ -134,7 +170,6 @@ public enum RoutingType */ public static final int DYNAMIC_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -159,50 +194,53 @@ public static RoutingType valueOf(int value) { */ public static RoutingType forNumber(int value) { switch (value) { - case 0: return ROUTING_TYPE_UNSPECIFIED; - case 1: return ROUTE_BASED; - case 2: return POLICY_BASED; - case 3: return DYNAMIC; - default: return null; + case 0: + return ROUTING_TYPE_UNSPECIFIED; + case 1: + return ROUTE_BASED; + case 2: + return POLICY_BASED; + case 3: + return DYNAMIC; + 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< - RoutingType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoutingType findValueByNumber(int number) { - return RoutingType.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 RoutingType findValueByNumber(int number) { + return RoutingType.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.networkmanagement.v1beta1.VpnTunnelInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final RoutingType[] VALUES = values(); - public static RoutingType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoutingType 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; @@ -220,14 +258,18 @@ private RoutingType(int value) { } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -236,29 +278,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -267,14 +309,18 @@ public java.lang.String getDisplayName() { } public static final int URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object uri_ = ""; /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -283,29 +329,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -314,14 +360,18 @@ public java.lang.String getUri() { } public static final int SOURCE_GATEWAY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object sourceGateway_ = ""; /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The sourceGateway. */ @java.lang.Override @@ -330,29 +380,29 @@ public java.lang.String getSourceGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; } } /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The bytes for sourceGateway. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceGatewayBytes() { + public com.google.protobuf.ByteString getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -361,14 +411,18 @@ public java.lang.String getSourceGateway() { } public static final int REMOTE_GATEWAY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object remoteGateway_ = ""; /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The remoteGateway. */ @java.lang.Override @@ -377,29 +431,29 @@ public java.lang.String getRemoteGateway() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; } } /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The bytes for remoteGateway. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteGatewayBytes() { + public com.google.protobuf.ByteString getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -408,14 +462,18 @@ public java.lang.String getRemoteGateway() { } public static final int REMOTE_GATEWAY_IP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object remoteGatewayIp_ = ""; /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The remoteGatewayIp. */ @java.lang.Override @@ -424,29 +482,29 @@ public java.lang.String getRemoteGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; } } /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The bytes for remoteGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -455,14 +513,18 @@ public java.lang.String getRemoteGatewayIp() { } public static final int SOURCE_GATEWAY_IP_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object sourceGatewayIp_ = ""; /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The sourceGatewayIp. */ @java.lang.Override @@ -471,29 +533,29 @@ public java.lang.String getSourceGatewayIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; } } /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The bytes for sourceGatewayIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -502,14 +564,18 @@ public java.lang.String getSourceGatewayIp() { } public static final int NETWORK_URI_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object networkUri_ = ""; /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ @java.lang.Override @@ -518,29 +584,29 @@ public java.lang.String getNetworkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; } } /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -549,14 +615,18 @@ public java.lang.String getNetworkUri() { } public static final int REGION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The region. */ @java.lang.Override @@ -565,29 +635,29 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -598,30 +668,45 @@ public java.lang.String getRegion() { public static final int ROUTING_TYPE_FIELD_NUMBER = 9; private int routingType_ = 0; /** + * + * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override public int getRoutingTypeValue() { + @java.lang.Override + public int getRoutingTypeValue() { return routingType_; } /** + * + * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return The routingType. */ - @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber(routingType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType() { + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber( + routingType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -633,8 +718,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -659,7 +743,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, region_); } - if (routingType_ != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { + if (routingType_ + != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType + .ROUTING_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, routingType_); } getUnknownFields().writeTo(output); @@ -695,9 +782,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, region_); } - if (routingType_ != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.ROUTING_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, routingType_); + if (routingType_ + != com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType + .ROUTING_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, routingType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -707,29 +796,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.networkmanagement.v1beta1.VpnTunnelInfo)) { return super.equals(obj); } - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo other = (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) obj; - - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getSourceGateway() - .equals(other.getSourceGateway())) return false; - if (!getRemoteGateway() - .equals(other.getRemoteGateway())) return false; - if (!getRemoteGatewayIp() - .equals(other.getRemoteGatewayIp())) return false; - if (!getSourceGatewayIp() - .equals(other.getSourceGatewayIp())) return false; - if (!getNetworkUri() - .equals(other.getNetworkUri())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo other = + (com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getSourceGateway().equals(other.getSourceGateway())) return false; + if (!getRemoteGateway().equals(other.getRemoteGateway())) return false; + if (!getRemoteGatewayIp().equals(other.getRemoteGatewayIp())) return false; + if (!getSourceGatewayIp().equals(other.getSourceGatewayIp())) return false; + if (!getNetworkUri().equals(other.getNetworkUri())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (routingType_ != other.routingType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -766,129 +848,136 @@ public int hashCode() { } public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo 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.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For display only. Metadata associated with a Compute Engine VPN tunnel.
    * 
* * Protobuf type {@code google.cloud.networkmanagement.v1beta1.VpnTunnelInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.class, + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.Builder.class); } // Construct using com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.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(); @@ -906,9 +995,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.networkmanagement.v1beta1.TraceProto.internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.networkmanagement.v1beta1.TraceProto + .internal_static_google_cloud_networkmanagement_v1beta1_VpnTunnelInfo_descriptor; } @java.lang.Override @@ -927,8 +1016,11 @@ public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo build() { @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo buildPartial() { - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo result = new com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo result = + new com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -968,38 +1060,39 @@ private void buildPartial0(com.google.cloud.networkmanagement.v1beta1.VpnTunnelI public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) { - return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo)other); + return mergeFrom((com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) other); } else { super.mergeFrom(other); return this; @@ -1007,7 +1100,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo other) { - if (other == com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -1077,57 +1171,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - sourceGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - remoteGateway_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - remoteGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - sourceGatewayIp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - networkUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: { - routingType_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 72 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + sourceGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + remoteGateway_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + remoteGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + sourceGatewayIp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + networkUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: + { + routingType_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 72 + 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) { @@ -1137,22 +1241,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1161,20 +1268,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1182,28 +1290,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1213,17 +1328,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Name of a VPN tunnel.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -1233,18 +1352,20 @@ public Builder setDisplayNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1253,20 +1374,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1274,28 +1396,35 @@ public java.lang.String getUri() { } } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -1305,17 +1434,21 @@ public Builder clearUri() { return this; } /** + * + * *
      * URI of a VPN tunnel.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000002; @@ -1325,18 +1458,20 @@ public Builder setUriBytes( private java.lang.Object sourceGateway_ = ""; /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @return The sourceGateway. */ public java.lang.String getSourceGateway() { java.lang.Object ref = sourceGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGateway_ = s; return s; @@ -1345,20 +1480,21 @@ public java.lang.String getSourceGateway() { } } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @return The bytes for sourceGateway. */ - public com.google.protobuf.ByteString - getSourceGatewayBytes() { + public com.google.protobuf.ByteString getSourceGatewayBytes() { java.lang.Object ref = sourceGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGateway_ = b; return b; } else { @@ -1366,28 +1502,35 @@ public java.lang.String getSourceGateway() { } } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @param value The sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGateway( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGateway(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceGateway_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @return This builder for chaining. */ public Builder clearSourceGateway() { @@ -1397,17 +1540,21 @@ public Builder clearSourceGateway() { return this; } /** + * + * *
      * URI of the VPN gateway at local end of the tunnel.
      * 
* * string source_gateway = 3; + * * @param value The bytes for sourceGateway to set. * @return This builder for chaining. */ - public Builder setSourceGatewayBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGatewayBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceGateway_ = value; bitField0_ |= 0x00000004; @@ -1417,18 +1564,20 @@ public Builder setSourceGatewayBytes( private java.lang.Object remoteGateway_ = ""; /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @return The remoteGateway. */ public java.lang.String getRemoteGateway() { java.lang.Object ref = remoteGateway_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGateway_ = s; return s; @@ -1437,20 +1586,21 @@ public java.lang.String getRemoteGateway() { } } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @return The bytes for remoteGateway. */ - public com.google.protobuf.ByteString - getRemoteGatewayBytes() { + public com.google.protobuf.ByteString getRemoteGatewayBytes() { java.lang.Object ref = remoteGateway_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGateway_ = b; return b; } else { @@ -1458,28 +1608,35 @@ public java.lang.String getRemoteGateway() { } } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @param value The remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGateway( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGateway(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } remoteGateway_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @return This builder for chaining. */ public Builder clearRemoteGateway() { @@ -1489,17 +1646,21 @@ public Builder clearRemoteGateway() { return this; } /** + * + * *
      * URI of a VPN gateway at remote end of the tunnel.
      * 
* * string remote_gateway = 4; + * * @param value The bytes for remoteGateway to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGatewayBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); remoteGateway_ = value; bitField0_ |= 0x00000008; @@ -1509,18 +1670,20 @@ public Builder setRemoteGatewayBytes( private java.lang.Object remoteGatewayIp_ = ""; /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @return The remoteGatewayIp. */ public java.lang.String getRemoteGatewayIp() { java.lang.Object ref = remoteGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteGatewayIp_ = s; return s; @@ -1529,20 +1692,21 @@ public java.lang.String getRemoteGatewayIp() { } } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @return The bytes for remoteGatewayIp. */ - public com.google.protobuf.ByteString - getRemoteGatewayIpBytes() { + public com.google.protobuf.ByteString getRemoteGatewayIpBytes() { java.lang.Object ref = remoteGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteGatewayIp_ = b; return b; } else { @@ -1550,28 +1714,35 @@ public java.lang.String getRemoteGatewayIp() { } } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @param value The remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGatewayIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } remoteGatewayIp_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @return This builder for chaining. */ public Builder clearRemoteGatewayIp() { @@ -1581,17 +1752,21 @@ public Builder clearRemoteGatewayIp() { return this; } /** + * + * *
      * Remote VPN gateway's IP address.
      * 
* * string remote_gateway_ip = 5; + * * @param value The bytes for remoteGatewayIp to set. * @return This builder for chaining. */ - public Builder setRemoteGatewayIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRemoteGatewayIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); remoteGatewayIp_ = value; bitField0_ |= 0x00000010; @@ -1601,18 +1776,20 @@ public Builder setRemoteGatewayIpBytes( private java.lang.Object sourceGatewayIp_ = ""; /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @return The sourceGatewayIp. */ public java.lang.String getSourceGatewayIp() { java.lang.Object ref = sourceGatewayIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceGatewayIp_ = s; return s; @@ -1621,20 +1798,21 @@ public java.lang.String getSourceGatewayIp() { } } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @return The bytes for sourceGatewayIp. */ - public com.google.protobuf.ByteString - getSourceGatewayIpBytes() { + public com.google.protobuf.ByteString getSourceGatewayIpBytes() { java.lang.Object ref = sourceGatewayIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceGatewayIp_ = b; return b; } else { @@ -1642,28 +1820,35 @@ public java.lang.String getSourceGatewayIp() { } } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @param value The sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGatewayIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceGatewayIp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @return This builder for chaining. */ public Builder clearSourceGatewayIp() { @@ -1673,17 +1858,21 @@ public Builder clearSourceGatewayIp() { return this; } /** + * + * *
      * Local VPN gateway's IP address.
      * 
* * string source_gateway_ip = 6; + * * @param value The bytes for sourceGatewayIp to set. * @return This builder for chaining. */ - public Builder setSourceGatewayIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceGatewayIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceGatewayIp_ = value; bitField0_ |= 0x00000020; @@ -1693,18 +1882,20 @@ public Builder setSourceGatewayIpBytes( private java.lang.Object networkUri_ = ""; /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @return The networkUri. */ public java.lang.String getNetworkUri() { java.lang.Object ref = networkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkUri_ = s; return s; @@ -1713,20 +1904,21 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - public com.google.protobuf.ByteString - getNetworkUriBytes() { + public com.google.protobuf.ByteString getNetworkUriBytes() { java.lang.Object ref = networkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkUri_ = b; return b; } else { @@ -1734,28 +1926,35 @@ public java.lang.String getNetworkUri() { } } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @param value The networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkUri_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @return This builder for chaining. */ public Builder clearNetworkUri() { @@ -1765,17 +1964,21 @@ public Builder clearNetworkUri() { return this; } /** + * + * *
      * URI of a Compute Engine network where the VPN tunnel is configured.
      * 
* * string network_uri = 7; + * * @param value The bytes for networkUri to set. * @return This builder for chaining. */ - public Builder setNetworkUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkUri_ = value; bitField0_ |= 0x00000040; @@ -1785,18 +1988,20 @@ public Builder setNetworkUriBytes( private java.lang.Object region_ = ""; /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1805,20 +2010,21 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1826,28 +2032,35 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1857,17 +2070,21 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Name of a Google Cloud region where this VPN tunnel is configured.
      * 
* * string region = 8; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000080; @@ -1877,22 +2094,31 @@ public Builder setRegionBytes( private int routingType_ = 0; /** + * + * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return The enum numeric value on the wire for routingType. */ - @java.lang.Override public int getRoutingTypeValue() { + @java.lang.Override + public int getRoutingTypeValue() { return routingType_; } /** + * + * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @param value The enum numeric value on the wire for routingType to set. * @return This builder for chaining. */ @@ -1903,28 +2129,41 @@ public Builder setRoutingTypeValue(int value) { return this; } /** + * + * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return The routingType. */ @java.lang.Override public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType() { - com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber(routingType_); - return result == null ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED : result; + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType result = + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.forNumber( + routingType_); + return result == null + ? com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @param value The routingType to set. * @return This builder for chaining. */ - public Builder setRoutingType(com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType value) { + public Builder setRoutingType( + com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType value) { if (value == null) { throw new NullPointerException(); } @@ -1934,11 +2173,15 @@ public Builder setRoutingType(com.google.cloud.networkmanagement.v1beta1.VpnTunn return this; } /** + * + * *
      * Type of the routing policy.
      * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return This builder for chaining. */ public Builder clearRoutingType() { @@ -1947,9 +2190,9 @@ public Builder clearRoutingType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1959,12 +2202,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) } // @@protoc_insertion_point(class_scope:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) private static final com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo(); } @@ -1973,27 +2216,27 @@ public static com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpnTunnelInfo 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 VpnTunnelInfo 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; @@ -2008,6 +2251,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java similarity index 72% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java index 378660bdef71..5420220fc69b 100644 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/VpnTunnelInfoOrBuilder.java @@ -1,187 +1,251 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networkmanagement/v1beta1/trace.proto package com.google.cloud.networkmanagement.v1beta1; -public interface VpnTunnelInfoOrBuilder extends +public interface VpnTunnelInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.networkmanagement.v1beta1.VpnTunnelInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name of a VPN tunnel.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * URI of a VPN tunnel.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The sourceGateway. */ java.lang.String getSourceGateway(); /** + * + * *
    * URI of the VPN gateway at local end of the tunnel.
    * 
* * string source_gateway = 3; + * * @return The bytes for sourceGateway. */ - com.google.protobuf.ByteString - getSourceGatewayBytes(); + com.google.protobuf.ByteString getSourceGatewayBytes(); /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The remoteGateway. */ java.lang.String getRemoteGateway(); /** + * + * *
    * URI of a VPN gateway at remote end of the tunnel.
    * 
* * string remote_gateway = 4; + * * @return The bytes for remoteGateway. */ - com.google.protobuf.ByteString - getRemoteGatewayBytes(); + com.google.protobuf.ByteString getRemoteGatewayBytes(); /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The remoteGatewayIp. */ java.lang.String getRemoteGatewayIp(); /** + * + * *
    * Remote VPN gateway's IP address.
    * 
* * string remote_gateway_ip = 5; + * * @return The bytes for remoteGatewayIp. */ - com.google.protobuf.ByteString - getRemoteGatewayIpBytes(); + com.google.protobuf.ByteString getRemoteGatewayIpBytes(); /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The sourceGatewayIp. */ java.lang.String getSourceGatewayIp(); /** + * + * *
    * Local VPN gateway's IP address.
    * 
* * string source_gateway_ip = 6; + * * @return The bytes for sourceGatewayIp. */ - com.google.protobuf.ByteString - getSourceGatewayIpBytes(); + com.google.protobuf.ByteString getSourceGatewayIpBytes(); /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The networkUri. */ java.lang.String getNetworkUri(); /** + * + * *
    * URI of a Compute Engine network where the VPN tunnel is configured.
    * 
* * string network_uri = 7; + * * @return The bytes for networkUri. */ - com.google.protobuf.ByteString - getNetworkUriBytes(); + com.google.protobuf.ByteString getNetworkUriBytes(); /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Name of a Google Cloud region where this VPN tunnel is configured.
    * 
* * string region = 8; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); /** + * + * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return The enum numeric value on the wire for routingType. */ int getRoutingTypeValue(); /** + * + * *
    * Type of the routing policy.
    * 
* - * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * .google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9; + * + * * @return The routingType. */ com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType getRoutingType(); diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto rename to java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTestStringStringConnectivitytest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTestString.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTestString.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/listconnectivitytests/SyncListConnectivityTestsString.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTestFieldmaskConnectivitytest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/AsyncCreateConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/createconnectivitytest/SyncCreateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/AsyncDeleteConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/deleteconnectivitytest/SyncDeleteConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/AsyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTests.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/AsyncListConnectivityTestsPaged.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/listconnectivitytests/SyncListConnectivityTests.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/AsyncRerunConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/rerunconnectivitytest/SyncRerunConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/AsyncUpdateConnectivityTestLRO.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservice/updateconnectivitytest/SyncUpdateConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/reachabilityservicesettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java b/java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java similarity index 100% rename from owl-bot-staging/java-network-management/v1beta1/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java rename to java-network-management/samples/snippets/generated/com/google/cloud/networkmanagement/v1beta1/stub/reachabilityservicestubsettings/getconnectivitytest/SyncGetConnectivityTest.java diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java deleted file mode 100644 index 2e09d1169b47..000000000000 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java +++ /dev/null @@ -1,228 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1/reachability.proto - -package com.google.cloud.networkmanagement.v1; - -public final class ReachabilityServiceProto { - private ReachabilityServiceProto() {} - 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_networkmanagement_v1_ListConnectivityTestsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/networkmanagement/v1/reac" + - "hability.proto\022!google.cloud.networkmana" + - "gement.v1\032\034google/api/annotations.proto\032" + - "\027google/api/client.proto\032\037google/api/fie" + - "ld_behavior.proto\0329google/cloud/networkm" + - "anagement/v1/connectivity_test.proto\032#go" + - "ogle/longrunning/operations.proto\032 googl" + - "e/protobuf/field_mask.proto\032\037google/prot" + - "obuf/timestamp.proto\"|\n\034ListConnectivity" + - "TestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpag" + - "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" + - "er\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\225\001\n\035ListConne" + - "ctivityTestsResponse\022F\n\tresources\030\001 \003(\0132" + - "3.google.cloud.networkmanagement.v1.Conn" + - "ectivityTest\022\027\n\017next_page_token\030\002 \001(\t\022\023\n" + - "\013unreachable\030\003 \003(\t\"/\n\032GetConnectivityTes" + - "tRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateCo" + - "nnectivityTestRequest\022\023\n\006parent\030\001 \001(\tB\003\340" + - "A\002\022\024\n\007test_id\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001" + - "(\01323.google.cloud.networkmanagement.v1.C" + - "onnectivityTestB\003\340A\002\"\241\001\n\035UpdateConnectiv" + - "ityTestRequest\0224\n\013update_mask\030\001 \001(\0132\032.go" + - "ogle.protobuf.FieldMaskB\003\340A\002\022J\n\010resource" + - "\030\002 \001(\01323.google.cloud.networkmanagement." + - "v1.ConnectivityTestB\003\340A\002\"2\n\035DeleteConnec" + - "tivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034" + - "RerunConnectivityTestRequest\022\021\n\004name\030\001 \001" + - "(\tB\003\340A\002\"\326\001\n\021OperationMetadata\022/\n\013create_" + - "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022," + - "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rst" + - "atus_detail\030\005 \001(\t\022\030\n\020cancel_requested\030\006 " + - "\001(\010\022\023\n\013api_version\030\007 \001(\t2\226\r\n\023Reachabilit" + - "yService\022\347\001\n\025ListConnectivityTests\022?.goo" + - "gle.cloud.networkmanagement.v1.ListConne" + - "ctivityTestsRequest\032@.google.cloud.netwo" + - "rkmanagement.v1.ListConnectivityTestsRes" + - "ponse\"K\202\323\344\223\002<\022:/v1/{parent=projects/*/lo" + - "cations/global}/connectivityTests\332A\006pare" + - "nt\022\324\001\n\023GetConnectivityTest\022=.google.clou" + - "d.networkmanagement.v1.GetConnectivityTe" + - "stRequest\0323.google.cloud.networkmanageme" + - "nt.v1.ConnectivityTest\"I\202\323\344\223\002<\022:/v1/{nam" + - "e=projects/*/locations/global/connectivi" + - "tyTests/*}\332A\004name\022\254\002\n\026CreateConnectivity" + - "Test\022@.google.cloud.networkmanagement.v1" + - ".CreateConnectivityTestRequest\032\035.google." + - "longrunning.Operation\"\260\001\202\323\344\223\002F\":/v1/{par" + - "ent=projects/*/locations/global}/connect" + - "ivityTests:\010resource\332A\027parent,test_id,re" + - "source\312AG\n2google.cloud.networkmanagemen" + - "t.v1.ConnectivityTest\022\021OperationMetadata" + - "\022\262\002\n\026UpdateConnectivityTest\022@.google.clo" + - "ud.networkmanagement.v1.UpdateConnectivi" + - "tyTestRequest\032\035.google.longrunning.Opera" + - "tion\"\266\001\202\323\344\223\002O2C/v1/{resource.name=projec" + - "ts/*/locations/global/connectivityTests/" + - "*}:\010resource\332A\024update_mask,resource\312AG\n2" + - "google.cloud.networkmanagement.v1.Connec" + - "tivityTest\022\021OperationMetadata\022\217\002\n\025RerunC" + - "onnectivityTest\022?.google.cloud.networkma" + - "nagement.v1.RerunConnectivityTestRequest" + - "\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002E" + - "\"@/v1/{name=projects/*/locations/global/" + - "connectivityTests/*}:rerun:\001*\312AG\n2google" + - ".cloud.networkmanagement.v1.Connectivity" + - "Test\022\021OperationMetadata\022\361\001\n\026DeleteConnec" + - "tivityTest\022@.google.cloud.networkmanagem" + - "ent.v1.DeleteConnectivityTestRequest\032\035.g" + - "oogle.longrunning.Operation\"v\202\323\344\223\002<*:/v1" + - "/{name=projects/*/locations/global/conne" + - "ctivityTests/*}\332A\004name\312A*\n\025google.protob" + - "uf.Empty\022\021OperationMetadata\032T\312A networkm" + - "anagement.googleapis.com\322A.https://www.g" + - "oogleapis.com/auth/cloud-platformB\207\002\n%co" + - "m.google.cloud.networkmanagement.v1B\030Rea" + - "chabilityServiceProtoP\001ZScloud.google.co" + - "m/go/networkmanagement/apiv1/networkmana" + - "gementpb;networkmanagementpb\252\002!Google.Cl" + - "oud.NetworkManagement.V1\312\002!Google\\Cloud\\" + - "NetworkManagement\\V1\352\002$Google::Cloud::Ne" + - "tworkManagement::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_ListConnectivityTestsResponse_descriptor, - new java.lang.String[] { "Resources", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_GetConnectivityTestRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_CreateConnectivityTestRequest_descriptor, - new java.lang.String[] { "Parent", "TestId", "Resource", }); - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_UpdateConnectivityTestRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Resource", }); - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_DeleteConnectivityTestRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_RerunConnectivityTestRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "CancelRequested", "ApiVersion", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java b/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java deleted file mode 100644 index ad3e44c867ab..000000000000 --- a/owl-bot-staging/java-network-management/v1/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java +++ /dev/null @@ -1,142 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1/connectivity_test.proto - -package com.google.cloud.networkmanagement.v1; - -public final class TestOuterClass { - private TestOuterClass() {} - 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_networkmanagement_v1_ConnectivityTest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ConnectivityTest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_Endpoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_Endpoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1_ReachabilityDetails_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/networkmanagement/v1/conn" + - "ectivity_test.proto\022!google.cloud.networ" + - "kmanagement.v1\032\037google/api/field_behavio" + - "r.proto\032\031google/api/resource.proto\032-goog" + - "le/cloud/networkmanagement/v1/trace.prot" + - "o\032\037google/protobuf/timestamp.proto\032\027goog" + - "le/rpc/status.proto\"\307\005\n\020ConnectivityTest" + - "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t" + - "\022@\n\006source\030\003 \001(\0132+.google.cloud.networkm" + - "anagement.v1.EndpointB\003\340A\002\022E\n\013destinatio" + - "n\030\004 \001(\0132+.google.cloud.networkmanagement" + - ".v1.EndpointB\003\340A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020r" + - "elated_projects\030\006 \003(\t\022\031\n\014display_name\030\007 " + - "\001(\tB\003\340A\003\022O\n\006labels\030\010 \003(\0132?.google.cloud." + - "networkmanagement.v1.ConnectivityTest.La" + - "belsEntry\0224\n\013create_time\030\n \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\013" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022Y\n" + - "\024reachability_details\030\014 \001(\01326.google.clo" + - "ud.networkmanagement.v1.ReachabilityDeta" + - "ilsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement." + - "googleapis.com/ConnectivityTest\022 - * Representative latency percentiles. - *
- * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - */ - java.util.List - getLatencyPercentilesList(); - /** - *
-   * Representative latency percentiles.
-   * 
- * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - */ - com.google.cloud.networkmanagement.v1beta1.LatencyPercentile getLatencyPercentiles(int index); - /** - *
-   * Representative latency percentiles.
-   * 
- * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - */ - int getLatencyPercentilesCount(); - /** - *
-   * Representative latency percentiles.
-   * 
- * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - */ - java.util.List - getLatencyPercentilesOrBuilderList(); - /** - *
-   * Representative latency percentiles.
-   * 
- * - * repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1; - */ - com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java deleted file mode 100644 index adf27b0dc2eb..000000000000 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java +++ /dev/null @@ -1,229 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1beta1/reachability.proto - -package com.google.cloud.networkmanagement.v1beta1; - -public final class ReachabilityServiceProto { - private ReachabilityServiceProto() {} - 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_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/networkmanagement/v1beta1" + - "/reachability.proto\022&google.cloud.networ" + - "kmanagement.v1beta1\032\034google/api/annotati" + - "ons.proto\032\027google/api/client.proto\032\037goog" + - "le/api/field_behavior.proto\032>google/clou" + - "d/networkmanagement/v1beta1/connectivity" + - "_test.proto\032#google/longrunning/operatio" + - "ns.proto\032 google/protobuf/field_mask.pro" + - "to\032\037google/protobuf/timestamp.proto\"|\n\034L" + - "istConnectivityTestsRequest\022\023\n\006parent\030\001 " + - "\001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(" + - "\t\"\232\001\n\035ListConnectivityTestsResponse\022K\n\tr" + - "esources\030\001 \003(\01328.google.cloud.networkman" + - "agement.v1beta1.ConnectivityTest\022\027\n\017next" + - "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"/" + - "\n\032GetConnectivityTestRequest\022\021\n\004name\030\001 \001" + - "(\tB\003\340A\002\"\233\001\n\035CreateConnectivityTestReques" + - "t\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007test_id\030\002 \001(\tB" + - "\003\340A\002\022O\n\010resource\030\003 \001(\01328.google.cloud.ne" + - "tworkmanagement.v1beta1.ConnectivityTest" + - "B\003\340A\002\"\246\001\n\035UpdateConnectivityTestRequest\022" + - "4\n\013update_mask\030\001 \001(\0132\032.google.protobuf.F" + - "ieldMaskB\003\340A\002\022O\n\010resource\030\002 \001(\01328.google" + - ".cloud.networkmanagement.v1beta1.Connect" + - "ivityTestB\003\340A\002\"2\n\035DeleteConnectivityTest" + - "Request\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034RerunConne" + - "ctivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\326\001" + - "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013" + - "2\032.google.protobuf.Timestamp\022,\n\010end_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta" + - "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai" + - "l\030\005 \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013api" + - "_version\030\007 \001(\t2\243\r\n\023ReachabilityService\022\355" + - "\001\n\025ListConnectivityTests\022D.google.cloud." + - "networkmanagement.v1beta1.ListConnectivi" + - "tyTestsRequest\032E.google.cloud.networkman" + - "agement.v1beta1.ListConnectivityTestsRes" + - "ponse\"G\202\323\344\223\002A\022?/v1beta1/{parent=projects" + - "/*/locations/global}/connectivityTests\022\334" + - "\001\n\023GetConnectivityTest\022B.google.cloud.ne" + - "tworkmanagement.v1beta1.GetConnectivityT" + - "estRequest\0328.google.cloud.networkmanagem" + - "ent.v1beta1.ConnectivityTest\"G\202\323\344\223\002A\022?/v" + - "1beta1/{name=projects/*/locations/global" + - "/connectivityTests/*}\022\241\002\n\026CreateConnecti" + - "vityTest\022E.google.cloud.networkmanagemen" + - "t.v1beta1.CreateConnectivityTestRequest\032" + - "\035.google.longrunning.Operation\"\240\001\202\323\344\223\002K\"" + - "?/v1beta1/{parent=projects/*/locations/g" + - "lobal}/connectivityTests:\010resource\312AL\n7g" + - "oogle.cloud.networkmanagement.v1beta1.Co" + - "nnectivityTest\022\021OperationMetadata\022\252\002\n\026Up" + - "dateConnectivityTest\022E.google.cloud.netw" + - "orkmanagement.v1beta1.UpdateConnectivity" + - "TestRequest\032\035.google.longrunning.Operati" + - "on\"\251\001\202\323\344\223\002T2H/v1beta1/{resource.name=pro" + - "jects/*/locations/global/connectivityTes" + - "ts/*}:\010resource\312AL\n7google.cloud.network" + - "management.v1beta1.ConnectivityTest\022\021Ope" + - "rationMetadata\022\236\002\n\025RerunConnectivityTest" + - "\022D.google.cloud.networkmanagement.v1beta" + - "1.RerunConnectivityTestRequest\032\035.google." + - "longrunning.Operation\"\237\001\202\323\344\223\002J\"E/v1beta1" + - "/{name=projects/*/locations/global/conne" + - "ctivityTests/*}:rerun:\001*\312AL\n7google.clou" + - "d.networkmanagement.v1beta1.Connectivity" + - "Test\022\021OperationMetadata\022\364\001\n\026DeleteConnec" + - "tivityTest\022E.google.cloud.networkmanagem" + - "ent.v1beta1.DeleteConnectivityTestReques" + - "t\032\035.google.longrunning.Operation\"t\202\323\344\223\002A" + - "*?/v1beta1/{name=projects/*/locations/gl" + - "obal/connectivityTests/*}\312A*\n\025google.pro" + - "tobuf.Empty\022\021OperationMetadata\032T\312A netwo" + - "rkmanagement.googleapis.com\322A.https://ww" + - "w.googleapis.com/auth/cloud-platformB\240\002\n" + - "*com.google.cloud.networkmanagement.v1be" + - "ta1B\030ReachabilityServiceProtoP\001ZXcloud.g" + - "oogle.com/go/networkmanagement/apiv1beta" + - "1/networkmanagementpb;networkmanagementp" + - "b\252\002&Google.Cloud.NetworkManagement.V1Bet" + - "a1\312\002&Google\\Cloud\\NetworkManagement\\V1be" + - "ta1\352\002)Google::Cloud::NetworkManagement::" + - "V1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_ListConnectivityTestsResponse_descriptor, - new java.lang.String[] { "Resources", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_GetConnectivityTestRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_CreateConnectivityTestRequest_descriptor, - new java.lang.String[] { "Parent", "TestId", "Resource", }); - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_UpdateConnectivityTestRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Resource", }); - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_DeleteConnectivityTestRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_RerunConnectivityTestRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkmanagement_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "CancelRequested", "ApiVersion", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.networkmanagement.v1beta1.TestOuterClass.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java deleted file mode 100644 index 8feece91646b..000000000000 --- a/owl-bot-staging/java-network-management/v1beta1/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java +++ /dev/null @@ -1,231 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkmanagement/v1beta1/connectivity_test.proto - -package com.google.cloud.networkmanagement.v1beta1; - -public final class TestOuterClass { - private TestOuterClass() {} - 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_networkmanagement_v1beta1_ConnectivityTest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ConnectivityTest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_Endpoint_CloudFunctionEndpoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ReachabilityDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_LatencyPercentile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_LatencyDistribution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkmanagement_v1beta1_ProbingDetails_EdgeLocation_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/networkmanagement/v1beta1" + - "/connectivity_test.proto\022&google.cloud.n" + - "etworkmanagement.v1beta1\032\037google/api/fie" + - "ld_behavior.proto\032\031google/api/resource.p" + - "roto\0322google/cloud/networkmanagement/v1b" + - "eta1/trace.proto\032\037google/protobuf/timest" + - "amp.proto\032\027google/rpc/status.proto\"\261\006\n\020C" + - "onnectivityTest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013de" + - "scription\030\002 \001(\t\022E\n\006source\030\003 \001(\01320.google" + - ".cloud.networkmanagement.v1beta1.Endpoin" + - "tB\003\340A\002\022J\n\013destination\030\004 \001(\01320.google.clo" + - "ud.networkmanagement.v1beta1.EndpointB\003\340" + - "A\002\022\020\n\010protocol\030\005 \001(\t\022\030\n\020related_projects" + - "\030\006 \003(\t\022\031\n\014display_name\030\007 \001(\tB\003\340A\003\022T\n\006lab" + - "els\030\010 \003(\0132D.google.cloud.networkmanageme" + - "nt.v1beta1.ConnectivityTest.LabelsEntry\022" + - "4\n\013create_time\030\n \001(\0132\032.google.protobuf.T" + - "imestampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\003\022^\n\024reachabil" + - "ity_details\030\014 \001(\0132;.google.cloud.network" + - "management.v1beta1.ReachabilityDetailsB\003" + - "\340A\003\022T\n\017probing_details\030\016 \001(\01326.google.cl" + - "oud.networkmanagement.v1beta1.ProbingDet" + - "ailsB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001:t\352Aq\n1networkmanagement" + - ".googleapis.com/ConnectivityTest\022